Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.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.001865/0.001865, allocations: 85.36 kB / 20.68 MB, free: 1.035 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.001599/0.001599, allocations: 163.5 kB / 23.95 MB, free: 4.168 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.412/1.412, allocations: 177.1 MB / 204.3 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2035/0.2035, allocations: 32.82 MB / 293.5 MB, free: 28 kB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38") translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 440.2 MB, free: 8.082 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.528e-05/2.689e-05, allocations: 6.281 kB / 440.2 MB, free: 8.074 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.003247/0.003274, allocations: 1.673 MB / 441.8 MB, free: 6.387 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001844/0.005118, allocations: 0.9509 MB / 442.8 MB, free: 5.43 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.06e-05/0.005189, allocations: 0 / 442.8 MB, free: 5.43 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003175/0.005506, allocations: 63.67 kB / 442.9 MB, free: 5.367 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003642/0.00587, allocations: 115.5 kB / 443 MB, free: 5.254 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001913/0.006061, allocations: 83.53 kB / 443.1 MB, free: 5.172 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000187/0.006248, allocations: 103.7 kB / 443.2 MB, free: 5.07 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.165e-05/0.00629, allocations: 8.219 kB / 443.2 MB, free: 5.062 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001189/0.006409, allocations: 59.77 kB / 443.2 MB, free: 5.004 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001112/0.00652, allocations: 43.89 kB / 443.3 MB, free: 4.961 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.96e-05/0.00654, allocations: 4 kB / 443.3 MB, free: 4.957 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.319e-05/0.006623, allocations: 27.98 kB / 443.3 MB, free: 4.93 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.524e-05/0.006688, allocations: 23.92 kB / 443.3 MB, free: 4.906 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.648e-05/0.006735, allocations: 19.94 kB / 443.3 MB, free: 4.887 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002114/0.006946, allocations: 107.6 kB / 443.4 MB, free: 4.781 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.006949, allocations: 0 / 443.4 MB, free: 4.781 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.00695, allocations: 0 / 443.4 MB, free: 4.781 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.638e-06/0.006955, allocations: 0 / 443.4 MB, free: 4.781 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000557/0.007512, allocations: 337.6 kB / 443.8 MB, free: 4.422 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/0.007545, allocations: 8.031 kB / 443.8 MB, free: 4.414 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.773e-05/0.007592, allocations: 16.84 kB / 443.8 MB, free: 4.398 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002309/0.007823, allocations: 150.2 kB / 443.9 MB, free: 4.227 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.007838, allocations: 4.375 kB / 444 MB, free: 4.223 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.899e-06/0.007848, allocations: 4.375 kB / 444 MB, free: 4.219 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001403/0.007988, allocations: 50.23 kB / 444 MB, free: 4.164 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.007999, allocations: 3.938 kB / 444 MB, free: 4.16 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.008009, allocations: 4 kB / 444 MB, free: 4.156 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.008013, allocations: 0 / 444 MB, free: 4.156 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.208e-05/0.008085, allocations: 15.98 kB / 444 MB, free: 4.141 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002476/0.008333, allocations: 125.3 kB / 444.2 MB, free: 3.988 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001755/0.008508, allocations: 54.55 kB / 444.2 MB, free: 3.926 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.048e-05/0.008569, allocations: 24.84 kB / 444.2 MB, free: 3.898 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.394e-05/0.008583, allocations: 0 / 444.2 MB, free: 3.898 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001707/0.008753, allocations: 71.39 kB / 444.3 MB, free: 3.816 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.173e-06/0.008754, allocations: 0 / 444.3 MB, free: 3.816 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002915/0.009046, allocations: 105.5 kB / 444.4 MB, free: 3.707 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.785e-05/0.009094, allocations: 55.41 kB / 444.5 MB, free: 3.641 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002065/0.0093, allocations: 202.2 kB / 444.7 MB, free: 3.434 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.308e-05/0.009323, allocations: 29.7 kB / 444.7 MB, free: 3.398 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.076e-05/0.009394, allocations: 100.1 kB / 444.8 MB, free: 3.297 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.29e-05/0.009427, allocations: 23.81 kB / 444.8 MB, free: 3.273 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.081e-05/0.009468, allocations: 25.72 kB / 444.8 MB, free: 3.242 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.00961, allocations: 322.8 kB / 445.1 MB, free: 2.918 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.623e-05/0.009666, allocations: 15.98 kB / 445.2 MB, free: 2.902 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.791e-05/0.009724, allocations: 25.7 kB / 445.2 MB, free: 2.871 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001082/0.009832, allocations: 49.64 kB / 445.2 MB, free: 2.816 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.009834, allocations: 0 / 445.2 MB, free: 2.816 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000168/0.01, allocations: 85.62 kB / 445.3 MB, free: 2.727 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.01001, allocations: 4 kB / 445.3 MB, free: 2.723 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.952e-06/0.01002, allocations: 7.969 kB / 445.3 MB, free: 2.715 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.01003, allocations: 4 kB / 445.3 MB, free: 2.711 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.003e-05/0.01011, allocations: 11.94 kB / 445.3 MB, free: 2.699 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.01012, allocations: 3.984 kB / 445.3 MB, free: 2.695 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.653e-05/0.01017, allocations: 7.953 kB / 445.4 MB, free: 2.688 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.01017, allocations: 0 / 445.4 MB, free: 2.688 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001038/0.01028, allocations: 126.5 kB / 445.5 MB, free: 2.555 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.227e-05/0.0103, allocations: 11.94 kB / 445.5 MB, free: 2.543 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002569/0.01056, allocations: 98.75 kB / 445.6 MB, free: 2.441 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.01056, allocations: 0 / 445.6 MB, free: 2.441 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.01056, allocations: 4 kB / 445.6 MB, free: 2.438 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.01056, allocations: 0 / 445.6 MB, free: 2.438 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001311/0.01069, allocations: 141.5 kB / 445.7 MB, free: 2.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.0107, allocations: 0 / 445.7 MB, free: 2.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.905e-05/0.01072, allocations: 12 kB / 445.7 MB, free: 2.258 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.01073, allocations: 0 / 445.7 MB, free: 2.258 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.755e-06/0.01073, allocations: 0 / 445.7 MB, free: 2.258 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.01074, allocations: 3.938 kB / 445.7 MB, free: 2.254 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.01074, allocations: 0 / 445.7 MB, free: 2.254 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002184/0.01096, allocations: 117 kB / 445.9 MB, free: 2.121 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.013e-05/0.01098, allocations: 11.95 kB / 445.9 MB, free: 2.109 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.075e-05/0.011, allocations: 4 kB / 445.9 MB, free: 2.105 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.202e-05/0.01104, allocations: 11.92 kB / 445.9 MB, free: 2.094 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.708e-05/0.01107, allocations: 4 kB / 445.9 MB, free: 2.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.503e-05/0.01108, allocations: 4 kB / 445.9 MB, free: 2.086 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001392/0.01122, allocations: 148.2 kB / 446 MB, free: 1.941 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.01122, allocations: 0 / 446 MB, free: 1.941 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002135/0.01143, allocations: 31.86 kB / 446.1 MB, free: 1.91 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001551/0.01299, allocations: 435 kB / 446.5 MB, free: 1.66 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001726/0.01316, allocations: 43.98 kB / 446.5 MB, free: 1.617 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.01316, allocations: 0 / 446.5 MB, free: 1.617 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.703e-05/0.01323, allocations: 23.92 kB / 446.6 MB, free: 1.594 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002573/0.01348, allocations: 25.95 kB / 446.6 MB, free: 1.57 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004328/0.01392, allocations: 217.1 kB / 446.8 MB, free: 1.332 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001377/0.01405, allocations: 89.38 kB / 446.9 MB, free: 1.223 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.304e-05/0.0141, allocations: 12.56 kB / 446.9 MB, free: 1.211 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.843e-05/0.01414, allocations: 24.42 kB / 446.9 MB, free: 1.188 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.01414, allocations: 0 / 446.9 MB, free: 1.188 MB / 366.1 MB Notification: Performance of Templates: time 0.1632/0.1773, allocations: 1.613 MB / 448.5 MB, free: 21.14 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.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.512108277529478]