Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001731/0.001731, allocations: 124.4 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002045/0.002045, allocations: 206.6 kB / 20.75 MB, free: 2.312 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.414/1.414, allocations: 230.4 MB / 254 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002543/0.002543, allocations: 63.91 kB / 373 MB, free: 10.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1158, allocations: 53.38 MB / 426.4 MB, free: 4.598 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.002791/0.1186, allocations: 1.459 MB / 427.8 MB, free: 3.133 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001924/0.1188, allocations: 31.84 kB / 427.9 MB, free: 3.102 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.033e-05/0.1188, allocations: 0 / 427.9 MB, free: 3.102 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.604e-05/0.1189, allocations: 11.92 kB / 427.9 MB, free: 3.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.19e-05/0.1189, allocations: 3.938 kB / 427.9 MB, free: 3.086 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002554/0.1192, allocations: 23.97 kB / 427.9 MB, free: 3.062 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.017e-05/0.1193, allocations: 27.92 kB / 427.9 MB, free: 3.035 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.1194, allocations: 8 kB / 427.9 MB, free: 3.027 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.936e-05/0.1194, allocations: 11.94 kB / 428 MB, free: 3.016 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.799e-05/0.1194, allocations: 19.91 kB / 428 MB, free: 2.996 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.644e-05/0.1195, allocations: 0 / 428 MB, free: 2.996 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.043e-05/0.1195, allocations: 4 kB / 428 MB, free: 2.992 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.592e-05/0.1195, allocations: 0 / 428 MB, free: 2.992 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.826e-05/0.1195, allocations: 31.8 kB / 428 MB, free: 2.961 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.694e-05/0.1196, allocations: 27.84 kB / 428 MB, free: 2.934 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.1196, allocations: 0 / 428 MB, free: 2.934 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1196, allocations: 0 / 428 MB, free: 2.934 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.1196, allocations: 0 / 428 MB, free: 2.934 MB / 350.1 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.0004745/0.1201, allocations: 343.5 kB / 428.4 MB, free: 2.547 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.1202, allocations: 8.031 kB / 428.4 MB, free: 2.539 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.879e-05/0.1202, allocations: 30.75 kB / 428.4 MB, free: 2.5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.499e-05/0.1202, allocations: 8.891 kB / 428.4 MB, free: 2.492 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002239/0.1204, allocations: 192.2 kB / 428.6 MB, free: 2.266 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.033e-05/0.1205, allocations: 4.375 kB / 428.6 MB, free: 2.262 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.072e-05/0.1205, allocations: 4.359 kB / 428.6 MB, free: 2.258 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003951/0.1209, allocations: 115.9 kB / 428.7 MB, free: 2.133 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.1209, allocations: 3.938 kB / 428.7 MB, free: 2.129 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-06/0.1209, allocations: 0 / 428.7 MB, free: 2.129 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.1209, allocations: 0 / 428.7 MB, free: 2.129 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001245/0.121, allocations: 31.97 kB / 428.8 MB, free: 2.098 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001671/0.1212, allocations: 161.6 kB / 428.9 MB, free: 1.891 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000171/0.1214, allocations: 58.48 kB / 429 MB, free: 1.824 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.353e-05/0.1214, allocations: 24.92 kB / 429 MB, free: 1.797 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.019e-05/0.1215, allocations: 0 / 429 MB, free: 1.797 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.127e-05/0.1215, allocations: 30.56 kB / 429 MB, free: 1.758 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.1215, allocations: 4 kB / 429 MB, free: 1.754 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002907/0.1218, allocations: 85.55 kB / 429.1 MB, free: 1.664 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.263e-05/0.1218, allocations: 59.34 kB / 429.2 MB, free: 1.594 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.248e-05/0.1219, allocations: 105.8 kB / 429.3 MB, free: 1.48 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.719e-05/0.1219, allocations: 25.7 kB / 429.3 MB, free: 1.449 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.826e-05/0.122, allocations: 84.14 kB / 429.4 MB, free: 1.363 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.436e-05/0.122, allocations: 4 kB / 429.4 MB, free: 1.359 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.211e-05/0.122, allocations: 13.72 kB / 429.4 MB, free: 1.34 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.1222, allocations: 322.8 kB / 429.7 MB, free: 1.016 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.53e-05/0.1222, allocations: 4 kB / 429.7 MB, free: 1.012 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.333e-05/0.1222, allocations: 27.44 kB / 429.7 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.672e-05/0.1223, allocations: 43.36 kB / 429.8 MB, free: 0.918 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.1223, allocations: 0 / 429.8 MB, free: 0.918 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.1e-05/0.1224, allocations: 61.59 kB / 429.8 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.1224, allocations: 7.938 kB / 429.9 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.1224, allocations: 7.984 kB / 429.9 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.1224, allocations: 0 / 429.9 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.374e-05/0.1225, allocations: 12.31 kB / 429.9 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.1225, allocations: 0 / 429.9 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.095e-05/0.1225, allocations: 4.125 kB / 429.9 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/0.1225, allocations: 15.92 kB / 429.9 MB, free: 0.8047 MB / 350.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: 2 ($CLKPRE.step.counter,step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 8.924e-05/0.1226, allocations: 113.8 kB / 430 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001541/0.1228, allocations: 61.61 kB / 430.1 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.134e-05/0.1228, allocations: 15.89 kB / 430.1 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.1228, allocations: 0 / 430.1 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.1228, allocations: 3.938 kB / 430.1 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.1228, allocations: 240 / 430.1 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001211/0.123, allocations: 161.6 kB / 430.2 MB, free: 388 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.123, allocations: 0 / 430.2 MB, free: 388 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.883e-05/0.123, allocations: 15.98 kB / 430.3 MB, free: 372 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.163e-05/0.123, allocations: 7.922 kB / 430.3 MB, free: 364 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.123, allocations: 0 / 430.3 MB, free: 364 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.123, allocations: 0 / 430.3 MB, free: 364 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.123, allocations: 4 kB / 430.3 MB, free: 360 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001841/0.1232, allocations: 89.09 kB / 430.4 MB, free: 252 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.841e-05/0.1233, allocations: 77.11 kB / 430.4 MB, free: 156 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.562e-05/0.1233, allocations: 3.938 kB / 430.4 MB, free: 152 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.238e-05/0.1233, allocations: 8 kB / 430.4 MB, free: 144 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.945e-06/0.1233, allocations: 0 / 430.4 MB, free: 144 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.098e-06/0.1233, allocations: 0 / 430.4 MB, free: 144 kB / 350.1 MB Notification: Performance of sorting global known variables: time 6.04e-05/0.1234, allocations: 91.27 kB / 430.5 MB, free: 52 kB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1234, allocations: 0 / 430.5 MB, free: 52 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001801/0.1236, allocations: 4 kB / 430.5 MB, free: 48 kB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * 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.0006598/0.1242, allocations: 0.6553 MB / 431.2 MB, free: 15.36 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001503/0.1244, allocations: 27.92 kB / 431.2 MB, free: 15.34 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.1244, allocations: 0 / 431.2 MB, free: 15.34 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.91e-07/0.1244, allocations: 0 / 431.2 MB, free: 15.34 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000292/0.1247, allocations: 23.98 kB / 431.2 MB, free: 15.31 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001162/0.1258, allocations: 1.189 MB / 432.4 MB, free: 14.02 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003252/0.1262, allocations: 0.6807 MB / 433.1 MB, free: 13.32 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.426e-05/0.1262, allocations: 3.984 kB / 433.1 MB, free: 13.31 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.404e-05/0.1262, allocations: 15.44 kB / 433.1 MB, free: 13.3 MB / 366.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1262, allocations: 0 / 433.1 MB, free: 13.3 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0237/0.1499, allocations: 1.389 MB / 434.5 MB, free: 12.02 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.624/7.774, allocations: 11.86 kB / 434.5 MB, free: 12.01 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000199561 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,assignClock1.y Variables in the result:time,assignClock1.u,assignClock1.y,step.y,periodicClock1.period,step.height [Calling sys.exit(0), Time elapsed: 10.366840800037608]