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.001694/0.001694, allocations: 115.1 kB / 18.46 MB, free: 4.609 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.001863/0.001863, allocations: 215.3 kB / 21.42 MB, free: 1.652 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.547/1.547, allocations: 230.6 MB / 254.8 MB, free: 15.24 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.001582/0.001582, allocations: 55.92 kB / 374.2 MB, free: 9.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.1061, allocations: 53.33 MB / 427.5 MB, free: 4.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep): time 0.00314/0.1093, allocations: 1.437 MB / 428.9 MB, free: 2.875 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002188/0.1095, allocations: 31.91 kB / 429 MB, free: 2.844 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.16e-05/0.1095, allocations: 0 / 429 MB, free: 2.844 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.792e-05/0.1096, allocations: 3.938 kB / 429 MB, free: 2.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.833e-05/0.1096, allocations: 11.86 kB / 429 MB, free: 2.828 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002632/0.1099, allocations: 23.97 kB / 429 MB, free: 2.805 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.772e-05/0.11, allocations: 23.94 kB / 429 MB, free: 2.781 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.1101, allocations: 11.98 kB / 429 MB, free: 2.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.073e-05/0.1101, allocations: 11.94 kB / 429 MB, free: 2.758 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.538e-05/0.1102, allocations: 11.92 kB / 429.1 MB, free: 2.746 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.823e-05/0.1102, allocations: 4 kB / 429.1 MB, free: 2.742 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.984e-06/0.1102, allocations: 4 kB / 429.1 MB, free: 2.738 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.453e-05/0.1102, allocations: 11.98 kB / 429.1 MB, free: 2.727 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.305e-05/0.1103, allocations: 11.92 kB / 429.1 MB, free: 2.715 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001035/0.1104, allocations: 35.78 kB / 429.1 MB, free: 2.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.1104, allocations: 0 / 429.1 MB, free: 2.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1104, allocations: 0 / 429.1 MB, free: 2.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.521e-06/0.1104, allocations: 0 / 429.1 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.00051/0.1109, allocations: 339.5 kB / 429.4 MB, free: 2.297 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.1109, allocations: 8.031 kB / 429.5 MB, free: 2.289 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.255e-05/0.111, allocations: 8.891 kB / 429.5 MB, free: 2.281 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002642/0.1112, allocations: 188.2 kB / 429.6 MB, free: 2.059 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.397e-05/0.1113, allocations: 4.375 kB / 429.7 MB, free: 2.055 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.958e-06/0.1113, allocations: 384 / 429.7 MB, free: 2.055 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003741/0.1116, allocations: 123.8 kB / 429.8 MB, free: 1.922 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.1116, allocations: 192 / 429.8 MB, free: 1.922 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.1117, allocations: 3.938 kB / 429.8 MB, free: 1.918 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.9e-06/0.1117, allocations: 4 kB / 429.8 MB, free: 1.914 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001377/0.1118, allocations: 27.97 kB / 429.8 MB, free: 1.887 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001643/0.112, allocations: 153.7 kB / 430 MB, free: 1.688 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001842/0.1121, allocations: 58.48 kB / 430 MB, free: 1.621 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.521e-05/0.1122, allocations: 24.92 kB / 430 MB, free: 1.594 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.278e-05/0.1123, allocations: 0 / 430 MB, free: 1.594 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.553e-05/0.1123, allocations: 42.55 kB / 430.1 MB, free: 1.543 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.1123, allocations: 0 / 430.1 MB, free: 1.543 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003131/0.1126, allocations: 85.55 kB / 430.2 MB, free: 1.453 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.215e-05/0.1127, allocations: 59.28 kB / 430.2 MB, free: 1.383 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.977e-05/0.1128, allocations: 105.8 kB / 430.3 MB, free: 1.27 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.701e-05/0.1128, allocations: 25.7 kB / 430.4 MB, free: 1.238 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.68e-05/0.1128, allocations: 92.08 kB / 430.4 MB, free: 1.145 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.429e-05/0.1129, allocations: 0 / 430.4 MB, free: 1.145 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.869e-05/0.1129, allocations: 21.72 kB / 430.5 MB, free: 1.117 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.113, allocations: 314.8 kB / 430.8 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.878e-05/0.1131, allocations: 8 kB / 430.8 MB, free: 0.793 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.218e-05/0.1131, allocations: 23.44 kB / 430.8 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.263e-05/0.1132, allocations: 39.38 kB / 430.8 MB, free: 0.707 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.1132, allocations: 0 / 430.8 MB, free: 0.707 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.407e-05/0.1132, allocations: 65.58 kB / 430.9 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.1133, allocations: 8 kB / 430.9 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.1133, allocations: 3.938 kB / 430.9 MB, free: 0.625 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.1133, allocations: 384 / 430.9 MB, free: 0.625 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.591e-05/0.1134, allocations: 15.92 kB / 430.9 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.1134, allocations: 128 / 430.9 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.389e-05/0.1134, allocations: 12 kB / 430.9 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.797e-06/0.1134, allocations: 0 / 430.9 MB, free: 0.5977 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 8.789e-05/0.1135, allocations: 113.8 kB / 431.1 MB, free: 488 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000169/0.1136, allocations: 69.62 kB / 431.1 MB, free: 412 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.071e-05/0.1137, allocations: 7.844 kB / 431.1 MB, free: 392 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.1137, allocations: 0 / 431.1 MB, free: 392 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.1137, allocations: 0 / 431.1 MB, free: 392 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.1137, allocations: 3.984 kB / 431.1 MB, free: 388 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001247/0.1138, allocations: 157.7 kB / 431.3 MB, free: 180 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1138, allocations: 0 / 431.3 MB, free: 180 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.676e-05/0.1139, allocations: 15.92 kB / 431.3 MB, free: 164 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.1139, allocations: 240 / 431.3 MB, free: 164 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.1139, allocations: 7.938 kB / 431.3 MB, free: 156 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.1139, allocations: 3.938 kB / 431.3 MB, free: 152 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1139, allocations: 0 / 431.3 MB, free: 152 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00019/0.1141, allocations: 89.09 kB / 431.4 MB, free: 44 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.695e-05/0.1142, allocations: 89.05 kB / 431.5 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.828e-05/0.1142, allocations: 11.94 kB / 431.5 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.177e-05/0.1142, allocations: 0 / 431.5 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.464e-06/0.1142, allocations: 0 / 431.5 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.154e-06/0.1142, allocations: 4 kB / 431.5 MB, free: 15.92 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.444e-05/0.1143, allocations: 87.27 kB / 431.6 MB, free: 15.84 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1143, allocations: 0 / 431.6 MB, free: 15.84 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000188/0.1145, allocations: 4 kB / 431.6 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.0001136/0.1146, allocations: 99.19 kB / 431.7 MB, free: 15.73 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001426/0.1147, allocations: 35.92 kB / 431.7 MB, free: 15.69 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1147, allocations: 0 / 431.7 MB, free: 15.69 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.11e-07/0.1147, allocations: 0 / 431.7 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.0002669/0.115, allocations: 27.95 kB / 431.8 MB, free: 15.66 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003485/0.1153, allocations: 147.2 kB / 431.9 MB, free: 15.49 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003254/0.1157, allocations: 0.6807 MB / 432.6 MB, free: 14.78 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.672e-05/0.1157, allocations: 7.688 kB / 432.6 MB, free: 14.77 MB / 366.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1157, allocations: 4 kB / 432.6 MB, free: 14.77 MB / 366.1 MB Notification: Performance of Templates: time 0.002205/0.1179, allocations: 0.6299 MB / 433.2 MB, free: 14.14 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins1/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: 6.63766551099252]