Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001866/0.001866, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001485/0.001485, allocations: 211.5 kB / 23.73 MB, free: 4.387 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.423/1.423, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00227/0.00227, allocations: 47.92 kB / 377.7 MB, free: 2.977 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2682/0.2705, allocations: 53.36 MB / 431.1 MB, free: 6.641 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.003516/0.274, allocations: 1.517 MB / 432.6 MB, free: 5.121 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004147/0.2744, allocations: 131.6 kB / 432.7 MB, free: 4.992 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.419e-05/0.2745, allocations: 3.938 kB / 432.7 MB, free: 4.988 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.617e-05/0.2745, allocations: 3.938 kB / 432.7 MB, free: 4.984 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001357/0.2747, allocations: 4 kB / 432.7 MB, free: 4.98 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002507/0.2749, allocations: 47.77 kB / 432.8 MB, free: 4.934 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001062/0.275, allocations: 31.86 kB / 432.8 MB, free: 4.902 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.922e-05/0.2751, allocations: 7.797 kB / 432.8 MB, free: 4.898 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.756e-05/0.2752, allocations: 11.94 kB / 432.8 MB, free: 4.887 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.262e-05/0.2752, allocations: 11.91 kB / 432.8 MB, free: 4.875 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.267e-05/0.2752, allocations: 4 kB / 432.8 MB, free: 4.871 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.096e-05/0.2752, allocations: 4 kB / 432.8 MB, free: 4.867 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.145e-05/0.2753, allocations: 11.94 kB / 432.9 MB, free: 4.855 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.91e-05/0.2753, allocations: 15.92 kB / 432.9 MB, free: 4.84 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001145/0.2754, allocations: 35.83 kB / 432.9 MB, free: 4.805 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.279e-06/0.2754, allocations: 0 / 432.9 MB, free: 4.805 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2754, allocations: 0 / 432.9 MB, free: 4.805 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.2754, allocations: 3.938 kB / 432.9 MB, free: 4.801 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000516/0.276, allocations: 284 kB / 433.2 MB, free: 4.492 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.276, allocations: 12.03 kB / 433.2 MB, free: 4.48 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.072e-05/0.276, allocations: 34.75 kB / 433.2 MB, free: 4.438 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.05e-05/0.2761, allocations: 8.891 kB / 433.2 MB, free: 4.43 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002481/0.2763, allocations: 134.3 kB / 433.4 MB, free: 4.273 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.655e-05/0.2763, allocations: 8.375 kB / 433.4 MB, free: 4.266 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.195e-05/0.2764, allocations: 384 / 433.4 MB, free: 4.266 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002505/0.2766, allocations: 81.62 kB / 433.5 MB, free: 4.168 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.2766, allocations: 3.938 kB / 433.5 MB, free: 4.164 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.839e-06/0.2766, allocations: 4 kB / 433.5 MB, free: 4.16 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.2766, allocations: 3.984 kB / 433.5 MB, free: 4.156 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.263e-05/0.2767, allocations: 12 kB / 433.5 MB, free: 4.145 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003479/0.277, allocations: 228.9 kB / 433.7 MB, free: 3.875 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.652e-05/0.2771, allocations: 45.09 kB / 433.8 MB, free: 3.812 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.612e-05/0.2772, allocations: 17.77 kB / 433.8 MB, free: 3.789 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.126e-05/0.2772, allocations: 0 / 433.8 MB, free: 3.789 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.714e-05/0.2772, allocations: 42.5 kB / 433.8 MB, free: 3.738 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 8.21e-07/0.2772, allocations: 0 / 433.8 MB, free: 3.738 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002116/0.2774, allocations: 53.86 kB / 433.9 MB, free: 3.68 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.419e-05/0.2775, allocations: 85.08 kB / 433.9 MB, free: 3.578 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001357/0.2776, allocations: 129.8 kB / 434.1 MB, free: 3.441 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.475e-05/0.2777, allocations: 29.7 kB / 434.1 MB, free: 3.406 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.709e-05/0.2777, allocations: 80.14 kB / 434.2 MB, free: 3.324 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.14e-05/0.2777, allocations: 7.938 kB / 434.2 MB, free: 3.316 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.382e-05/0.2778, allocations: 17.72 kB / 434.2 MB, free: 3.293 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.00014/0.2779, allocations: 318.8 kB / 434.5 MB, free: 2.973 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.627e-05/0.2779, allocations: 4 kB / 434.5 MB, free: 2.969 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.206e-05/0.278, allocations: 21.7 kB / 434.5 MB, free: 2.941 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.215e-05/0.278, allocations: 29.66 kB / 434.6 MB, free: 2.906 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.278, allocations: 7.938 kB / 434.6 MB, free: 2.898 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.105e-05/0.2781, allocations: 45.69 kB / 434.6 MB, free: 2.848 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.2781, allocations: 4 kB / 434.6 MB, free: 2.844 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.2781, allocations: 0 / 434.6 MB, free: 2.844 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.2781, allocations: 3.984 kB / 434.6 MB, free: 2.84 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.786e-05/0.2782, allocations: 4 kB / 434.6 MB, free: 2.836 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.2782, allocations: 0 / 434.6 MB, free: 2.836 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.563e-05/0.2782, allocations: 11.98 kB / 434.6 MB, free: 2.824 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.796e-06/0.2782, allocations: 4 kB / 434.7 MB, free: 2.82 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (sample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 9.482e-05/0.2783, allocations: 121.7 kB / 434.8 MB, free: 2.691 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.069e-05/0.2783, allocations: 37.66 kB / 434.8 MB, free: 2.648 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.486e-05/0.2784, allocations: 15.41 kB / 434.8 MB, free: 2.629 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.2784, allocations: 0 / 434.8 MB, free: 2.629 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.2784, allocations: 0 / 434.8 MB, free: 2.629 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.2784, allocations: 4 kB / 434.8 MB, free: 2.625 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001655/0.2786, allocations: 136.7 kB / 435 MB, free: 2.449 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.2786, allocations: 32 / 435 MB, free: 2.449 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.119e-06/0.2786, allocations: 4 kB / 435 MB, free: 2.445 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-06/0.2786, allocations: 0 / 435 MB, free: 2.445 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.2786, allocations: 4 kB / 435 MB, free: 2.441 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.2786, allocations: 0 / 435 MB, free: 2.441 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2786, allocations: 0 / 435 MB, free: 2.441 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001714/0.2787, allocations: 156.2 kB / 435.1 MB, free: 2.27 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.358e-05/0.2788, allocations: 15.94 kB / 435.1 MB, free: 2.254 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.337e-05/0.2788, allocations: 0 / 435.1 MB, free: 2.254 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.471e-05/0.2789, allocations: 4 kB / 435.1 MB, free: 2.25 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.983e-05/0.2789, allocations: 8.016 kB / 435.1 MB, free: 2.242 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.886e-06/0.2789, allocations: 0 / 435.1 MB, free: 2.242 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.928e-05/0.279, allocations: 110.3 kB / 435.3 MB, free: 2.137 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.279, allocations: 0 / 435.3 MB, free: 2.137 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002099/0.2792, allocations: 4 kB / 435.3 MB, free: 2.133 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (sample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0004389/0.2796, allocations: 0.682 MB / 435.9 MB, free: 1.422 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001146/0.2797, allocations: 19.92 kB / 436 MB, free: 1.402 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.2797, allocations: 4.156 kB / 436 MB, free: 1.398 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.617e-05/0.2798, allocations: 7.938 kB / 436 MB, free: 1.391 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003402/0.2801, allocations: 22.53 kB / 436 MB, free: 1.371 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001169/0.2813, allocations: 1.248 MB / 437.2 MB, free: 36 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.969e-05/0.2814, allocations: 67.34 kB / 437.3 MB, free: 15.95 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.263e-05/0.2814, allocations: 3.984 kB / 437.3 MB, free: 15.95 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.014e-05/0.2814, allocations: 19.56 kB / 437.3 MB, free: 15.93 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.2814, allocations: 0 / 437.3 MB, free: 15.93 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0273/0.3087, allocations: 1.903 MB / 439.2 MB, free: 14.16 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.9/11.2, allocations: 7.938 kB / 439.2 MB, free: 14.15 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.99122e-05 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,sample1.y Variables in the result:time,step.startTime,periodicClock.factor,periodicClock.resolution,sample1.u,sample1.y [Calling sys.exit(0), Time elapsed: 13.766890855040401]