Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.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.0009291/0.0009291, allocations: 82.64 kB / 21.44 MB, free: 3.059 MB / 18.57 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.0009202/0.0009202, allocations: 170.1 kB / 24.84 MB, free: 8.926 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8996/0.8996, allocations: 158.6 MB / 186.7 MB, free: 2.781 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1783/0.1783, allocations: 32.38 MB / 271.5 MB, free: 14.54 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 348.9 MB, free: 9.172 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.699e-05/1.864e-05, allocations: 6.25 kB / 348.9 MB, free: 9.164 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.00812/0.008139, allocations: 1.606 MB / 350.5 MB, free: 7.551 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005233/0.008662, allocations: 323.3 kB / 350.8 MB, free: 7.23 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.799e-05/0.00872, allocations: 4 kB / 350.8 MB, free: 7.227 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004749/0.009195, allocations: 463 kB / 351.3 MB, free: 6.773 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002617/0.009457, allocations: 251.4 kB / 351.5 MB, free: 6.527 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002775/0.009734, allocations: 147.6 kB / 351.7 MB, free: 6.383 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001803/0.009914, allocations: 167.6 kB / 351.8 MB, free: 6.219 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.499e-05/0.009999, allocations: 12.16 kB / 351.9 MB, free: 6.207 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.787e-05/0.0101, allocations: 111.8 kB / 352 MB, free: 6.098 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000179/0.01028, allocations: 239.6 kB / 352.2 MB, free: 5.863 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.996e-05/0.0103, allocations: 7.984 kB / 352.2 MB, free: 5.855 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.671e-05/0.01035, allocations: 23.98 kB / 352.2 MB, free: 5.832 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.316e-05/0.01043, allocations: 83.72 kB / 352.3 MB, free: 5.75 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.36e-05/0.01046, allocations: 31.75 kB / 352.3 MB, free: 5.719 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001795/0.01064, allocations: 191.2 kB / 352.5 MB, free: 5.531 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.01064, allocations: 4 kB / 352.5 MB, free: 5.527 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.01064, allocations: 0 / 352.5 MB, free: 5.527 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.01065, allocations: 0 / 352.5 MB, free: 5.527 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.003472/0.01412, allocations: 0.6892 MB / 353.2 MB, free: 4.801 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.286e-05/0.01415, allocations: 12.03 kB / 353.2 MB, free: 4.789 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.754e-05/0.0142, allocations: 44.66 kB / 353.3 MB, free: 4.746 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000159/0.01436, allocations: 237 kB / 353.5 MB, free: 4.488 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.578e-06/0.01437, allocations: 8.375 kB / 353.5 MB, free: 4.48 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.262e-06/0.01437, allocations: 384 / 353.5 MB, free: 4.48 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.033e-05/0.01447, allocations: 62.83 kB / 353.6 MB, free: 4.41 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.204e-06/0.01447, allocations: 192 / 353.6 MB, free: 4.41 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.444e-06/0.01448, allocations: 3.938 kB / 353.6 MB, free: 4.406 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.01449, allocations: 4 kB / 353.6 MB, free: 4.402 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.015e-05/0.01451, allocations: 11.98 kB / 353.6 MB, free: 4.391 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002829/0.01479, allocations: 336.2 kB / 353.9 MB, free: 4.035 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.944e-05/0.01485, allocations: 31.05 kB / 354 MB, free: 3.992 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.73e-05/0.01487, allocations: 15.62 kB / 354 MB, free: 3.973 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.525e-05/0.01488, allocations: 4 kB / 354 MB, free: 3.969 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.966e-05/0.0149, allocations: 45.33 kB / 354 MB, free: 3.914 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.0149, allocations: 0 / 354 MB, free: 3.914 MB / 282.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001447/0.01505, allocations: 77.69 kB / 354.1 MB, free: 3.832 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.079e-05/0.01507, allocations: 55.41 kB / 354.2 MB, free: 3.766 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003607/0.01543, allocations: 0.6001 MB / 354.8 MB, free: 3.148 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.79e-06/0.01543, allocations: 25.7 kB / 354.8 MB, free: 3.117 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001361/0.01557, allocations: 290.7 kB / 355.1 MB, free: 2.828 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.943e-05/0.01559, allocations: 15.94 kB / 355.1 MB, free: 2.812 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.797e-05/0.01562, allocations: 15.38 kB / 355.1 MB, free: 2.789 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001021/0.01572, allocations: 0.5663 MB / 355.7 MB, free: 2.211 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.077e-05/0.01573, allocations: 0 / 355.7 MB, free: 2.211 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.146e-05/0.01574, allocations: 7.984 kB / 355.7 MB, free: 2.203 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.819e-05/0.01577, allocations: 15.67 kB / 355.7 MB, free: 2.184 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.01577, allocations: 0 / 355.7 MB, free: 2.184 MB / 282.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.857e-05/0.01585, allocations: 85.36 kB / 355.8 MB, free: 2.094 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/0.01586, allocations: 7.984 kB / 355.8 MB, free: 2.086 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.01587, allocations: 0 / 355.8 MB, free: 2.086 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.197e-06/0.01588, allocations: 0 / 355.8 MB, free: 2.086 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.125e-05/0.01593, allocations: 11.94 kB / 355.8 MB, free: 2.074 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.695e-06/0.01593, allocations: 0 / 355.8 MB, free: 2.074 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.31e-05/0.01596, allocations: 7.953 kB / 355.8 MB, free: 2.066 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.01e-06/0.01597, allocations: 4 kB / 355.8 MB, free: 2.062 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 5.55e-05/0.01602, allocations: 152.6 kB / 355.9 MB, free: 1.902 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.867e-05/0.01606, allocations: 51.64 kB / 356 MB, free: 1.852 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.255e-05/0.01615, allocations: 77.12 kB / 356.1 MB, free: 1.766 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.01616, allocations: 0 / 356.1 MB, free: 1.766 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.764e-06/0.01616, allocations: 0 / 356.1 MB, free: 1.766 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.01616, allocations: 7.922 kB / 356.1 MB, free: 1.758 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001701/0.01633, allocations: 193.1 kB / 356.3 MB, free: 1.543 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.01633, allocations: 0 / 356.3 MB, free: 1.543 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.467e-05/0.01636, allocations: 11.98 kB / 356.3 MB, free: 1.531 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.01636, allocations: 0 / 356.3 MB, free: 1.531 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.699e-06/0.01636, allocations: 0 / 356.3 MB, free: 1.531 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.01637, allocations: 11.88 kB / 356.3 MB, free: 1.52 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.01637, allocations: 0 / 356.3 MB, free: 1.52 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.855e-05/0.01646, allocations: 231.6 kB / 356.5 MB, free: 1.273 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.683e-05/0.01648, allocations: 35.66 kB / 356.6 MB, free: 1.238 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.662e-05/0.0165, allocations: 0 / 356.6 MB, free: 1.238 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003063/0.01956, allocations: 7.938 kB / 356.6 MB, free: 1.23 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.881e-05/0.01959, allocations: 7.984 kB / 356.6 MB, free: 1.223 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.868e-06/0.0196, allocations: 8 kB / 356.6 MB, free: 1.215 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001942/0.01979, allocations: 386.7 kB / 357 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01979, allocations: 0 / 357 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002246/0.02001, allocations: 19.98 kB / 357 MB, free: 0.8203 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0007701/0.02078, allocations: 319.8 kB / 357.3 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.609e-05/0.02086, allocations: 23.61 kB / 357.3 MB, free: 0.5703 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.02086, allocations: 0 / 357.3 MB, free: 0.5703 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.956e-05/0.02088, allocations: 19.69 kB / 357.3 MB, free: 0.5469 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003039/0.02119, allocations: 25.95 kB / 357.4 MB, free: 0.5234 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005691/0.02175, allocations: 0.5587 MB / 357.9 MB, free: 15.93 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.969e-05/0.02184, allocations: 117.9 kB / 358 MB, free: 15.8 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.016e-05/0.02187, allocations: 11.97 kB / 358 MB, free: 15.79 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.409e-05/0.02193, allocations: 74.2 kB / 358.1 MB, free: 15.71 MB / 298.7 MB Notification: Performance of SimCode: time 5.61e-07/0.02193, allocations: 0 / 358.1 MB, free: 15.71 MB / 298.7 MB Notification: Performance of Templates: time 0.007067/0.029, allocations: 1.386 MB / 359.5 MB, free: 14.32 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test9/Test9.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.142406428232789]