Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.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.001743/0.001743, allocations: 116.9 kB / 18.41 MB, free: 4.531 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.002016/0.002017, allocations: 190.9 kB / 21.34 MB, free: 1.602 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.497/1.497, allocations: 222.9 MB / 247 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.IntegerSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00161/0.00161, allocations: 47.92 kB / 358.7 MB, free: 8.324 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.109, allocations: 49.44 MB / 408.1 MB, free: 6.84 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.002694/0.1117, allocations: 1.426 MB / 409.5 MB, free: 5.406 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003145/0.1121, allocations: 103.6 kB / 409.6 MB, free: 5.305 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.51e-05/0.1121, allocations: 0 / 409.6 MB, free: 5.305 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.311e-05/0.1122, allocations: 3.938 kB / 409.6 MB, free: 5.301 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.869e-05/0.1122, allocations: 3.938 kB / 409.6 MB, free: 5.297 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002796/0.1125, allocations: 27.89 kB / 409.7 MB, free: 5.27 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.112e-05/0.1126, allocations: 31.86 kB / 409.7 MB, free: 5.238 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.1127, allocations: 12 kB / 409.7 MB, free: 5.227 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.72e-05/0.1128, allocations: 11.92 kB / 409.7 MB, free: 5.215 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.784e-05/0.1128, allocations: 11.94 kB / 409.7 MB, free: 5.203 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.261e-05/0.1128, allocations: 0 / 409.7 MB, free: 5.203 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.236e-05/0.1129, allocations: 4 kB / 409.7 MB, free: 5.199 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.035e-05/0.1129, allocations: 7.984 kB / 409.7 MB, free: 5.191 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.177e-05/0.1129, allocations: 7.938 kB / 409.7 MB, free: 5.184 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001027/0.113, allocations: 39.77 kB / 409.8 MB, free: 5.145 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.113, allocations: 0 / 409.8 MB, free: 5.145 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.113, allocations: 0 / 409.8 MB, free: 5.145 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.283e-05/0.1131, allocations: 0 / 409.8 MB, free: 5.145 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.000489/0.1136, allocations: 347.3 kB / 410.1 MB, free: 4.754 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/0.1136, allocations: 15.89 kB / 410.1 MB, free: 4.738 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.365e-05/0.1137, allocations: 4.922 kB / 410.1 MB, free: 4.734 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002508/0.1139, allocations: 176.3 kB / 410.3 MB, free: 4.523 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.1139, allocations: 4.375 kB / 410.3 MB, free: 4.52 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.436e-06/0.1139, allocations: 384 / 410.3 MB, free: 4.52 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003069/0.1143, allocations: 111.9 kB / 410.4 MB, free: 4.398 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-06/0.1143, allocations: 192 / 410.4 MB, free: 4.398 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.1143, allocations: 3.938 kB / 410.4 MB, free: 4.395 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.1143, allocations: 4 kB / 410.4 MB, free: 4.391 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.416e-05/0.1144, allocations: 15.98 kB / 410.4 MB, free: 4.375 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001593/0.1146, allocations: 157.7 kB / 410.6 MB, free: 4.172 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001607/0.1147, allocations: 58.5 kB / 410.7 MB, free: 4.105 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.483e-05/0.1148, allocations: 24.92 kB / 410.7 MB, free: 4.078 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.878e-05/0.1148, allocations: 0 / 410.7 MB, free: 4.078 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.871e-05/0.1149, allocations: 38.48 kB / 410.7 MB, free: 4.031 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.1149, allocations: 0 / 410.7 MB, free: 4.031 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002306/0.1151, allocations: 81.5 kB / 410.8 MB, free: 3.945 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.033e-05/0.1152, allocations: 55.41 kB / 410.9 MB, free: 3.879 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.563e-05/0.1153, allocations: 105.8 kB / 411 MB, free: 3.766 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.465e-05/0.1153, allocations: 29.7 kB / 411 MB, free: 3.73 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.863e-05/0.1153, allocations: 88.12 kB / 411.1 MB, free: 3.641 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.202e-06/0.1153, allocations: 0 / 411.1 MB, free: 3.641 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.774e-05/0.1154, allocations: 17.72 kB / 411.1 MB, free: 3.617 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.1155, allocations: 314.8 kB / 411.4 MB, free: 3.301 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.505e-05/0.1156, allocations: 12 kB / 411.4 MB, free: 3.289 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.023e-05/0.1156, allocations: 23.44 kB / 411.4 MB, free: 3.254 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.699e-05/0.1156, allocations: 35.38 kB / 411.5 MB, free: 3.207 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.1156, allocations: 4 kB / 411.5 MB, free: 3.203 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.25e-05/0.1157, allocations: 53.91 kB / 411.5 MB, free: 3.145 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.1158, allocations: 4 kB / 411.5 MB, free: 3.141 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.1158, allocations: 3.938 kB / 411.5 MB, free: 3.137 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.1158, allocations: 11.88 kB / 411.5 MB, free: 3.125 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.966e-05/0.1158, allocations: 4 kB / 411.5 MB, free: 3.121 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.1159, allocations: 3.984 kB / 411.5 MB, free: 3.117 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.376e-05/0.1159, allocations: 11.92 kB / 411.6 MB, free: 3.105 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.687e-06/0.1159, allocations: 4.125 kB / 411.6 MB, free: 3.102 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: 3 (assignClock1.y,assignClock1.u,step.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 8.712e-05/0.116, allocations: 113.8 kB / 411.7 MB, free: 2.98 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001216/0.1161, allocations: 61.64 kB / 411.7 MB, free: 2.914 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.058e-05/0.1162, allocations: 7.844 kB / 411.7 MB, free: 2.898 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.1162, allocations: 7.922 kB / 411.8 MB, free: 2.891 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.1162, allocations: 0 / 411.8 MB, free: 2.891 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.1162, allocations: 0 / 411.8 MB, free: 2.891 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001085/0.1163, allocations: 153.7 kB / 411.9 MB, free: 2.691 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.1163, allocations: 0 / 411.9 MB, free: 2.691 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.04e-05/0.1164, allocations: 12 kB / 411.9 MB, free: 2.68 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.349e-06/0.1164, allocations: 4.234 kB / 411.9 MB, free: 2.676 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.1164, allocations: 3.938 kB / 411.9 MB, free: 2.672 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.1164, allocations: 4 kB / 411.9 MB, free: 2.668 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1164, allocations: 0 / 411.9 MB, free: 2.668 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000145/0.1166, allocations: 81.11 kB / 412 MB, free: 2.57 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.443e-05/0.1166, allocations: 85.06 kB / 412.1 MB, free: 2.469 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.413e-05/0.1166, allocations: 7.938 kB / 412.1 MB, free: 2.461 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.676e-05/0.1167, allocations: 8 kB / 412.1 MB, free: 2.453 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.374e-06/0.1167, allocations: 4 kB / 412.1 MB, free: 2.449 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.496e-06/0.1167, allocations: 0 / 412.1 MB, free: 2.449 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.701e-05/0.1167, allocations: 83.27 kB / 412.2 MB, free: 2.367 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1168, allocations: 7.875 kB / 412.2 MB, free: 2.359 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001871/0.1169, allocations: 8 kB / 412.2 MB, free: 2.352 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: 3 (step.y,assignClock1.u,assignClock1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * 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.0001143/0.1171, allocations: 99.19 kB / 412.3 MB, free: 2.246 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001175/0.1172, allocations: 27.98 kB / 412.3 MB, free: 2.219 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1172, allocations: 0 / 412.3 MB, free: 2.219 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.713e-06/0.1172, allocations: 0 / 412.3 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.0002176/0.1174, allocations: 27.91 kB / 412.4 MB, free: 2.191 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00028/0.1177, allocations: 127.3 kB / 412.5 MB, free: 2.035 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003171/0.1181, allocations: 0.6883 MB / 413.2 MB, free: 1.32 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.845e-05/0.1181, allocations: 7.688 kB / 413.2 MB, free: 1.312 MB / 334.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1181, allocations: 11.94 kB / 413.2 MB, free: 1.301 MB / 334.1 MB Notification: Performance of Templates: time 0.001992/0.1201, allocations: 0.5546 MB / 413.7 MB, free: 0.7461 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.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.6705730489920825]