Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001364/0.001364, allocations: 112.3 kB / 17.06 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001287/0.001287, allocations: 197.3 kB / 18.01 MB, free: 5.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.535/1.535, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00154/0.00154, allocations: 47.92 kB / 350.8 MB, free: 3.734 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3402/0.3418, allocations: 49.44 MB / 400.2 MB, free: 8.406 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample): time 0.003583/0.3454, allocations: 1.568 MB / 401.8 MB, free: 7.191 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001042/0.3465, allocations: 481.6 kB / 402.3 MB, free: 6.75 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001001/0.3466, allocations: 3.938 kB / 402.3 MB, free: 6.746 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.729e-05/0.3467, allocations: 3.938 kB / 402.3 MB, free: 6.742 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001601/0.3469, allocations: 15.86 kB / 402.3 MB, free: 6.727 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000306/0.3472, allocations: 57.81 kB / 402.4 MB, free: 6.672 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000122/0.3473, allocations: 43.86 kB / 402.4 MB, free: 6.629 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001267/0.3475, allocations: 20.17 kB / 402.4 MB, free: 6.609 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.211e-05/0.3475, allocations: 23.86 kB / 402.5 MB, free: 6.586 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.253e-05/0.3476, allocations: 23.84 kB / 402.5 MB, free: 6.562 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.11e-05/0.3477, allocations: 4 kB / 402.5 MB, free: 6.559 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.659e-05/0.3477, allocations: 4 kB / 402.5 MB, free: 6.555 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.52e-05/0.3477, allocations: 11.94 kB / 402.5 MB, free: 6.543 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.26e-05/0.3478, allocations: 27.8 kB / 402.5 MB, free: 6.516 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001421/0.3479, allocations: 54.7 kB / 402.6 MB, free: 6.465 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.558e-06/0.3479, allocations: 4 kB / 402.6 MB, free: 6.461 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.957e-06/0.348, allocations: 3.984 kB / 402.6 MB, free: 6.457 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.212e-06/0.348, allocations: 4 kB / 402.6 MB, free: 6.453 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005798/0.3486, allocations: 375.1 kB / 403 MB, free: 6.039 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.3486, allocations: 12.03 kB / 403 MB, free: 6.027 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.783e-05/0.3487, allocations: 30.75 kB / 403 MB, free: 5.988 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.261e-05/0.3487, allocations: 8.891 kB / 403 MB, free: 5.98 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003434/0.3491, allocations: 212.1 kB / 403.2 MB, free: 5.734 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/0.3491, allocations: 4.375 kB / 403.2 MB, free: 5.73 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.314e-05/0.3491, allocations: 12.31 kB / 403.2 MB, free: 5.719 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003007/0.3494, allocations: 113.8 kB / 403.3 MB, free: 5.586 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.3494, allocations: 0 / 403.3 MB, free: 5.586 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.3494, allocations: 0 / 403.3 MB, free: 5.586 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.3494, allocations: 4 kB / 403.3 MB, free: 5.582 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.818e-05/0.3495, allocations: 27.92 kB / 403.4 MB, free: 5.555 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000371/0.3499, allocations: 270.6 kB / 403.6 MB, free: 5.234 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001378/0.3501, allocations: 71.78 kB / 403.7 MB, free: 5.137 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.514e-05/0.3502, allocations: 34.62 kB / 403.7 MB, free: 5.094 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.442e-05/0.3502, allocations: 0 / 403.7 MB, free: 5.094 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.457e-05/0.3502, allocations: 34.5 kB / 403.8 MB, free: 5.051 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 9.41e-07/0.3502, allocations: 0 / 403.8 MB, free: 5.051 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002943/0.3505, allocations: 89.56 kB / 403.9 MB, free: 4.957 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.867e-05/0.3506, allocations: 106.8 kB / 404 MB, free: 4.828 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001441/0.3508, allocations: 137.8 kB / 404.1 MB, free: 4.684 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/0.3508, allocations: 25.7 kB / 404.1 MB, free: 4.652 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.945e-05/0.3509, allocations: 96.45 kB / 404.2 MB, free: 4.555 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.37e-05/0.3509, allocations: 7.953 kB / 404.2 MB, free: 4.547 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.105e-05/0.3509, allocations: 21.7 kB / 404.2 MB, free: 4.52 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.3511, allocations: 318.8 kB / 404.6 MB, free: 4.199 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.667e-05/0.3511, allocations: 19.86 kB / 404.6 MB, free: 4.18 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.852e-05/0.3512, allocations: 35.42 kB / 404.6 MB, free: 4.133 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.948e-05/0.3513, allocations: 47.36 kB / 404.7 MB, free: 4.074 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.3513, allocations: 4 kB / 404.7 MB, free: 4.07 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000141/0.3515, allocations: 61.58 kB / 404.7 MB, free: 4.004 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/0.3515, allocations: 8 kB / 404.7 MB, free: 3.996 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.3515, allocations: 4.125 kB / 404.7 MB, free: 3.992 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.3515, allocations: 0 / 404.7 MB, free: 3.992 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.129e-05/0.3516, allocations: 11.98 kB / 404.7 MB, free: 3.98 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.836e-06/0.3517, allocations: 4 kB / 404.7 MB, free: 3.977 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.157e-05/0.3517, allocations: 4 kB / 404.8 MB, free: 3.973 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.052e-05/0.3517, allocations: 4 kB / 404.8 MB, free: 3.969 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001037/0.3518, allocations: 125.7 kB / 404.9 MB, free: 3.836 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.944e-05/0.3519, allocations: 49.66 kB / 404.9 MB, free: 3.781 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.622e-05/0.352, allocations: 15.92 kB / 404.9 MB, free: 3.762 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.352, allocations: 4 kB / 404.9 MB, free: 3.758 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.352, allocations: 7.938 kB / 405 MB, free: 3.75 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.352, allocations: 0 / 405 MB, free: 3.75 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002207/0.3522, allocations: 173.6 kB / 405.1 MB, free: 3.531 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.3522, allocations: 0 / 405.1 MB, free: 3.531 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.158e-05/0.3523, allocations: 15.92 kB / 405.1 MB, free: 3.516 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.3523, allocations: 0 / 405.1 MB, free: 3.516 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.418e-05/0.3523, allocations: 4 kB / 405.1 MB, free: 3.512 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.3523, allocations: 0 / 405.1 MB, free: 3.512 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.3523, allocations: 4 kB / 405.1 MB, free: 3.508 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002201/0.3526, allocations: 173.1 kB / 405.3 MB, free: 3.316 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.249e-05/0.3526, allocations: 93.05 kB / 405.4 MB, free: 3.207 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.488e-05/0.3527, allocations: 4 kB / 405.4 MB, free: 3.203 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.617e-05/0.3527, allocations: 8.125 kB / 405.4 MB, free: 3.195 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.244e-05/0.3528, allocations: 15.92 kB / 405.4 MB, free: 3.18 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.053e-06/0.3528, allocations: 4 kB / 405.4 MB, free: 3.176 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.125e-05/0.3529, allocations: 114 kB / 405.6 MB, free: 3.066 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3529, allocations: 0 / 405.6 MB, free: 3.066 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002262/0.3531, allocations: 4 kB / 405.6 MB, free: 3.062 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005559/0.3537, allocations: 0.7173 MB / 406.3 MB, free: 2.316 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001549/0.3539, allocations: 27.92 kB / 406.3 MB, free: 2.289 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3539, allocations: 0 / 406.3 MB, free: 2.289 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.257e-05/0.3539, allocations: 19.92 kB / 406.3 MB, free: 2.27 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003684/0.3543, allocations: 28.27 kB / 406.3 MB, free: 2.242 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001487/0.3558, allocations: 1.389 MB / 407.7 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003549/0.3562, allocations: 0.6961 MB / 408.4 MB, free: 20 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.278e-05/0.3562, allocations: 0 / 408.4 MB, free: 20 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.967e-05/0.3563, allocations: 19.42 kB / 408.5 MB, free: 0 / 318.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3563, allocations: 4.141 kB / 408.5 MB, free: 15.99 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02445/0.3808, allocations: 1.664 MB / 410.1 MB, free: 14.44 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.966/8.347, allocations: 8.5 kB / 410.1 MB, free: 14.43 MB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 8e-05 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SubSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SubSample/SubSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches