Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.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.001236/0.001236, allocations: 79.62 kB / 20.68 MB, free: 1.027 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.001336/0.001336, allocations: 164.8 kB / 23.95 MB, free: 4.156 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.386/1.386, allocations: 177.1 MB / 204.3 MB, free: 9.195 MB / 190.1 MB " [Timeout remaining time 179] 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.2026/0.2026, allocations: 32.81 MB / 293.5 MB, free: 44 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.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51") translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 440.2 MB, free: 8.09 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.738e-05/2.864e-05, allocations: 2.281 kB / 440.2 MB, free: 8.086 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.002845/0.002874, allocations: 1.708 MB / 441.9 MB, free: 6.363 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001745/0.004618, allocations: 0.9781 MB / 442.9 MB, free: 5.379 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.087e-05/0.004679, allocations: 0 / 442.9 MB, free: 5.379 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000279/0.004958, allocations: 43.75 kB / 442.9 MB, free: 5.336 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003099/0.005268, allocations: 103.5 kB / 443 MB, free: 5.234 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001973/0.005465, allocations: 83.61 kB / 443.1 MB, free: 5.152 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001834/0.005649, allocations: 103.6 kB / 443.2 MB, free: 5.051 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.002e-05/0.005739, allocations: 11.98 kB / 443.2 MB, free: 5.039 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001065/0.005845, allocations: 55.78 kB / 443.3 MB, free: 4.984 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.764e-05/0.005923, allocations: 31.89 kB / 443.3 MB, free: 4.953 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.991e-05/0.005943, allocations: 4 kB / 443.3 MB, free: 4.949 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.26e-05/0.006035, allocations: 39.98 kB / 443.3 MB, free: 4.91 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.776e-05/0.006103, allocations: 27.84 kB / 443.4 MB, free: 4.883 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.148e-05/0.006144, allocations: 15.94 kB / 443.4 MB, free: 4.867 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002142/0.006359, allocations: 131.5 kB / 443.5 MB, free: 4.738 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.006361, allocations: 7.875 kB / 443.5 MB, free: 4.73 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.52e-07/0.006362, allocations: 0 / 443.5 MB, free: 4.73 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.267e-06/0.006371, allocations: 0 / 443.5 MB, free: 4.73 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000541/0.006912, allocations: 353.5 kB / 443.9 MB, free: 4.355 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.006948, allocations: 12.03 kB / 443.9 MB, free: 4.344 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.687e-05/0.006995, allocations: 16.84 kB / 443.9 MB, free: 4.328 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002289/0.007224, allocations: 162.2 kB / 444 MB, free: 4.141 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.007238, allocations: 8.359 kB / 444 MB, free: 4.133 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.281e-05/0.00726, allocations: 4.375 kB / 444.1 MB, free: 4.129 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001497/0.00741, allocations: 58.22 kB / 444.1 MB, free: 4.066 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.007425, allocations: 7.938 kB / 444.1 MB, free: 4.059 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.007436, allocations: 4 kB / 444.1 MB, free: 4.055 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.007441, allocations: 0 / 444.1 MB, free: 4.055 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.355e-05/0.007514, allocations: 19.98 kB / 444.1 MB, free: 4.035 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00034/0.007854, allocations: 232.6 kB / 444.4 MB, free: 3.777 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001829/0.008037, allocations: 62.61 kB / 444.4 MB, free: 3.707 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.034e-05/0.008097, allocations: 24.78 kB / 444.5 MB, free: 3.68 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.488e-06/0.008107, allocations: 0 / 444.5 MB, free: 3.68 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001523/0.008259, allocations: 75.38 kB / 444.5 MB, free: 3.594 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.223e-06/0.00826, allocations: 0 / 444.5 MB, free: 3.594 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005593/0.00882, allocations: 181.3 kB / 444.7 MB, free: 3.41 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.037e-05/0.00886, allocations: 51.41 kB / 444.8 MB, free: 3.348 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002733/0.009133, allocations: 243.6 kB / 445 MB, free: 3.102 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.023e-05/0.009154, allocations: 25.7 kB / 445 MB, free: 3.07 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.321e-05/0.009237, allocations: 112.1 kB / 445.1 MB, free: 2.957 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.406e-05/0.009271, allocations: 31.72 kB / 445.2 MB, free: 2.926 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.331e-05/0.009314, allocations: 21.72 kB / 445.2 MB, free: 2.898 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.009468, allocations: 338.8 kB / 445.5 MB, free: 2.559 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.946e-05/0.009528, allocations: 16 kB / 445.5 MB, free: 2.543 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.987e-05/0.009598, allocations: 33.7 kB / 445.6 MB, free: 2.504 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001321/0.00973, allocations: 69.7 kB / 445.6 MB, free: 2.43 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.009731, allocations: 0 / 445.6 MB, free: 2.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002104/0.009941, allocations: 113.5 kB / 445.7 MB, free: 2.312 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.009955, allocations: 4 kB / 445.7 MB, free: 2.309 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.009962, allocations: 4 kB / 445.7 MB, free: 2.305 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.009978, allocations: 4.031 kB / 445.8 MB, free: 2.301 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.154e-05/0.01007, allocations: 16.17 kB / 445.8 MB, free: 2.285 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.01007, allocations: 0 / 445.8 MB, free: 2.285 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.629e-05/0.01012, allocations: 12.25 kB / 445.8 MB, free: 2.273 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.115e-05/0.01013, allocations: 4 kB / 445.8 MB, free: 2.27 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 (10): * Single equations (assignments): 10 * 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.0001159/0.01025, allocations: 137.7 kB / 445.9 MB, free: 2.129 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.525e-05/0.01027, allocations: 11.91 kB / 445.9 MB, free: 2.117 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002765/0.01055, allocations: 127.1 kB / 446.1 MB, free: 1.988 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.175e-06/0.01055, allocations: 0 / 446.1 MB, free: 1.988 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.01056, allocations: 0 / 446.1 MB, free: 1.988 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.69e-06/0.01056, allocations: 8 kB / 446.1 MB, free: 1.98 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004699/0.01103, allocations: 362.9 kB / 446.4 MB, free: 1.586 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.01103, allocations: 0 / 446.4 MB, free: 1.586 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.18e-05/0.01107, allocations: 11.98 kB / 446.4 MB, free: 1.574 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.01108, allocations: 0 / 446.4 MB, free: 1.574 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.342e-05/0.01109, allocations: 4 kB / 446.4 MB, free: 1.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.01109, allocations: 0 / 446.4 MB, free: 1.57 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.01109, allocations: 0 / 446.4 MB, free: 1.57 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002733/0.01137, allocations: 216.2 kB / 446.6 MB, free: 1.34 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.717e-05/0.01139, allocations: 19.92 kB / 446.7 MB, free: 1.32 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.557e-05/0.01142, allocations: 8 kB / 446.7 MB, free: 1.312 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.156e-05/0.01149, allocations: 0 / 446.7 MB, free: 1.312 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.664e-05/0.01153, allocations: 7.984 kB / 446.7 MB, free: 1.305 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-05/0.01154, allocations: 8 kB / 446.7 MB, free: 1.297 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001735/0.01172, allocations: 183.2 kB / 446.9 MB, free: 1.117 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.01172, allocations: 0 / 446.9 MB, free: 1.117 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002595/0.01198, allocations: 27.88 kB / 446.9 MB, free: 1.09 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 7 * 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.001837/0.01381, allocations: 499.8 kB / 447.4 MB, free: 0.8086 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001957/0.01401, allocations: 63.89 kB / 447.4 MB, free: 0.7461 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.01401, allocations: 0 / 447.4 MB, free: 0.7461 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.952e-05/0.01409, allocations: 27.98 kB / 447.5 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003411/0.01443, allocations: 38.77 kB / 447.5 MB, free: 0.6875 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005004/0.01493, allocations: 262.8 kB / 447.8 MB, free: 404 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.909e-05/0.01503, allocations: 104.6 kB / 447.9 MB, free: 280 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.9e-05/0.01508, allocations: 16.97 kB / 447.9 MB, free: 260 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.604e-05/0.01513, allocations: 20.5 kB / 447.9 MB, free: 240 kB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.01513, allocations: 0 / 447.9 MB, free: 240 kB / 366.1 MB Notification: Performance of Templates: time 0.1689/0.184, allocations: 1.854 MB / 449.8 MB, free: 21.16 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.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.471453405916691]