Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.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.001599/0.001599, allocations: 117 kB / 18.41 MB, free: 4.664 MB / 14.72 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.001774/0.001774, allocations: 190.9 kB / 21.35 MB, free: 1.734 MB / 14.72 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 1.522/1.522, allocations: 222.9 MB / 247.1 MB, free: 4.211 MB / 190.1 MB " [Timeout remaining time 178] 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: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001643/0.001643, allocations: 44.06 kB / 358.7 MB, free: 8.359 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1292, allocations: 49.43 MB / 408.1 MB, free: 6.879 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.003407/0.1326, allocations: 1.458 MB / 409.6 MB, free: 5.414 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002198/0.1329, allocations: 27.84 kB / 409.6 MB, free: 5.387 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.391e-05/0.133, allocations: 0 / 409.6 MB, free: 5.387 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000115/0.1331, allocations: 7.938 kB / 409.6 MB, free: 5.379 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.77e-05/0.1332, allocations: 0 / 409.6 MB, free: 5.379 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002795/0.1335, allocations: 27.86 kB / 409.6 MB, free: 5.352 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001017/0.1336, allocations: 27.91 kB / 409.7 MB, free: 5.324 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.1337, allocations: 15.98 kB / 409.7 MB, free: 5.309 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.387e-05/0.1337, allocations: 8 kB / 409.7 MB, free: 5.301 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.351e-05/0.1338, allocations: 15.92 kB / 409.7 MB, free: 5.285 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.775e-05/0.1338, allocations: 4 kB / 409.7 MB, free: 5.281 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.276e-05/0.1338, allocations: 4 kB / 409.7 MB, free: 5.277 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.72e-05/0.1339, allocations: 3.938 kB / 409.7 MB, free: 5.273 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.921e-05/0.1339, allocations: 23.86 kB / 409.7 MB, free: 5.25 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001268/0.1341, allocations: 31.83 kB / 409.8 MB, free: 5.219 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.1341, allocations: 0 / 409.8 MB, free: 5.219 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1341, allocations: 0 / 409.8 MB, free: 5.219 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.344e-06/0.1341, allocations: 0 / 409.8 MB, free: 5.219 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005791/0.1347, allocations: 355.3 kB / 410.1 MB, free: 4.82 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/0.1347, allocations: 8.031 kB / 410.1 MB, free: 4.812 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.756e-05/0.1348, allocations: 4.938 kB / 410.1 MB, free: 4.809 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003166/0.1351, allocations: 176.3 kB / 410.3 MB, free: 4.598 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.193e-05/0.1351, allocations: 4.375 kB / 410.3 MB, free: 4.594 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.77e-05/0.1352, allocations: 4.375 kB / 410.3 MB, free: 4.59 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004123/0.1356, allocations: 127.8 kB / 410.4 MB, free: 4.453 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.1356, allocations: 4.125 kB / 410.4 MB, free: 4.449 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.1356, allocations: 3.938 kB / 410.4 MB, free: 4.445 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.1356, allocations: 0 / 410.4 MB, free: 4.445 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001341/0.1358, allocations: 27.97 kB / 410.5 MB, free: 4.418 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001826/0.136, allocations: 153.7 kB / 410.6 MB, free: 4.219 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001854/0.1361, allocations: 58.56 kB / 410.7 MB, free: 4.152 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.478e-05/0.1362, allocations: 24.89 kB / 410.7 MB, free: 4.125 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.798e-06/0.1363, allocations: 4 kB / 410.7 MB, free: 4.121 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.374e-05/0.1363, allocations: 38.48 kB / 410.7 MB, free: 4.074 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.563e-06/0.1363, allocations: 0 / 410.7 MB, free: 4.074 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003401/0.1367, allocations: 85.55 kB / 410.8 MB, free: 3.984 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.318e-05/0.1368, allocations: 55.41 kB / 410.9 MB, free: 3.918 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.88e-05/0.1369, allocations: 101.9 kB / 411 MB, free: 3.809 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.255e-05/0.1369, allocations: 33.7 kB / 411 MB, free: 3.77 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.556e-05/0.137, allocations: 92.06 kB / 411.1 MB, free: 3.676 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.493e-05/0.137, allocations: 0 / 411.1 MB, free: 3.676 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.741e-05/0.137, allocations: 17.72 kB / 411.1 MB, free: 3.652 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.1372, allocations: 314.8 kB / 411.4 MB, free: 3.336 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.175e-05/0.1372, allocations: 7.984 kB / 411.4 MB, free: 3.328 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.901e-05/0.1373, allocations: 31.38 kB / 411.5 MB, free: 3.285 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.869e-05/0.1373, allocations: 35.44 kB / 411.5 MB, free: 3.238 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.1373, allocations: 3.938 kB / 411.5 MB, free: 3.234 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001024/0.1374, allocations: 61.56 kB / 411.6 MB, free: 3.168 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.1375, allocations: 9.875 kB / 411.6 MB, free: 3.16 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/0.1375, allocations: 7.922 kB / 411.6 MB, free: 3.152 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/0.1375, allocations: 4.125 kB / 411.6 MB, free: 3.148 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.642e-05/0.1376, allocations: 8 kB / 411.6 MB, free: 3.141 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.1376, allocations: 3.984 kB / 411.6 MB, free: 3.137 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.812e-05/0.1376, allocations: 11.95 kB / 411.6 MB, free: 3.125 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.107e-06/0.1376, allocations: 0 / 411.6 MB, free: 3.125 MB / 334.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 0.0001275/0.1378, allocations: 113.8 kB / 411.7 MB, free: 3.004 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001694/0.138, allocations: 65.67 kB / 411.8 MB, free: 2.934 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.232e-05/0.138, allocations: 7.844 kB / 411.8 MB, free: 2.918 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.138, allocations: 0 / 411.8 MB, free: 2.918 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.138, allocations: 4 kB / 411.8 MB, free: 2.914 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.138, allocations: 0 / 411.8 MB, free: 2.914 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001403/0.1382, allocations: 161.7 kB / 411.9 MB, free: 2.707 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1382, allocations: 0 / 411.9 MB, free: 2.707 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.955e-05/0.1382, allocations: 8 kB / 411.9 MB, free: 2.699 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.541e-06/0.1383, allocations: 3.984 kB / 412 MB, free: 2.695 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.1383, allocations: 3.938 kB / 412 MB, free: 2.691 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.1383, allocations: 4 kB / 412 MB, free: 2.688 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1383, allocations: 0 / 412 MB, free: 2.688 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002059/0.1385, allocations: 97 kB / 412.1 MB, free: 2.574 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.062e-05/0.1386, allocations: 77.11 kB / 412.1 MB, free: 2.48 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.897e-05/0.1386, allocations: 4.312 kB / 412.1 MB, free: 2.477 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.346e-05/0.1386, allocations: 7.984 kB / 412.1 MB, free: 2.469 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.667e-06/0.1386, allocations: 288 / 412.1 MB, free: 2.469 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.046e-05/0.1387, allocations: 8 kB / 412.2 MB, free: 2.461 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.454e-05/0.1387, allocations: 83.28 kB / 412.2 MB, free: 2.379 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1387, allocations: 0 / 412.2 MB, free: 2.379 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001967/0.1389, allocations: 4 kB / 412.2 MB, free: 2.375 MB / 334.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.0001456/0.1391, allocations: 111.7 kB / 412.3 MB, free: 2.258 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001574/0.1392, allocations: 39.86 kB / 412.4 MB, free: 2.219 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.1392, allocations: 0 / 412.4 MB, free: 2.219 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.91e-07/0.1393, allocations: 0 / 412.4 MB, free: 2.219 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002951/0.1396, allocations: 31.94 kB / 412.4 MB, free: 2.188 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003743/0.1399, allocations: 141.8 kB / 412.6 MB, free: 2.02 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000406/0.1404, allocations: 0.6886 MB / 413.2 MB, free: 1.305 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.632e-05/0.1404, allocations: 19.38 kB / 413.3 MB, free: 1.285 MB / 334.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1404, allocations: 0 / 413.3 MB, free: 1.285 MB / 334.1 MB Notification: Performance of Templates: time 0.00264/0.1431, allocations: 0.6094 MB / 413.9 MB, free: 0.6719 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.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: 6.88274214300327]