Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.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.001744/0.001744, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.002543/0.002543, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 18.57 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.555/1.555, allocations: 177.2 MB / 204.6 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3709/0.3709, allocations: 34.26 MB / 295.3 MB, free: 0.6875 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 377.3 MB, free: 2.965 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.323e-05/2.455e-05, allocations: 2.312 kB / 377.3 MB, free: 2.961 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.003204/0.003228, allocations: 1.658 MB / 379 MB, free: 1.289 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001213/0.004441, allocations: 0.5686 MB / 379.5 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.01e-05/0.004491, allocations: 0 / 379.5 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007048/0.005196, allocations: 455.1 kB / 380 MB, free: 276 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005373/0.005733, allocations: 295.1 kB / 380.3 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004603/0.006194, allocations: 175.5 kB / 380.4 MB, free: 15.81 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002748/0.006468, allocations: 175.6 kB / 380.6 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.556e-05/0.006564, allocations: 15.98 kB / 380.6 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001663/0.00673, allocations: 119.8 kB / 380.7 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003255/0.007056, allocations: 259.5 kB / 381 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.013e-05/0.007086, allocations: 4 kB / 381 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001001/0.007186, allocations: 31.92 kB / 381 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001213/0.007307, allocations: 87.66 kB / 381.1 MB, free: 15.13 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.521e-05/0.007372, allocations: 35.75 kB / 381.1 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003572/0.00773, allocations: 247.1 kB / 381.4 MB, free: 14.85 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.007732, allocations: 3.938 kB / 381.4 MB, free: 14.85 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.007733, allocations: 0 / 381.4 MB, free: 14.85 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.007737, allocations: 4 kB / 381.4 MB, free: 14.84 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000836/0.008573, allocations: 0.5853 MB / 382 MB, free: 14.23 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.008608, allocations: 12.03 kB / 382 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.572e-05/0.008694, allocations: 44.66 kB / 382 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003132/0.009007, allocations: 242 kB / 382.3 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.009018, allocations: 384 / 382.3 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.04e-05/0.009048, allocations: 4.375 kB / 382.3 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000185/0.009233, allocations: 62.22 kB / 382.3 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.009246, allocations: 4.125 kB / 382.3 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.009258, allocations: 12.12 kB / 382.4 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.009263, allocations: 0 / 382.4 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001573/0.00942, allocations: 43.95 kB / 382.4 MB, free: 13.78 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005556/0.009976, allocations: 336.4 kB / 382.7 MB, free: 13.42 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001543/0.01013, allocations: 46.56 kB / 382.8 MB, free: 13.37 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.152e-05/0.01022, allocations: 36.8 kB / 382.8 MB, free: 13.33 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.575e-05/0.01025, allocations: 4 kB / 382.8 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.712e-05/0.01028, allocations: 30.56 kB / 382.8 MB, free: 13.29 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.01029, allocations: 4 kB / 382.8 MB, free: 13.28 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0009821/0.01127, allocations: 312.5 kB / 383.1 MB, free: 12.97 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.704e-05/0.01131, allocations: 55.41 kB / 383.2 MB, free: 12.9 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001278/0.01259, allocations: 0.8653 MB / 384.1 MB, free: 12.03 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.716e-05/0.01262, allocations: 29.7 kB / 384.1 MB, free: 11.99 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002183/0.01284, allocations: 223.9 kB / 384.3 MB, free: 11.77 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.822e-05/0.01288, allocations: 19.8 kB / 384.3 MB, free: 11.75 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.31e-05/0.01294, allocations: 25.7 kB / 384.4 MB, free: 11.72 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002315/0.01317, allocations: 354.8 kB / 384.7 MB, free: 11.36 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001429/0.01331, allocations: 44.03 kB / 384.7 MB, free: 11.32 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001442/0.01346, allocations: 44.02 kB / 384.8 MB, free: 11.28 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002697/0.01373, allocations: 96.67 kB / 384.9 MB, free: 11.18 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.01373, allocations: 0 / 384.9 MB, free: 11.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003797/0.01411, allocations: 157.3 kB / 385 MB, free: 11.02 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.01412, allocations: 8 kB / 385 MB, free: 11.01 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.01413, allocations: 0 / 385 MB, free: 11.01 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.01415, allocations: 4 kB / 385.1 MB, free: 11.01 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001354/0.01428, allocations: 19.98 kB / 385.1 MB, free: 10.99 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.01429, allocations: 7.938 kB / 385.1 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.855e-05/0.01437, allocations: 7.984 kB / 385.1 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.125e-05/0.01438, allocations: 4 kB / 385.1 MB, free: 10.97 MB / 362.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 (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.0002384/0.01462, allocations: 221.6 kB / 385.3 MB, free: 10.74 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.85e-05/0.0147, allocations: 51.67 kB / 385.4 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000448/0.01514, allocations: 177.5 kB / 385.5 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.01515, allocations: 0 / 385.5 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.01515, allocations: 288 / 385.5 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.01515, allocations: 0 / 385.5 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00075/0.0159, allocations: 466 kB / 386 MB, free: 10.01 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.01591, allocations: 0 / 386 MB, free: 10.01 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001039/0.01601, allocations: 27.97 kB / 386 MB, free: 9.984 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.01601, allocations: 3.984 kB / 386 MB, free: 9.98 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.01602, allocations: 0 / 386 MB, free: 9.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.01602, allocations: 0 / 386 MB, free: 9.98 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.01602, allocations: 0 / 386 MB, free: 9.98 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004394/0.01646, allocations: 263.5 kB / 386.3 MB, free: 9.707 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.636e-05/0.01651, allocations: 31.72 kB / 386.3 MB, free: 9.676 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.063e-05/0.01654, allocations: 11.94 kB / 386.3 MB, free: 9.664 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001118/0.01665, allocations: 11.98 kB / 386.3 MB, free: 9.652 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.641e-05/0.0167, allocations: 7.984 kB / 386.3 MB, free: 9.645 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.651e-06/0.01671, allocations: 0 / 386.3 MB, free: 9.645 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0007695/0.01747, allocations: 0.655 MB / 387 MB, free: 8.992 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01747, allocations: 4 kB / 387 MB, free: 8.988 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002797/0.01775, allocations: 23.94 kB / 387 MB, free: 8.965 MB / 362.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 (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 Backend phase and start with SimCode phase: time 0.001945/0.0197, allocations: 446.1 kB / 387.5 MB, free: 8.711 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003386/0.02004, allocations: 87.92 kB / 387.5 MB, free: 8.625 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.02004, allocations: 0 / 387.5 MB, free: 8.625 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000148/0.02019, allocations: 51.89 kB / 387.6 MB, free: 8.574 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004072/0.0206, allocations: 26.27 kB / 387.6 MB, free: 8.551 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001414/0.02201, allocations: 0.8526 MB / 388.5 MB, free: 7.668 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002778/0.02229, allocations: 228.1 kB / 388.7 MB, free: 7.43 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.926e-05/0.02237, allocations: 16.72 kB / 388.7 MB, free: 7.41 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.545e-05/0.02242, allocations: 24.48 kB / 388.7 MB, free: 7.387 MB / 362.7 MB Notification: Performance of SimCode: time 7.81e-07/0.02242, allocations: 0 / 388.7 MB, free: 7.387 MB / 362.7 MB Notification: Performance of Templates: time 0.005538/0.02796, allocations: 1.511 MB / 390.2 MB, free: 5.891 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.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.918606300023384]