Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.001521/0.001521, 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 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.001696/0.001696, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.703/1.703, allocations: 230.6 MB / 254.1 MB, free: 15.11 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: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001668/0.001668, allocations: 47.94 kB / 373.5 MB, free: 9.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1209, allocations: 53.33 MB / 426.8 MB, free: 4.328 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep): time 0.002954/0.1239, allocations: 1.435 MB / 428.2 MB, free: 2.883 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002137/0.1241, allocations: 39.84 kB / 428.3 MB, free: 2.844 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.493e-05/0.1242, allocations: 3.938 kB / 428.3 MB, free: 2.84 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.703e-05/0.1242, allocations: 3.938 kB / 428.3 MB, free: 2.836 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.945e-05/0.1242, allocations: 4 kB / 428.3 MB, free: 2.832 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002416/0.1245, allocations: 19.91 kB / 428.3 MB, free: 2.812 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001317/0.1246, allocations: 27.98 kB / 428.3 MB, free: 2.785 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001233/0.1247, allocations: 4 kB / 428.3 MB, free: 2.781 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.603e-05/0.1248, allocations: 23.84 kB / 428.4 MB, free: 2.758 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.514e-05/0.1249, allocations: 11.94 kB / 428.4 MB, free: 2.746 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.636e-05/0.1249, allocations: 4 kB / 428.4 MB, free: 2.742 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.003e-05/0.1249, allocations: 4 kB / 428.4 MB, free: 2.738 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.343e-05/0.1249, allocations: 11.98 kB / 428.4 MB, free: 2.727 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.203e-05/0.125, allocations: 11.88 kB / 428.4 MB, free: 2.715 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001124/0.1251, allocations: 31.83 kB / 428.4 MB, free: 2.684 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.1251, allocations: 3.984 kB / 428.4 MB, free: 2.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1251, allocations: 0 / 428.4 MB, free: 2.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.531e-06/0.1251, allocations: 0 / 428.4 MB, free: 2.68 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.0005562/0.1256, allocations: 339.5 kB / 428.8 MB, free: 2.297 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/0.1257, allocations: 16.02 kB / 428.8 MB, free: 2.281 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.826e-05/0.1257, allocations: 4.891 kB / 428.8 MB, free: 2.277 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002971/0.126, allocations: 180.3 kB / 429 MB, free: 2.062 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.152e-05/0.126, allocations: 4.375 kB / 429 MB, free: 2.059 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.694e-05/0.1261, allocations: 384 / 429 MB, free: 2.059 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004037/0.1265, allocations: 127.8 kB / 429.1 MB, free: 1.922 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.1265, allocations: 192 / 429.1 MB, free: 1.922 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.507e-05/0.1265, allocations: 3.938 kB / 429.1 MB, free: 1.918 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.071e-05/0.1265, allocations: 11.98 kB / 429.1 MB, free: 1.906 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001279/0.1266, allocations: 23.92 kB / 429.1 MB, free: 1.883 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002042/0.1268, allocations: 157.7 kB / 429.3 MB, free: 1.68 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001941/0.127, allocations: 54.55 kB / 429.3 MB, free: 1.617 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.879e-05/0.1271, allocations: 24.92 kB / 429.4 MB, free: 1.59 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.368e-05/0.1271, allocations: 0 / 429.4 MB, free: 1.59 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.032e-05/0.1272, allocations: 38.5 kB / 429.4 MB, free: 1.543 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.1272, allocations: 3.938 kB / 429.4 MB, free: 1.539 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003171/0.1275, allocations: 85.55 kB / 429.5 MB, free: 1.449 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.297e-05/0.1275, allocations: 55.41 kB / 429.5 MB, free: 1.383 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/0.1276, allocations: 105.8 kB / 429.6 MB, free: 1.27 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.305e-05/0.1277, allocations: 29.7 kB / 429.7 MB, free: 1.234 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.452e-05/0.1277, allocations: 80.14 kB / 429.7 MB, free: 1.152 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.212e-05/0.1277, allocations: 0 / 429.7 MB, free: 1.152 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.444e-05/0.1278, allocations: 25.7 kB / 429.8 MB, free: 1.121 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001588/0.1279, allocations: 318.8 kB / 430.1 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.323e-05/0.1279, allocations: 0 / 430.1 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.79e-05/0.128, allocations: 39.36 kB / 430.1 MB, free: 0.75 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.961e-05/0.128, allocations: 39.38 kB / 430.2 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.128, allocations: 0 / 430.2 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.66e-05/0.1281, allocations: 61.58 kB / 430.2 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.1282, allocations: 10.19 kB / 430.2 MB, free: 0.625 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.1282, allocations: 3.938 kB / 430.2 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.1282, allocations: 0 / 430.2 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.988e-05/0.1283, allocations: 8 kB / 430.2 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.1283, allocations: 4.125 kB / 430.2 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.077e-05/0.1283, allocations: 4.375 kB / 430.2 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-06/0.1283, allocations: 0 / 430.2 MB, free: 0.6055 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: 5 ($CLKPRE.step.counter,step.counter,step.y,assignClock1.y,assignClock1.u) * 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.0001074/0.1284, allocations: 117.8 kB / 430.4 MB, free: 492 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001703/0.1286, allocations: 69.61 kB / 430.4 MB, free: 416 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.527e-05/0.1286, allocations: 11.84 kB / 430.4 MB, free: 392 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.1286, allocations: 4 kB / 430.4 MB, free: 388 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.1286, allocations: 0 / 430.4 MB, free: 388 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.1286, allocations: 0 / 430.4 MB, free: 388 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001378/0.1288, allocations: 161.7 kB / 430.6 MB, free: 176 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1288, allocations: 4.234 kB / 430.6 MB, free: 172 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.258e-05/0.1288, allocations: 4 kB / 430.6 MB, free: 168 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.1288, allocations: 7.938 kB / 430.6 MB, free: 160 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.1288, allocations: 3.938 kB / 430.6 MB, free: 156 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1288, allocations: 3.938 kB / 430.6 MB, free: 152 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.1288, allocations: 3.984 kB / 430.6 MB, free: 148 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002138/0.129, allocations: 93.03 kB / 430.7 MB, free: 36 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.727e-05/0.1291, allocations: 85.06 kB / 430.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.922e-05/0.1291, allocations: 7.938 kB / 430.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.629e-05/0.1292, allocations: 3.984 kB / 430.8 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.655e-06/0.1292, allocations: 4 kB / 430.8 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-06/0.1292, allocations: 0 / 430.8 MB, free: 15.92 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.835e-05/0.1292, allocations: 83.28 kB / 430.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1292, allocations: 0 / 430.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002022/0.1294, allocations: 4 kB / 430.9 MB, free: 15.83 MB / 366.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: 4 (assignClock1.u,assignClock1.y,step.y,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.0001244/0.1296, allocations: 99.78 kB / 431 MB, free: 15.73 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002073/0.1298, allocations: 39.91 kB / 431 MB, free: 15.69 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1298, allocations: 0 / 431 MB, free: 15.69 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.41e-07/0.1298, allocations: 0 / 431 MB, free: 15.69 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002878/0.1301, allocations: 24.02 kB / 431.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003274/0.1304, allocations: 125.5 kB / 431.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003665/0.1308, allocations: 0.6807 MB / 431.9 MB, free: 14.81 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.869e-05/0.1308, allocations: 8.234 kB / 431.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.719e-05/0.1308, allocations: 7.438 kB / 431.9 MB, free: 14.79 MB / 366.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1308, allocations: 4 kB / 431.9 MB, free: 14.79 MB / 366.1 MB Notification: Performance of Templates: time 0.003139/0.1339, allocations: 427.9 kB / 432.3 MB, free: 14.38 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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: 4.995977912098169]