Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001971/0.001971, allocations: 103.5 kB / 20.97 MB, free: 3.445 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002326/0.002326, allocations: 156.8 kB / 24.27 MB, free: 152 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.654/1.654, allocations: 177 MB / 204.4 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3508/0.3508, allocations: 34.26 MB / 295.2 MB, free: 0.6367 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 377.2 MB, free: 2.902 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.457e-05/3.625e-05, allocations: 8.781 kB / 377.2 MB, free: 2.895 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.003491/0.003527, allocations: 1.631 MB / 378.8 MB, free: 1.25 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001215/0.004742, allocations: 0.5525 MB / 379.4 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.431e-05/0.004796, allocations: 4 kB / 379.4 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006903/0.005486, allocations: 455.1 kB / 379.8 MB, free: 252 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005285/0.006015, allocations: 287.2 kB / 380.1 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004581/0.006473, allocations: 179.4 kB / 380.3 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002643/0.006737, allocations: 171.6 kB / 380.5 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.292e-05/0.00683, allocations: 15.98 kB / 380.5 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001725/0.007003, allocations: 115.8 kB / 380.6 MB, free: 15.49 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003447/0.007347, allocations: 251.5 kB / 380.8 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.62e-05/0.007383, allocations: 4 kB / 380.8 MB, free: 15.24 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.128e-05/0.007465, allocations: 20 kB / 380.9 MB, free: 15.22 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001356/0.0076, allocations: 87.7 kB / 381 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.483e-05/0.007665, allocations: 31.75 kB / 381 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003649/0.00803, allocations: 235.1 kB / 381.2 MB, free: 14.88 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.008034, allocations: 0 / 381.2 MB, free: 14.88 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.008035, allocations: 3.938 kB / 381.2 MB, free: 14.87 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.008041, allocations: 4 kB / 381.2 MB, free: 14.87 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000965/0.009006, allocations: 0.7045 MB / 381.9 MB, free: 14.12 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.009043, allocations: 12.03 kB / 381.9 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.319e-05/0.009137, allocations: 48.66 kB / 382 MB, free: 14.06 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003508/0.009487, allocations: 248.8 kB / 382.2 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.009501, allocations: 4.375 kB / 382.2 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.177e-06/0.00951, allocations: 384 / 382.2 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001485/0.009658, allocations: 50.23 kB / 382.3 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.009666, allocations: 192 / 382.3 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.777e-06/0.009675, allocations: 384 / 382.3 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.009683, allocations: 4.359 kB / 382.3 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001112/0.009794, allocations: 31.86 kB / 382.3 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007194/0.01051, allocations: 467.7 kB / 382.8 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001267/0.01064, allocations: 43.05 kB / 382.8 MB, free: 13.15 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.184e-05/0.01071, allocations: 23.69 kB / 382.8 MB, free: 13.12 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.333e-05/0.01074, allocations: 4.078 kB / 382.8 MB, free: 13.12 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.166e-05/0.01077, allocations: 33.39 kB / 382.9 MB, free: 13.07 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 8.72e-07/0.01077, allocations: 3.938 kB / 382.9 MB, free: 13.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=3): time 0.0003488/0.01112, allocations: 109.3 kB / 383 MB, free: 12.96 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.072e-05/0.01117, allocations: 55.41 kB / 383 MB, free: 12.89 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008086/0.01198, allocations: 0.6746 MB / 383.7 MB, free: 12.2 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.185e-05/0.012, allocations: 25.7 kB / 383.7 MB, free: 12.17 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003158/0.01231, allocations: 306.8 kB / 384 MB, free: 11.86 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.67e-05/0.01234, allocations: 11.95 kB / 384.1 MB, free: 11.85 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.584e-05/0.01239, allocations: 19.38 kB / 384.1 MB, free: 11.82 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003818/0.01277, allocations: 0.5704 MB / 384.6 MB, free: 11.24 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.505e-05/0.01282, allocations: 11.94 kB / 384.7 MB, free: 11.23 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.723e-05/0.01287, allocations: 7.984 kB / 384.7 MB, free: 11.22 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001027/0.01297, allocations: 35.61 kB / 384.7 MB, free: 11.18 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.01297, allocations: 4 kB / 384.7 MB, free: 11.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002168/0.01319, allocations: 105.3 kB / 384.8 MB, free: 11.07 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.321e-05/0.01321, allocations: 11.94 kB / 384.8 MB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.01322, allocations: 0 / 384.8 MB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.01323, allocations: 0 / 384.8 MB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.904e-05/0.01331, allocations: 4 kB / 384.8 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.01332, allocations: 4 kB / 384.8 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.866e-05/0.01337, allocations: 3.984 kB / 384.8 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.01338, allocations: 0 / 384.8 MB, free: 11.05 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 (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.0001343/0.01351, allocations: 160.6 kB / 385 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.327e-05/0.01358, allocations: 51.66 kB / 385 MB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002483/0.01383, allocations: 97.06 kB / 385.1 MB, free: 10.72 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.01383, allocations: 0 / 385.1 MB, free: 10.72 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.01384, allocations: 0 / 385.1 MB, free: 10.72 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.01384, allocations: 0 / 385.1 MB, free: 10.72 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005309/0.01437, allocations: 320.5 kB / 385.4 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.01437, allocations: 0 / 385.4 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.224e-05/0.01442, allocations: 7.984 kB / 385.5 MB, free: 10.37 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.01443, allocations: 4 kB / 385.5 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.184e-06/0.01443, allocations: 4.375 kB / 385.5 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.01444, allocations: 3.938 kB / 385.5 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.01444, allocations: 0 / 385.5 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002882/0.01473, allocations: 251.6 kB / 385.7 MB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.002e-05/0.01479, allocations: 31.72 kB / 385.7 MB, free: 10.06 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.442e-05/0.01481, allocations: 0 / 385.7 MB, free: 10.06 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.842e-05/0.0149, allocations: 7.938 kB / 385.7 MB, free: 10.05 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.043e-05/0.01493, allocations: 7.984 kB / 385.8 MB, free: 10.04 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.321e-06/0.01494, allocations: 4 kB / 385.8 MB, free: 10.04 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004852/0.01542, allocations: 446.8 kB / 386.2 MB, free: 9.605 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01542, allocations: 4 kB / 386.2 MB, free: 9.602 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000243/0.01566, allocations: 19.94 kB / 386.2 MB, free: 9.582 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 (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.002438/0.0181, allocations: 358.2 kB / 386.6 MB, free: 9.352 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000197/0.0183, allocations: 39.67 kB / 386.6 MB, free: 9.309 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.0183, allocations: 3.938 kB / 386.6 MB, free: 9.305 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.674e-05/0.01837, allocations: 23.67 kB / 386.6 MB, free: 9.277 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003614/0.01873, allocations: 33.88 kB / 386.7 MB, free: 9.246 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001037/0.01977, allocations: 0.5884 MB / 387.3 MB, free: 8.629 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002536/0.02002, allocations: 204.1 kB / 387.5 MB, free: 8.41 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.538e-05/0.02007, allocations: 15.97 kB / 387.5 MB, free: 8.395 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.761e-05/0.02011, allocations: 16.5 kB / 387.5 MB, free: 8.375 MB / 362.7 MB Notification: Performance of SimCode: time 6.52e-07/0.02011, allocations: 0 / 387.5 MB, free: 8.375 MB / 362.7 MB Notification: Performance of Templates: time 0.005231/0.02534, allocations: 1.165 MB / 388.7 MB, free: 7.219 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test9/Test9.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.969360030023381]