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.001351/0.001351, allocations: 116 kB / 18.45 MB, free: 4.605 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.001495/0.001495, allocations: 208.3 kB / 21.41 MB, free: 1.648 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.658/1.658, allocations: 230.6 MB / 254.8 MB, free: 15.1 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.RealSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00156/0.00156, allocations: 47.92 kB / 374.2 MB, free: 9.695 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1218, allocations: 53.33 MB / 427.5 MB, free: 4.277 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.003427/0.1252, allocations: 1.474 MB / 429 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002554/0.1255, allocations: 31.91 kB / 429 MB, free: 2.762 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.28e-05/0.1255, allocations: 3.938 kB / 429 MB, free: 2.758 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.819e-05/0.1256, allocations: 0 / 429 MB, free: 2.758 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.771e-05/0.1256, allocations: 3.938 kB / 429 MB, free: 2.754 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002685/0.1259, allocations: 35.91 kB / 429 MB, free: 2.719 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001113/0.126, allocations: 23.98 kB / 429.1 MB, free: 2.695 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.1261, allocations: 8 kB / 429.1 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.547e-05/0.1262, allocations: 11.92 kB / 429.1 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.033e-05/0.1262, allocations: 15.92 kB / 429.1 MB, free: 2.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.304e-05/0.1262, allocations: 0 / 429.1 MB, free: 2.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.119e-05/0.1262, allocations: 4 kB / 429.1 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.248e-05/0.1263, allocations: 7.984 kB / 429.1 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.389e-05/0.1263, allocations: 15.88 kB / 429.1 MB, free: 2.633 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001159/0.1264, allocations: 35.78 kB / 429.2 MB, free: 2.598 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.1264, allocations: 0 / 429.2 MB, free: 2.598 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1264, allocations: 4 kB / 429.2 MB, free: 2.594 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.997e-06/0.1264, allocations: 3.984 kB / 429.2 MB, free: 2.59 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.0005292/0.127, allocations: 339.5 kB / 429.5 MB, free: 2.207 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.127, allocations: 8.031 kB / 429.5 MB, free: 2.199 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.931e-05/0.1271, allocations: 12.88 kB / 429.5 MB, free: 2.188 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000302/0.1274, allocations: 176.3 kB / 429.7 MB, free: 1.977 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.129e-05/0.1274, allocations: 4.375 kB / 429.7 MB, free: 1.973 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.522e-05/0.1274, allocations: 384 / 429.7 MB, free: 1.973 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004014/0.1278, allocations: 119.9 kB / 429.8 MB, free: 1.844 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.1278, allocations: 4.125 kB / 429.8 MB, free: 1.84 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.1278, allocations: 3.938 kB / 429.8 MB, free: 1.836 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.1278, allocations: 3.984 kB / 429.8 MB, free: 1.832 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001281/0.128, allocations: 27.97 kB / 429.9 MB, free: 1.805 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001954/0.1282, allocations: 157.7 kB / 430 MB, free: 1.602 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001799/0.1283, allocations: 54.58 kB / 430.1 MB, free: 1.539 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.338e-05/0.1284, allocations: 28.83 kB / 430.1 MB, free: 1.508 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.278e-06/0.1284, allocations: 4 kB / 430.1 MB, free: 1.504 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.626e-05/0.1285, allocations: 30.56 kB / 430.1 MB, free: 1.465 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.051e-06/0.1285, allocations: 3.938 kB / 430.1 MB, free: 1.461 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003184/0.1288, allocations: 85.55 kB / 430.2 MB, free: 1.371 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.391e-05/0.1288, allocations: 59.41 kB / 430.3 MB, free: 1.301 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001009/0.1289, allocations: 105.8 kB / 430.4 MB, free: 1.188 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.039e-05/0.129, allocations: 25.7 kB / 430.4 MB, free: 1.156 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.566e-05/0.129, allocations: 84.08 kB / 430.5 MB, free: 1.07 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.669e-05/0.129, allocations: 8 kB / 430.5 MB, free: 1.062 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.291e-05/0.1291, allocations: 13.72 kB / 430.5 MB, free: 1.043 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.1292, allocations: 318.8 kB / 430.8 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.739e-05/0.1293, allocations: 4 kB / 430.8 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.336e-05/0.1293, allocations: 35.38 kB / 430.8 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.282e-05/0.1294, allocations: 35.42 kB / 430.9 MB, free: 0.625 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.1294, allocations: 0 / 430.9 MB, free: 0.625 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001094/0.1295, allocations: 73.52 kB / 431 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.1295, allocations: 4 kB / 431 MB, free: 0.543 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.1295, allocations: 3.938 kB / 431 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.966e-05/0.1295, allocations: 4 kB / 431 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.106e-05/0.1296, allocations: 8 kB / 431 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.1296, allocations: 0 / 431 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.086e-05/0.1296, allocations: 0 / 431 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.824e-06/0.1296, allocations: 4 kB / 431 MB, free: 0.5234 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.955e-05/0.1297, allocations: 122.3 kB / 431.1 MB, free: 404 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001602/0.1299, allocations: 57.67 kB / 431.2 MB, free: 340 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.635e-05/0.1299, allocations: 15.83 kB / 431.2 MB, free: 312 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.1299, allocations: 8 kB / 431.2 MB, free: 304 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.1299, allocations: 0 / 431.2 MB, free: 304 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.1299, allocations: 0 / 431.2 MB, free: 304 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001293/0.1301, allocations: 161.6 kB / 431.3 MB, free: 92 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1301, allocations: 0 / 431.3 MB, free: 92 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.439e-05/0.1301, allocations: 11.98 kB / 431.3 MB, free: 80 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.1301, allocations: 0 / 431.3 MB, free: 80 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.1301, allocations: 3.938 kB / 431.3 MB, free: 76 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1301, allocations: 4 kB / 431.4 MB, free: 72 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.1301, allocations: 0 / 431.4 MB, free: 72 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002219/0.1304, allocations: 93.27 kB / 431.4 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.445e-05/0.1304, allocations: 85.14 kB / 431.5 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.684e-05/0.1304, allocations: 3.938 kB / 431.5 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.48e-05/0.1305, allocations: 4 kB / 431.5 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.516e-06/0.1305, allocations: 0 / 431.5 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.803e-06/0.1305, allocations: 4 kB / 431.5 MB, free: 15.85 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.818e-05/0.1305, allocations: 87.27 kB / 431.6 MB, free: 15.76 MB / 366.1 MB Notification: Performance of sort global known variables: time 5e-08/0.1305, allocations: 0 / 431.6 MB, free: 15.76 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0001955/0.1307, allocations: 8 kB / 431.6 MB, free: 15.75 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: 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.000129/0.1308, allocations: 102.2 kB / 431.7 MB, free: 15.65 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001558/0.131, allocations: 31.91 kB / 431.8 MB, free: 15.62 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.131, allocations: 0 / 431.8 MB, free: 15.62 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.002e-06/0.131, allocations: 0 / 431.8 MB, free: 15.62 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002915/0.1313, allocations: 32.17 kB / 431.8 MB, free: 15.59 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003766/0.1317, allocations: 143.3 kB / 431.9 MB, free: 15.41 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002946/0.132, allocations: 0.6807 MB / 432.6 MB, free: 14.71 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.008e-05/0.132, allocations: 11.44 kB / 432.6 MB, free: 14.7 MB / 366.1 MB Notification: Performance of SimCode: time 4.61e-07/0.132, allocations: 3.938 kB / 432.6 MB, free: 14.69 MB / 366.1 MB Notification: Performance of Templates: time 0.002349/0.1343, allocations: 0.6312 MB / 433.3 MB, free: 14.06 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.makefile [Timeout 660] (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 & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep_res.mat","/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] Reference file matches [Calling sys.exit(0), Time elapsed: 7.053570933989249]