Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001094/0.001094, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001168/0.001168, allocations: 149.1 kB / 23.93 MB, free: 0.6289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9268/0.9268, allocations: 173.4 MB / 200.4 MB, free: 9.418 MB / 186.7 MB " [Timeout remaining time 179] 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.BooleanSignals.Sample1,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 318.4 MB, free: 6.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.939e-05/2.118e-05, allocations: 5.516 kB / 318.4 MB, free: 6.227 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.001907/0.001928, allocations: 1.492 MB / 319.9 MB, free: 4.719 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003185/0.002247, allocations: 147.4 kB / 320.1 MB, free: 4.574 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.605e-05/0.002323, allocations: 7.938 kB / 320.1 MB, free: 4.566 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.578e-05/0.002369, allocations: 7.875 kB / 320.1 MB, free: 4.559 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001402/0.002509, allocations: 7.984 kB / 320.1 MB, free: 4.551 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002335/0.002742, allocations: 35.84 kB / 320.1 MB, free: 4.516 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001032/0.002846, allocations: 35.86 kB / 320.2 MB, free: 4.48 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.002956, allocations: 19.92 kB / 320.2 MB, free: 4.461 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.778e-05/0.003004, allocations: 15.97 kB / 320.2 MB, free: 4.445 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.217e-05/0.003036, allocations: 7.938 kB / 320.2 MB, free: 4.438 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.398e-05/0.00306, allocations: 4 kB / 320.2 MB, free: 4.434 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.436e-06/0.003068, allocations: 0 / 320.2 MB, free: 4.434 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.543e-05/0.003124, allocations: 11.98 kB / 320.2 MB, free: 4.422 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.912e-05/0.003153, allocations: 15.94 kB / 320.2 MB, free: 4.406 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001257/0.003278, allocations: 47.8 kB / 320.3 MB, free: 4.359 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.504e-06/0.003281, allocations: 0 / 320.3 MB, free: 4.359 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.003283, allocations: 4 kB / 320.3 MB, free: 4.355 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.003288, allocations: 0 / 320.3 MB, free: 4.355 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004259/0.003714, allocations: 285.4 kB / 320.6 MB, free: 4.047 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.003758, allocations: 12.92 kB / 320.6 MB, free: 4.035 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.532e-05/0.003793, allocations: 38.75 kB / 320.6 MB, free: 3.988 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.514e-05/0.003818, allocations: 8.891 kB / 320.6 MB, free: 3.98 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002044/0.004023, allocations: 141.5 kB / 320.8 MB, free: 3.816 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.331e-05/0.004046, allocations: 4.375 kB / 320.8 MB, free: 3.812 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.896e-06/0.004055, allocations: 4.375 kB / 320.8 MB, free: 3.809 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002676/0.004322, allocations: 109.6 kB / 320.9 MB, free: 3.684 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.146e-06/0.004331, allocations: 192 / 320.9 MB, free: 3.684 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.268e-06/0.00434, allocations: 384 / 320.9 MB, free: 3.684 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.004346, allocations: 4.125 kB / 320.9 MB, free: 3.68 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.54e-05/0.004392, allocations: 23.92 kB / 320.9 MB, free: 3.656 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002683/0.00466, allocations: 228.9 kB / 321.1 MB, free: 3.387 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001076/0.004767, allocations: 57.14 kB / 321.2 MB, free: 3.312 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.528e-05/0.004803, allocations: 21.78 kB / 321.2 MB, free: 3.285 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.703e-05/0.00482, allocations: 0 / 321.2 MB, free: 3.285 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.9e-05/0.004839, allocations: 42.48 kB / 321.3 MB, free: 3.234 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 8.01e-07/0.00484, allocations: 0 / 321.3 MB, free: 3.234 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001682/0.005008, allocations: 65.62 kB / 321.3 MB, free: 3.164 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.598e-05/0.005054, allocations: 85.23 kB / 321.4 MB, free: 3.062 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.218e-05/0.005146, allocations: 137.8 kB / 321.5 MB, free: 2.918 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.076e-05/0.005157, allocations: 29.64 kB / 321.6 MB, free: 2.883 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.07e-05/0.005197, allocations: 84.12 kB / 321.6 MB, free: 2.797 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.414e-06/0.005205, allocations: 0 / 321.6 MB, free: 2.797 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.822e-05/0.005233, allocations: 17.72 kB / 321.7 MB, free: 2.773 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0003503/0.005583, allocations: 314.8 kB / 322 MB, free: 2.457 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.317e-05/0.005606, allocations: 7.984 kB / 322 MB, free: 2.449 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.061e-05/0.005617, allocations: 4 kB / 322 MB, free: 2.445 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.803e-05/0.005645, allocations: 16.86 kB / 322 MB, free: 2.426 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.005647, allocations: 0 / 322 MB, free: 2.426 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.441e-05/0.005701, allocations: 53.58 kB / 322.1 MB, free: 2.367 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.005714, allocations: 4 kB / 322.1 MB, free: 2.363 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.005719, allocations: 0 / 322.1 MB, free: 2.363 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.00573, allocations: 0 / 322.1 MB, free: 2.363 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.256e-06/0.005738, allocations: 0 / 322.1 MB, free: 2.363 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.005744, allocations: 4 kB / 322.1 MB, free: 2.359 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.276e-05/0.005756, allocations: 0 / 322.1 MB, free: 2.359 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.91e-06/0.005761, allocations: 0 / 322.1 MB, free: 2.359 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (step.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 6.021e-05/0.005821, allocations: 117.9 kB / 322.2 MB, free: 2.234 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.58e-05/0.005867, allocations: 69.62 kB / 322.2 MB, free: 2.16 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.616e-05/0.005893, allocations: 8 kB / 322.2 MB, free: 2.145 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.005896, allocations: 0 / 322.2 MB, free: 2.145 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.005899, allocations: 0 / 322.2 MB, free: 2.145 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.005902, allocations: 0 / 322.2 MB, free: 2.145 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001055/0.006007, allocations: 140.7 kB / 322.4 MB, free: 1.965 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.006009, allocations: 0 / 322.4 MB, free: 1.965 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.761e-06/0.006014, allocations: 3.984 kB / 322.4 MB, free: 1.961 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.006017, allocations: 3.938 kB / 322.4 MB, free: 1.957 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.006025, allocations: 4 kB / 322.4 MB, free: 1.953 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.006026, allocations: 8 kB / 322.4 MB, free: 1.945 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.006027, allocations: 0 / 322.4 MB, free: 1.945 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.711e-05/0.006124, allocations: 160.3 kB / 322.6 MB, free: 1.77 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.958e-05/0.006154, allocations: 19.92 kB / 322.6 MB, free: 1.75 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.531e-05/0.006169, allocations: 0 / 322.6 MB, free: 1.75 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.124e-05/0.0062, allocations: 0 / 322.6 MB, free: 1.75 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.556e-05/0.006226, allocations: 4 kB / 322.6 MB, free: 1.746 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.926e-06/0.006229, allocations: 0 / 322.6 MB, free: 1.746 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.185e-05/0.006271, allocations: 106.6 kB / 322.7 MB, free: 1.645 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006271, allocations: 4 kB / 322.7 MB, free: 1.641 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001364/0.006407, allocations: 4 kB / 322.7 MB, free: 1.637 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 (step.y,assignClock.u,assignClock.y,sample1.y) * 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.0002778/0.006685, allocations: 0.6976 MB / 323.4 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.026e-05/0.006765, allocations: 15.98 kB / 323.4 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.006767, allocations: 0 / 323.4 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.345e-05/0.00678, allocations: 7.938 kB / 323.4 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002611/0.007041, allocations: 27.94 kB / 323.4 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008058/0.007847, allocations: 1.247 MB / 324.7 MB, free: 15.52 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.71e-05/0.007904, allocations: 67.34 kB / 324.8 MB, free: 15.44 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.662e-05/0.007921, allocations: 4 kB / 324.8 MB, free: 15.43 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.38e-05/0.007965, allocations: 16.48 kB / 324.8 MB, free: 15.42 MB / 298.7 MB Notification: Performance of SimCode: time 1.032e-06/0.007966, allocations: 0 / 324.8 MB, free: 15.42 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0184/0.02636, allocations: 2.12 MB / 326.9 MB, free: 13.43 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.98/7.006, allocations: 0 / 326.9 MB, free: 13.43 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_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_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Sample1/Sample1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Failed to open simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_res.csv: Error: Error opening file: Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_res.csv " [Timeout remaining time 660] "" Variables in the reference:time,assignClock.y,sample1.y Variables in the result: [Calling sys.exit(0), Time elapsed: 8.867798516526818]