Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.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.001294/0.001294, allocations: 123.4 kB / 17.79 MB, free: 5.227 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.001352/0.001352, allocations: 208.3 kB / 20.75 MB, free: 2.273 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.509/1.509, allocations: 230.6 MB / 254.1 MB, free: 15.06 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.RealSignals.TickBasedStep,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001518/0.001518, allocations: 51.92 kB / 373 MB, free: 10.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1148, allocations: 53.34 MB / 426.3 MB, free: 4.832 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.002587/0.1174, allocations: 1.463 MB / 427.8 MB, free: 3.359 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001707/0.1175, allocations: 27.91 kB / 427.8 MB, free: 3.332 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.156e-05/0.1176, allocations: 11.94 kB / 427.8 MB, free: 3.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.562e-05/0.1176, allocations: 0 / 427.8 MB, free: 3.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.707e-05/0.1176, allocations: 3.938 kB / 427.8 MB, free: 3.316 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002209/0.1179, allocations: 23.95 kB / 427.9 MB, free: 3.293 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.195e-05/0.1179, allocations: 27.92 kB / 427.9 MB, free: 3.266 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.555e-05/0.118, allocations: 4 kB / 427.9 MB, free: 3.262 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.9e-05/0.1181, allocations: 19.92 kB / 427.9 MB, free: 3.242 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.206e-05/0.1181, allocations: 15.91 kB / 427.9 MB, free: 3.227 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.391e-05/0.1181, allocations: 4 kB / 427.9 MB, free: 3.223 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.798e-06/0.1181, allocations: 4 kB / 427.9 MB, free: 3.219 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.602e-05/0.1182, allocations: 8 kB / 427.9 MB, free: 3.211 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.653e-05/0.1182, allocations: 15.88 kB / 428 MB, free: 3.195 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001/0.1183, allocations: 39.75 kB / 428 MB, free: 3.156 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.1183, allocations: 0 / 428 MB, free: 3.156 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1183, allocations: 0 / 428 MB, free: 3.156 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.247e-06/0.1183, allocations: 0 / 428 MB, free: 3.156 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.000458/0.1188, allocations: 343.5 kB / 428.3 MB, free: 2.77 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.1188, allocations: 8.031 kB / 428.3 MB, free: 2.762 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.759e-05/0.1188, allocations: 30.75 kB / 428.4 MB, free: 2.723 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.649e-05/0.1189, allocations: 8.891 kB / 428.4 MB, free: 2.715 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002386/0.1191, allocations: 180.3 kB / 428.6 MB, free: 2.5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.424e-05/0.1191, allocations: 8.375 kB / 428.6 MB, free: 2.492 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.125e-06/0.1191, allocations: 384 / 428.6 MB, free: 2.492 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003589/0.1195, allocations: 119.8 kB / 428.7 MB, free: 2.363 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.1195, allocations: 11.81 kB / 428.7 MB, free: 2.352 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.125e-06/0.1195, allocations: 0 / 428.7 MB, free: 2.352 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.1195, allocations: 4 kB / 428.7 MB, free: 2.348 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001204/0.1196, allocations: 27.97 kB / 428.7 MB, free: 2.32 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001612/0.1198, allocations: 153.7 kB / 428.9 MB, free: 2.121 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001743/0.12, allocations: 58.52 kB / 428.9 MB, free: 2.055 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.155e-05/0.1201, allocations: 24.89 kB / 429 MB, free: 2.027 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.421e-05/0.1201, allocations: 0 / 429 MB, free: 2.027 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.241e-05/0.1201, allocations: 34.56 kB / 429 MB, free: 1.984 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.1201, allocations: 3.938 kB / 429 MB, free: 1.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002883/0.1204, allocations: 85.55 kB / 429.1 MB, free: 1.891 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.892e-05/0.1204, allocations: 55.41 kB / 429.1 MB, free: 1.824 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.938e-05/0.1205, allocations: 105.8 kB / 429.2 MB, free: 1.711 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.563e-05/0.1206, allocations: 25.7 kB / 429.3 MB, free: 1.68 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.163e-05/0.1206, allocations: 84.14 kB / 429.3 MB, free: 1.594 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.907e-05/0.1206, allocations: 7.984 kB / 429.3 MB, free: 1.586 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.512e-05/0.1206, allocations: 17.72 kB / 429.4 MB, free: 1.562 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001287/0.1208, allocations: 314.8 kB / 429.7 MB, free: 1.246 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.531e-05/0.1208, allocations: 4 kB / 429.7 MB, free: 1.242 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.658e-05/0.1208, allocations: 35.36 kB / 429.7 MB, free: 1.195 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.798e-05/0.1209, allocations: 35.44 kB / 429.7 MB, free: 1.148 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1209, allocations: 0 / 429.7 MB, free: 1.148 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.347e-05/0.121, allocations: 69.52 kB / 429.8 MB, free: 1.074 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.121, allocations: 7.938 kB / 429.8 MB, free: 1.066 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.121, allocations: 4 kB / 429.8 MB, free: 1.062 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.121, allocations: 0 / 429.8 MB, free: 1.062 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.166e-05/0.1211, allocations: 8 kB / 429.8 MB, free: 1.055 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.1211, allocations: 128 / 429.8 MB, free: 1.055 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.937e-05/0.1211, allocations: 4 kB / 429.8 MB, free: 1.051 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.698e-06/0.1211, allocations: 7.984 kB / 429.8 MB, free: 1.043 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 9.682e-05/0.1212, allocations: 117.8 kB / 430 MB, free: 0.918 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001551/0.1214, allocations: 61.8 kB / 430 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.261e-05/0.1214, allocations: 15.94 kB / 430 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.1214, allocations: 0 / 430 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.1214, allocations: 0 / 430 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.1214, allocations: 0 / 430 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000112/0.1215, allocations: 165.9 kB / 430.2 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1215, allocations: 4 kB / 430.2 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.005e-05/0.1216, allocations: 12 kB / 430.2 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.1216, allocations: 3.938 kB / 430.2 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.1216, allocations: 0 / 430.2 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.548e-06/0.1216, allocations: 7.969 kB / 430.2 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1216, allocations: 3.938 kB / 430.2 MB, free: 0.582 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001886/0.1218, allocations: 93.05 kB / 430.3 MB, free: 484 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.548e-05/0.1218, allocations: 77.11 kB / 430.4 MB, free: 388 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.72e-05/0.1218, allocations: 7.938 kB / 430.4 MB, free: 380 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.693e-05/0.1219, allocations: 11.98 kB / 430.4 MB, free: 368 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.555e-06/0.1219, allocations: 0 / 430.4 MB, free: 368 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.418e-06/0.1219, allocations: 0 / 430.4 MB, free: 368 kB / 350.1 MB Notification: Performance of sorting global known variables: time 5.048e-05/0.1219, allocations: 79.28 kB / 430.5 MB, free: 288 kB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1219, allocations: 4 kB / 430.5 MB, free: 284 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001864/0.1221, allocations: 8 kB / 430.5 MB, free: 276 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.0006136/0.1227, allocations: 0.6514 MB / 431.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001391/0.1229, allocations: 23.98 kB / 431.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.1229, allocations: 0 / 431.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.21e-07/0.1229, allocations: 0 / 431.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000273/0.1231, allocations: 31.91 kB / 431.2 MB, free: 15.54 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001059/0.1242, allocations: 1.184 MB / 432.4 MB, free: 14.25 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002893/0.1245, allocations: 0.6845 MB / 433.1 MB, free: 13.54 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.18e-05/0.1245, allocations: 0 / 433.1 MB, free: 13.54 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.086e-05/0.1246, allocations: 15.44 kB / 433.1 MB, free: 13.53 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1246, allocations: 4 kB / 433.1 MB, free: 13.52 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02438/0.1489, allocations: 1.373 MB / 434.5 MB, free: 12.27 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.669/7.818, allocations: 18.39 kB / 434.5 MB, free: 12.25 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_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_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.559526145996642]