Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0018/0.0018, allocations: 122.5 kB / 18.51 MB, free: 4.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002182/0.002182, allocations: 215.2 kB / 21.46 MB, free: 1.59 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.463/1.463, allocations: 230.4 MB / 254.7 MB, free: 15.19 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002083/0.002083, allocations: 75.83 kB / 374.1 MB, free: 9.781 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1088, allocations: 53.31 MB / 427.4 MB, free: 4.375 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep): time 0.002726/0.1115, allocations: 1.438 MB / 428.8 MB, free: 2.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002058/0.1117, allocations: 39.84 kB / 428.8 MB, free: 2.891 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.285e-05/0.1118, allocations: 0 / 428.8 MB, free: 2.891 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.812e-05/0.1118, allocations: 3.938 kB / 428.8 MB, free: 2.887 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.028e-05/0.1119, allocations: 3.938 kB / 428.9 MB, free: 2.883 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002622/0.1121, allocations: 27.91 kB / 428.9 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.394e-05/0.1122, allocations: 23.98 kB / 428.9 MB, free: 2.832 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.853e-05/0.1123, allocations: 8 kB / 428.9 MB, free: 2.824 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.234e-05/0.1123, allocations: 15.92 kB / 428.9 MB, free: 2.809 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.38e-05/0.1124, allocations: 15.92 kB / 428.9 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.605e-05/0.1124, allocations: 0 / 428.9 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.144e-05/0.1124, allocations: 4 kB / 428.9 MB, free: 2.789 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.185e-05/0.1125, allocations: 7.984 kB / 429 MB, free: 2.781 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.878e-05/0.1125, allocations: 11.94 kB / 429 MB, free: 2.77 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001054/0.1126, allocations: 43.7 kB / 429 MB, free: 2.727 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.1126, allocations: 0 / 429 MB, free: 2.727 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1126, allocations: 0 / 429 MB, free: 2.727 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.618e-06/0.1126, allocations: 0 / 429 MB, free: 2.727 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.0004958/0.1131, allocations: 339.5 kB / 429.3 MB, free: 2.344 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.1131, allocations: 8.031 kB / 429.3 MB, free: 2.336 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.348e-05/0.1132, allocations: 12.89 kB / 429.4 MB, free: 2.324 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002291/0.1134, allocations: 180.3 kB / 429.5 MB, free: 2.109 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.843e-05/0.1134, allocations: 4.375 kB / 429.5 MB, free: 2.105 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.546e-05/0.1134, allocations: 4.375 kB / 429.5 MB, free: 2.102 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00037/0.1138, allocations: 115.8 kB / 429.7 MB, free: 1.977 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.1138, allocations: 4.125 kB / 429.7 MB, free: 1.973 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.512e-05/0.1138, allocations: 11.88 kB / 429.7 MB, free: 1.961 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.1138, allocations: 0 / 429.7 MB, free: 1.961 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000117/0.1139, allocations: 23.98 kB / 429.7 MB, free: 1.938 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001743/0.1141, allocations: 161.7 kB / 429.9 MB, free: 1.73 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001802/0.1143, allocations: 50.58 kB / 429.9 MB, free: 1.672 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.913e-05/0.1144, allocations: 20.89 kB / 429.9 MB, free: 1.648 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.136e-06/0.1144, allocations: 4 kB / 429.9 MB, free: 1.645 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.675e-05/0.1144, allocations: 34.56 kB / 430 MB, free: 1.602 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 2.825e-06/0.1144, allocations: 7.984 kB / 430 MB, free: 1.594 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003099/0.1147, allocations: 89.48 kB / 430.1 MB, free: 1.5 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.868e-05/0.1148, allocations: 55.34 kB / 430.1 MB, free: 1.434 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.239e-05/0.1149, allocations: 105.8 kB / 430.2 MB, free: 1.32 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.859e-05/0.1149, allocations: 25.7 kB / 430.2 MB, free: 1.289 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.184e-05/0.1149, allocations: 88.14 kB / 430.3 MB, free: 1.199 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.03e-05/0.1149, allocations: 0 / 430.3 MB, free: 1.199 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.302e-05/0.115, allocations: 21.7 kB / 430.3 MB, free: 1.172 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.1151, allocations: 314.8 kB / 430.7 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.616e-05/0.1151, allocations: 8 kB / 430.7 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.851e-05/0.1152, allocations: 35.36 kB / 430.7 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.732e-05/0.1152, allocations: 35.44 kB / 430.7 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1152, allocations: 0 / 430.7 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.627e-05/0.1153, allocations: 65.52 kB / 430.8 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/0.1153, allocations: 4 kB / 430.8 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.928e-06/0.1153, allocations: 7.938 kB / 430.8 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.1153, allocations: 0 / 430.8 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.899e-05/0.1154, allocations: 8 kB / 430.8 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.1154, allocations: 0 / 430.8 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.145e-05/0.1154, allocations: 8.5 kB / 430.8 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-06/0.1154, allocations: 4 kB / 430.8 MB, free: 0.6523 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.361e-05/0.1155, allocations: 113.8 kB / 430.9 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001562/0.1157, allocations: 73.56 kB / 431 MB, free: 464 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.823e-05/0.1157, allocations: 7.844 kB / 431 MB, free: 444 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.1157, allocations: 0 / 431 MB, free: 444 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.1157, allocations: 4 kB / 431 MB, free: 440 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.1157, allocations: 0 / 431 MB, free: 440 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001126/0.1158, allocations: 157.7 kB / 431.2 MB, free: 232 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.1158, allocations: 4 kB / 431.2 MB, free: 228 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.045e-05/0.1159, allocations: 11.94 kB / 431.2 MB, free: 216 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.1159, allocations: 0 / 431.2 MB, free: 216 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.1159, allocations: 7.938 kB / 431.2 MB, free: 208 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.1159, allocations: 7.938 kB / 431.2 MB, free: 200 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.1159, allocations: 3.984 kB / 431.2 MB, free: 196 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001837/0.1161, allocations: 89.05 kB / 431.3 MB, free: 88 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.977e-05/0.1162, allocations: 81.06 kB / 431.4 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.612e-05/0.1162, allocations: 7.938 kB / 431.4 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.471e-05/0.1162, allocations: 7.984 kB / 431.4 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.703e-06/0.1162, allocations: 0 / 431.4 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-06/0.1162, allocations: 4 kB / 431.4 MB, free: 15.97 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.933e-05/0.1163, allocations: 83.28 kB / 431.5 MB, free: 15.89 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1163, allocations: 0 / 431.5 MB, free: 15.89 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0001815/0.1165, allocations: 4 kB / 431.5 MB, free: 15.88 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.0001013/0.1166, allocations: 95.25 kB / 431.6 MB, free: 15.78 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000153/0.1167, allocations: 39.91 kB / 431.6 MB, free: 15.74 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1167, allocations: 0 / 431.6 MB, free: 15.74 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4e-07/0.1167, allocations: 0 / 431.6 MB, free: 15.74 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002847/0.117, allocations: 31.95 kB / 431.6 MB, free: 15.71 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003007/0.1173, allocations: 110 kB / 431.7 MB, free: 15.58 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004526/0.1178, allocations: 0.6846 MB / 432.4 MB, free: 14.87 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.246e-05/0.1178, allocations: 4.25 kB / 432.4 MB, free: 14.86 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.414e-05/0.1178, allocations: 11.44 kB / 432.4 MB, free: 14.85 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1178, allocations: 3.938 kB / 432.5 MB, free: 14.85 MB / 366.1 MB Notification: Performance of Templates: time 0.002818/0.1206, allocations: 437.5 kB / 432.9 MB, free: 14.43 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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-beta.om_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.215181023813784]