Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.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.001123/0.001123, allocations: 79.7 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.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.001071/0.001071, allocations: 174 kB / 23.94 MB, free: 0.6172 MB / 18.57 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 0.8736/0.8736, allocations: 177.1 MB / 204.2 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] 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.RealSignals.TimeBasedStep,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.482e-06/1.482e-06, allocations: 0 / 324.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.988e-06/1.147e-05, allocations: 2.281 kB / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.001624/0.001636, allocations: 1.488 MB / 326.1 MB, free: 14.44 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002181/0.001854, allocations: 95.64 kB / 326.2 MB, free: 14.34 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.364e-05/0.001908, allocations: 0 / 326.2 MB, free: 14.34 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.66e-05/0.001934, allocations: 7.922 kB / 326.2 MB, free: 14.34 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 4.214e-05/0.001976, allocations: 7.922 kB / 326.2 MB, free: 14.33 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002073/0.002184, allocations: 31.86 kB / 326.2 MB, free: 14.3 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.891e-05/0.002263, allocations: 27.92 kB / 326.2 MB, free: 14.27 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.842e-05/0.002351, allocations: 11.98 kB / 326.2 MB, free: 14.26 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.874e-05/0.00239, allocations: 15.92 kB / 326.3 MB, free: 14.24 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.32e-05/0.002423, allocations: 4 kB / 326.3 MB, free: 14.24 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.039e-05/0.002443, allocations: 4 kB / 326.3 MB, free: 14.23 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.206e-06/0.002452, allocations: 4 kB / 326.3 MB, free: 14.23 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.499e-05/0.002467, allocations: 4 kB / 326.3 MB, free: 14.23 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.664e-05/0.002493, allocations: 15.91 kB / 326.3 MB, free: 14.21 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 7.039e-05/0.002564, allocations: 23.97 kB / 326.3 MB, free: 14.19 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.613e-06/0.002565, allocations: 0 / 326.3 MB, free: 14.19 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.42e-07/0.002566, allocations: 0 / 326.3 MB, free: 14.19 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.808e-06/0.00257, allocations: 0 / 326.3 MB, free: 14.19 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002939/0.002864, allocations: 262.2 kB / 326.6 MB, free: 13.9 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.002897, allocations: 12.03 kB / 326.6 MB, free: 13.89 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.767e-05/0.002925, allocations: 46.67 kB / 326.6 MB, free: 13.83 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.92e-05/0.002944, allocations: 8.891 kB / 326.6 MB, free: 13.82 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001414/0.003086, allocations: 117.7 kB / 326.7 MB, free: 13.68 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.887e-06/0.003095, allocations: 4.375 kB / 326.8 MB, free: 13.68 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.465e-06/0.003102, allocations: 384 / 326.8 MB, free: 13.68 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002327/0.003335, allocations: 111.8 kB / 326.9 MB, free: 13.56 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.003342, allocations: 4.188 kB / 326.9 MB, free: 13.55 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.823e-06/0.003349, allocations: 384 / 326.9 MB, free: 13.55 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.003357, allocations: 12.11 kB / 326.9 MB, free: 13.54 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.914e-05/0.003406, allocations: 11.98 kB / 326.9 MB, free: 13.53 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001064/0.003512, allocations: 132.7 kB / 327 MB, free: 13.36 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.953e-05/0.003612, allocations: 58.52 kB / 327.1 MB, free: 13.29 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.803e-05/0.00365, allocations: 20.89 kB / 327.1 MB, free: 13.27 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.815e-05/0.003668, allocations: 0 / 327.1 MB, free: 13.27 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.761e-05/0.003686, allocations: 34.56 kB / 327.1 MB, free: 13.23 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 6.41e-07/0.003686, allocations: 4 kB / 327.1 MB, free: 13.22 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001571/0.003843, allocations: 69.61 kB / 327.2 MB, free: 13.15 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.902e-05/0.003882, allocations: 59.34 kB / 327.3 MB, free: 13.08 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.549e-05/0.003938, allocations: 109.8 kB / 327.4 MB, free: 12.96 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.017e-05/0.003948, allocations: 25.7 kB / 327.4 MB, free: 12.93 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.721e-05/0.003975, allocations: 84.14 kB / 327.5 MB, free: 12.84 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.166e-06/0.003978, allocations: 0 / 327.5 MB, free: 12.84 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.582e-05/0.003994, allocations: 9.719 kB / 327.5 MB, free: 12.83 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.342e-05/0.004068, allocations: 318.8 kB / 327.8 MB, free: 12.51 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.018e-06/0.004072, allocations: 4 kB / 327.8 MB, free: 12.5 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.436e-06/0.004075, allocations: 3.984 kB / 327.8 MB, free: 12.5 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.925e-05/0.004094, allocations: 75.28 kB / 327.9 MB, free: 12.43 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.682e-05/0.004111, allocations: 75.28 kB / 328 MB, free: 12.35 MB / 298.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.764e-05/0.004149, allocations: 33.64 kB / 328 MB, free: 12.31 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.79e-05/0.004177, allocations: 79.28 kB / 328.1 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.835e-05/0.004195, allocations: 75.28 kB / 328.1 MB, free: 12.16 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.01e-05/0.004235, allocations: 154.6 kB / 328.3 MB, free: 12.01 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.039e-05/0.004256, allocations: 83.16 kB / 328.4 MB, free: 11.93 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.341e-05/0.004289, allocations: 154.6 kB / 328.5 MB, free: 11.77 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.472e-05/0.004334, allocations: 87.2 kB / 328.6 MB, free: 11.69 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.741e-05/0.004351, allocations: 79.28 kB / 328.7 MB, free: 11.61 MB / 298.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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.0003362/0.004687, allocations: 189.1 kB / 328.9 MB, free: 11.41 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.268e-05/0.00475, allocations: 57.64 kB / 328.9 MB, free: 11.35 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.333e-05/0.004773, allocations: 7.984 kB / 328.9 MB, free: 11.34 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.004776, allocations: 4 kB / 328.9 MB, free: 11.34 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.004781, allocations: 4.188 kB / 328.9 MB, free: 11.33 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.004783, allocations: 0 / 328.9 MB, free: 11.33 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.289e-05/0.004836, allocations: 132.7 kB / 329.1 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-06/0.004839, allocations: 0 / 329.1 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.803e-05/0.004897, allocations: 12 kB / 329.1 MB, free: 11.15 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.004899, allocations: 0 / 329.1 MB, free: 11.15 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.741e-06/0.004905, allocations: 0 / 329.1 MB, free: 11.15 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.004908, allocations: 0 / 329.1 MB, free: 11.15 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.004909, allocations: 3.938 kB / 329.1 MB, free: 11.14 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.849e-05/0.004978, allocations: 81.34 kB / 329.2 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.584e-06/0.004985, allocations: 7.953 kB / 329.2 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.917e-06/0.004994, allocations: 48 / 329.2 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.186e-05/0.005006, allocations: 11.97 kB / 329.2 MB, free: 11.03 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.886e-06/0.005009, allocations: 3.938 kB / 329.2 MB, free: 11.02 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-06/0.005013, allocations: 4 kB / 329.2 MB, free: 11.02 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.502e-05/0.005038, allocations: 83.28 kB / 329.3 MB, free: 10.94 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005038, allocations: 0 / 329.3 MB, free: 10.94 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001333/0.005171, allocations: 4 kB / 329.3 MB, free: 10.93 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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.0002141/0.005385, allocations: 0.6124 MB / 329.9 MB, free: 10.29 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 4.913e-05/0.005434, allocations: 15.98 kB / 329.9 MB, free: 10.28 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.102e-06/0.005435, allocations: 3.938 kB / 329.9 MB, free: 10.27 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.1e-07/0.005436, allocations: 0 / 329.9 MB, free: 10.27 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001648/0.005601, allocations: 31.86 kB / 329.9 MB, free: 10.24 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006166/0.006217, allocations: 1.379 MB / 331.3 MB, free: 8.785 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.19e-05/0.006249, allocations: 63.34 kB / 331.4 MB, free: 8.703 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.697e-06/0.006258, allocations: 0 / 331.4 MB, free: 8.703 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.827e-05/0.006286, allocations: 16.5 kB / 331.4 MB, free: 8.688 MB / 298.7 MB Notification: Performance of SimCode: time 3.71e-07/0.006286, allocations: 0 / 331.4 MB, free: 8.688 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01318/0.01947, allocations: 1.83 MB / 333.2 MB, free: 6.973 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.748/6.768, allocations: 7.062 kB / 333.2 MB, free: 6.969 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000199561 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedStep.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.495032451115549]