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.001499/0.001499, allocations: 84.23 kB / 20.2 MB, free: 4.23 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.001642/0.001642, allocations: 157.7 kB / 23.52 MB, free: 0.9219 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 1.681/1.681, allocations: 158.6 MB / 185.3 MB, free: 2.91 MB / 170.7 MB " [Timeout remaining time 178] 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.2177/0.2177, allocations: 32.37 MB / 270 MB, free: 14.78 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.1.|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.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.597e-06/3.597e-06, allocations: 0 / 346.9 MB, free: 9.816 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.605e-05/4.964e-05, allocations: 2.312 kB / 346.9 MB, free: 9.812 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.003515/0.003565, allocations: 1.572 MB / 348.5 MB, free: 8.23 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005992/0.004164, allocations: 327.4 kB / 348.8 MB, free: 7.906 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.771e-05/0.004222, allocations: 4 kB / 348.8 MB, free: 7.902 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005306/0.004752, allocations: 463 kB / 349.3 MB, free: 7.449 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002783/0.00503, allocations: 251.4 kB / 349.5 MB, free: 7.203 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003277/0.005358, allocations: 147.6 kB / 349.7 MB, free: 7.059 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002009/0.005559, allocations: 163.6 kB / 349.8 MB, free: 6.898 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.135e-05/0.00565, allocations: 16.16 kB / 349.9 MB, free: 6.883 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001109/0.005761, allocations: 115.8 kB / 350 MB, free: 6.77 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001729/0.005934, allocations: 239.6 kB / 350.2 MB, free: 6.535 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.175e-05/0.005956, allocations: 4 kB / 350.2 MB, free: 6.531 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.666e-05/0.006013, allocations: 16 kB / 350.2 MB, free: 6.516 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.151e-05/0.006094, allocations: 83.7 kB / 350.3 MB, free: 6.434 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.732e-05/0.006142, allocations: 39.75 kB / 350.3 MB, free: 6.395 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000218/0.00636, allocations: 235.1 kB / 350.6 MB, free: 6.164 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.006363, allocations: 3.938 kB / 350.6 MB, free: 6.16 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.006364, allocations: 0 / 350.6 MB, free: 6.16 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.029e-06/0.006369, allocations: 0 / 350.6 MB, free: 6.16 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.0005525/0.006922, allocations: 0.5583 MB / 351.1 MB, free: 5.57 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.006956, allocations: 12.03 kB / 351.1 MB, free: 5.559 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.307e-05/0.007019, allocations: 44.61 kB / 351.2 MB, free: 5.516 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001934/0.007213, allocations: 242.1 kB / 351.4 MB, free: 5.254 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.007225, allocations: 4.375 kB / 351.4 MB, free: 5.25 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.123e-05/0.007236, allocations: 4.375 kB / 351.4 MB, free: 5.246 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001652/0.007401, allocations: 62.17 kB / 351.5 MB, free: 5.18 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.719e-06/0.007411, allocations: 192 / 351.5 MB, free: 5.18 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.007423, allocations: 3.938 kB / 351.5 MB, free: 5.176 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.007428, allocations: 0 / 351.5 MB, free: 5.176 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001175/0.007545, allocations: 31.97 kB / 351.5 MB, free: 5.145 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003996/0.007945, allocations: 328.5 kB / 351.8 MB, free: 4.793 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001167/0.008062, allocations: 54.48 kB / 351.9 MB, free: 4.73 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.707e-05/0.008129, allocations: 28.88 kB / 351.9 MB, free: 4.699 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.573e-05/0.008155, allocations: 4 kB / 351.9 MB, free: 4.695 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.903e-05/0.008174, allocations: 30.56 kB / 352 MB, free: 4.656 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 8.72e-07/0.008174, allocations: 0 / 352 MB, free: 4.656 MB / 282.7 MB Notification: Performance of matching and sorting (n=3): time 0.0003446/0.008519, allocations: 129.4 kB / 352.1 MB, free: 4.523 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.694e-05/0.008546, allocations: 51.41 kB / 352.1 MB, free: 4.461 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000563/0.009109, allocations: 0.8535 MB / 353 MB, free: 3.598 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.695e-06/0.009117, allocations: 29.7 kB / 353 MB, free: 3.562 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001128/0.009229, allocations: 216 kB / 353.2 MB, free: 3.348 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.994e-05/0.009249, allocations: 7.938 kB / 353.2 MB, free: 3.34 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.927e-05/0.009279, allocations: 17.72 kB / 353.3 MB, free: 3.316 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.841e-05/0.009377, allocations: 358.7 kB / 353.6 MB, free: 2.957 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.724e-05/0.009444, allocations: 19.98 kB / 353.6 MB, free: 2.938 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.153e-05/0.009496, allocations: 19.98 kB / 353.6 MB, free: 2.918 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001069/0.009603, allocations: 44.81 kB / 353.7 MB, free: 2.871 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.009604, allocations: 4 kB / 353.7 MB, free: 2.867 MB / 282.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001592/0.009763, allocations: 113.6 kB / 353.8 MB, free: 2.75 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.009778, allocations: 4 kB / 353.8 MB, free: 2.746 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.009785, allocations: 0 / 353.8 MB, free: 2.746 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.375e-05/0.009808, allocations: 0 / 353.8 MB, free: 2.746 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.409e-05/0.009892, allocations: 15.97 kB / 353.8 MB, free: 2.73 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.009897, allocations: 0 / 353.8 MB, free: 2.73 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.138e-05/0.009949, allocations: 11.94 kB / 353.8 MB, free: 2.719 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.356e-06/0.009957, allocations: 3.984 kB / 353.8 MB, free: 2.715 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 0.0001384/0.0101, allocations: 213.8 kB / 354 MB, free: 2.496 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.657e-05/0.01014, allocations: 43.66 kB / 354.1 MB, free: 2.453 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002325/0.01037, allocations: 125.1 kB / 354.2 MB, free: 2.32 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.01038, allocations: 4 kB / 354.2 MB, free: 2.316 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.01038, allocations: 0 / 354.2 MB, free: 2.316 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.01038, allocations: 4 kB / 354.2 MB, free: 2.312 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001758/0.01056, allocations: 225.2 kB / 354.4 MB, free: 2.062 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.01056, allocations: 4 kB / 354.4 MB, free: 2.059 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.496e-05/0.01061, allocations: 11.98 kB / 354.5 MB, free: 2.047 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.01061, allocations: 7.875 kB / 354.5 MB, free: 2.039 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.986e-06/0.01062, allocations: 8 kB / 354.5 MB, free: 2.031 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.01062, allocations: 0 / 354.5 MB, free: 2.031 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.01062, allocations: 0 / 354.5 MB, free: 2.031 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001849/0.01081, allocations: 203.2 kB / 354.7 MB, free: 1.816 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.284e-05/0.01084, allocations: 35.66 kB / 354.7 MB, free: 1.781 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.379e-05/0.01086, allocations: 4 kB / 354.7 MB, free: 1.777 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.068e-05/0.01094, allocations: 3.984 kB / 354.7 MB, free: 1.773 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.005e-05/0.01099, allocations: 8 kB / 354.7 MB, free: 1.766 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-06/0.011, allocations: 0 / 354.7 MB, free: 1.766 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004404/0.01144, allocations: 0.6472 MB / 355.4 MB, free: 1.121 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01144, allocations: 0 / 355.4 MB, free: 1.121 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002522/0.01169, allocations: 19.94 kB / 355.4 MB, free: 1.102 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.001609/0.0133, allocations: 380 kB / 355.8 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001808/0.01348, allocations: 43.89 kB / 355.8 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.01348, allocations: 0 / 355.8 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.108e-05/0.01354, allocations: 19.98 kB / 355.8 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004648/0.01401, allocations: 27.58 kB / 355.8 MB, free: 0.7383 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009263/0.01493, allocations: 0.7877 MB / 356.6 MB, free: 15.92 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002767/0.01521, allocations: 227.4 kB / 356.9 MB, free: 15.68 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.172e-05/0.01527, allocations: 15.97 kB / 356.9 MB, free: 15.66 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.799e-05/0.01531, allocations: 12.5 kB / 356.9 MB, free: 15.65 MB / 298.7 MB Notification: Performance of SimCode: time 9.32e-07/0.01531, allocations: 0 / 356.9 MB, free: 15.65 MB / 298.7 MB Notification: Performance of Templates: time 0.005253/0.02056, allocations: 1.255 MB / 358.1 MB, free: 14.4 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.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.998827823088504]