Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.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.001525/0.001525, allocations: 82.27 kB / 20.68 MB, free: 1.039 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.001678/0.001678, allocations: 163.1 kB / 23.96 MB, free: 4.164 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.392/1.392, allocations: 177.1 MB / 204.3 MB, free: 9.176 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.2044/0.2044, allocations: 32.81 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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18") translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 440.2 MB, free: 8.07 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.438e-05/2.578e-05, allocations: 2.281 kB / 440.2 MB, free: 8.066 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.002884/0.002909, allocations: 1.716 MB / 441.9 MB, free: 6.336 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001769/0.004678, allocations: 0.9733 MB / 442.9 MB, free: 5.359 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.044e-05/0.004759, allocations: 4 kB / 442.9 MB, free: 5.355 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002757/0.005034, allocations: 39.77 kB / 442.9 MB, free: 5.316 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003309/0.005365, allocations: 91.48 kB / 443 MB, free: 5.227 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002432/0.005608, allocations: 87.53 kB / 443.1 MB, free: 5.141 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001849/0.005793, allocations: 103.7 kB / 443.2 MB, free: 5.039 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.01e-05/0.005873, allocations: 4 kB / 443.2 MB, free: 5.035 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001288/0.006002, allocations: 63.75 kB / 443.2 MB, free: 4.973 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.334e-05/0.006076, allocations: 23.92 kB / 443.3 MB, free: 4.949 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.931e-05/0.006095, allocations: 4 kB / 443.3 MB, free: 4.945 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001026/0.006197, allocations: 47.97 kB / 443.3 MB, free: 4.898 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.762e-05/0.006255, allocations: 19.86 kB / 443.3 MB, free: 4.879 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.329e-05/0.006298, allocations: 15.94 kB / 443.4 MB, free: 4.863 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002187/0.006517, allocations: 119.6 kB / 443.5 MB, free: 4.746 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.006519, allocations: 0 / 443.5 MB, free: 4.746 MB / 366.1 MB Notification: Performance of FrontEnd: time 6.61e-07/0.00652, allocations: 0 / 443.5 MB, free: 4.746 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.207e-06/0.006524, allocations: 0 / 443.5 MB, free: 4.746 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.0005209/0.007045, allocations: 345.5 kB / 443.8 MB, free: 4.379 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.155e-05/0.007076, allocations: 8.031 kB / 443.8 MB, free: 4.371 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.667e-05/0.007123, allocations: 16.89 kB / 443.8 MB, free: 4.355 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002114/0.007334, allocations: 150.8 kB / 444 MB, free: 4.184 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.605e-05/0.007351, allocations: 8.375 kB / 444 MB, free: 4.176 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.75e-05/0.007368, allocations: 384 / 444 MB, free: 4.176 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00015/0.007518, allocations: 62.17 kB / 444.1 MB, free: 4.109 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.007531, allocations: 3.938 kB / 444.1 MB, free: 4.105 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.318e-06/0.007541, allocations: 0 / 444.1 MB, free: 4.105 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.457e-06/0.007544, allocations: 0 / 444.1 MB, free: 4.105 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.938e-05/0.007624, allocations: 19.98 kB / 444.1 MB, free: 4.086 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003407/0.007964, allocations: 232.5 kB / 444.3 MB, free: 3.828 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000176/0.00814, allocations: 50.67 kB / 444.4 MB, free: 3.77 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.124e-05/0.008201, allocations: 32.72 kB / 444.4 MB, free: 3.734 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.447e-05/0.008216, allocations: 4 kB / 444.4 MB, free: 3.73 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001463/0.008362, allocations: 63.39 kB / 444.4 MB, free: 3.656 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.483e-06/0.008364, allocations: 7.938 kB / 444.5 MB, free: 3.648 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.000567/0.008931, allocations: 185.4 kB / 444.6 MB, free: 3.461 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.854e-05/0.008979, allocations: 55.41 kB / 444.7 MB, free: 3.395 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001893/0.009168, allocations: 187.3 kB / 444.9 MB, free: 3.199 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.177e-05/0.00919, allocations: 33.64 kB / 444.9 MB, free: 3.16 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.376e-05/0.009264, allocations: 108.1 kB / 445 MB, free: 3.051 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.035e-05/0.009294, allocations: 23.8 kB / 445 MB, free: 3.027 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.647e-05/0.009341, allocations: 25.7 kB / 445.1 MB, free: 2.996 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.009477, allocations: 322.8 kB / 445.4 MB, free: 2.672 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.932e-05/0.009536, allocations: 16 kB / 445.4 MB, free: 2.656 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.824e-05/0.009615, allocations: 41.7 kB / 445.4 MB, free: 2.609 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001272/0.009742, allocations: 57.64 kB / 445.5 MB, free: 2.547 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.009743, allocations: 4 kB / 445.5 MB, free: 2.543 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002083/0.009951, allocations: 109.5 kB / 445.6 MB, free: 2.43 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.009969, allocations: 12 kB / 445.6 MB, free: 2.418 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.009975, allocations: 3.984 kB / 445.6 MB, free: 2.414 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.009987, allocations: 0 / 445.6 MB, free: 2.414 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.974e-05/0.01008, allocations: 19.92 kB / 445.6 MB, free: 2.395 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.453e-06/0.01008, allocations: 4 kB / 445.6 MB, free: 2.391 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.363e-05/0.01013, allocations: 384 / 445.6 MB, free: 2.391 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.138e-05/0.01014, allocations: 8 kB / 445.6 MB, free: 2.383 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.0001036/0.01024, allocations: 125.8 kB / 445.8 MB, free: 2.25 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.31e-05/0.01027, allocations: 7.953 kB / 445.8 MB, free: 2.242 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002898/0.01055, allocations: 131.1 kB / 445.9 MB, free: 2.105 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.01056, allocations: 0 / 445.9 MB, free: 2.105 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.01056, allocations: 0 / 445.9 MB, free: 2.105 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.01056, allocations: 3.938 kB / 445.9 MB, free: 2.102 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000457/0.01102, allocations: 351.2 kB / 446.3 MB, free: 1.719 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.01102, allocations: 0 / 446.3 MB, free: 1.719 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.754e-05/0.01107, allocations: 12 kB / 446.3 MB, free: 1.707 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.01107, allocations: 3.938 kB / 446.3 MB, free: 1.703 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.01108, allocations: 4 kB / 446.3 MB, free: 1.699 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.01109, allocations: 4 kB / 446.3 MB, free: 1.695 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.01109, allocations: 4.031 kB / 446.3 MB, free: 1.691 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002689/0.01136, allocations: 212.2 kB / 446.5 MB, free: 1.465 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.769e-05/0.01138, allocations: 11.91 kB / 446.5 MB, free: 1.453 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.411e-05/0.0114, allocations: 4 kB / 446.5 MB, free: 1.449 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.505e-05/0.01147, allocations: 4 kB / 446.5 MB, free: 1.445 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.645e-05/0.01151, allocations: 7.984 kB / 446.5 MB, free: 1.438 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.555e-05/0.01153, allocations: 4 kB / 446.5 MB, free: 1.434 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001329/0.01166, allocations: 147.8 kB / 446.7 MB, free: 1.289 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.01166, allocations: 0 / 446.7 MB, free: 1.289 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002634/0.01192, allocations: 27.94 kB / 446.7 MB, free: 1.262 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.001805/0.01373, allocations: 0.4933 MB / 447.2 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001908/0.01392, allocations: 55.92 kB / 447.2 MB, free: 0.9258 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.01392, allocations: 64 / 447.2 MB, free: 0.9258 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.16e-05/0.014, allocations: 35.98 kB / 447.3 MB, free: 0.8906 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003513/0.01435, allocations: 34.91 kB / 447.3 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004532/0.01481, allocations: 222.4 kB / 447.5 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.625e-05/0.0149, allocations: 88.31 kB / 447.6 MB, free: 0.5039 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.438e-05/0.01496, allocations: 17.03 kB / 447.6 MB, free: 496 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.002e-05/0.015, allocations: 16.5 kB / 447.6 MB, free: 480 kB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.015, allocations: 0 / 447.6 MB, free: 480 kB / 366.1 MB Notification: Performance of Templates: time 0.1644/0.1794, allocations: 1.862 MB / 449.5 MB, free: 21.16 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.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.553507756441832]