Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.003016/0.003016, allocations: 91.61 kB / 20.96 MB, free: 3.457 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.003599/0.003599, allocations: 165.3 kB / 24.28 MB, free: 148 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.638/1.638, allocations: 177.1 MB / 204.6 MB, free: 5.582 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.3767/0.3767, allocations: 34.27 MB / 295.3 MB, free: 0.6953 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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_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_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 377.3 MB, free: 2.957 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.157e-05/3.33e-05, allocations: 5.688 kB / 377.3 MB, free: 2.953 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.003469/0.003502, allocations: 1.627 MB / 378.9 MB, free: 1.312 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001223/0.004726, allocations: 0.5491 MB / 379.5 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.085e-05/0.004776, allocations: 0 / 379.5 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009132/0.00569, allocations: 455.1 kB / 379.9 MB, free: 320 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005761/0.006266, allocations: 295.2 kB / 380.2 MB, free: 24 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000501/0.006767, allocations: 171.5 kB / 380.4 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002887/0.007055, allocations: 179.6 kB / 380.6 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.867e-05/0.007154, allocations: 7.984 kB / 380.6 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001809/0.007335, allocations: 123.8 kB / 380.7 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000319/0.007654, allocations: 235.6 kB / 380.9 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.996e-05/0.007684, allocations: 4 kB / 380.9 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.914e-05/0.007773, allocations: 31.91 kB / 381 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001202/0.007893, allocations: 83.72 kB / 381 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.222e-05/0.007955, allocations: 43.73 kB / 381.1 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003347/0.00829, allocations: 227.1 kB / 381.3 MB, free: 14.94 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.008293, allocations: 0 / 381.3 MB, free: 14.94 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.794e-06/0.008295, allocations: 0 / 381.3 MB, free: 14.94 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.192e-06/0.008301, allocations: 0 / 381.3 MB, free: 14.94 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.0009317/0.009233, allocations: 0.7162 MB / 382 MB, free: 14.18 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.009269, allocations: 8.031 kB / 382 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.771e-05/0.009367, allocations: 44.66 kB / 382.1 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000339/0.009706, allocations: 256.8 kB / 382.3 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.00972, allocations: 4.375 kB / 382.3 MB, free: 13.85 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.356e-06/0.009728, allocations: 384 / 382.3 MB, free: 13.85 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001459/0.009874, allocations: 54.25 kB / 382.4 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.009881, allocations: 192 / 382.4 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.009893, allocations: 4.125 kB / 382.4 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.009897, allocations: 0 / 382.4 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001053/0.01, allocations: 27.97 kB / 382.4 MB, free: 13.76 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007084/0.01071, allocations: 463.6 kB / 382.9 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001266/0.01084, allocations: 39.06 kB / 382.9 MB, free: 13.22 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.304e-05/0.0109, allocations: 19.77 kB / 382.9 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.716e-05/0.01093, allocations: 11.94 kB / 382.9 MB, free: 13.19 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.05e-05/0.01097, allocations: 41.39 kB / 383 MB, free: 13.14 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.01097, allocations: 0 / 383 MB, free: 13.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=3): time 0.0003653/0.01133, allocations: 109.3 kB / 383.1 MB, free: 13.02 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.039e-05/0.01139, allocations: 51.41 kB / 383.1 MB, free: 12.96 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008782/0.01227, allocations: 0.6785 MB / 383.8 MB, free: 12.27 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.558e-05/0.0123, allocations: 25.7 kB / 383.8 MB, free: 12.23 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003148/0.01261, allocations: 302.8 kB / 384.1 MB, free: 11.93 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.293e-05/0.01264, allocations: 7.953 kB / 384.1 MB, free: 11.93 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.185e-05/0.01269, allocations: 23.36 kB / 384.2 MB, free: 11.89 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004145/0.0131, allocations: 0.5704 MB / 384.7 MB, free: 11.31 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.566e-05/0.01317, allocations: 15.98 kB / 384.7 MB, free: 11.3 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.063e-05/0.01321, allocations: 4 kB / 384.7 MB, free: 11.29 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001083/0.01332, allocations: 39.59 kB / 384.8 MB, free: 11.25 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.01332, allocations: 0 / 384.8 MB, free: 11.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002063/0.01353, allocations: 105.2 kB / 384.9 MB, free: 11.14 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.01355, allocations: 8 kB / 384.9 MB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.01355, allocations: 0 / 384.9 MB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.01356, allocations: 4 kB / 384.9 MB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.925e-05/0.01364, allocations: 7.984 kB / 384.9 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.01365, allocations: 0 / 384.9 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.167e-05/0.0137, allocations: 4 kB / 384.9 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.01371, allocations: 0 / 384.9 MB, free: 11.12 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.0001396/0.01385, allocations: 160.6 kB / 385.1 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.217e-05/0.01392, allocations: 51.64 kB / 385.1 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002607/0.01418, allocations: 97.41 kB / 385.2 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.01418, allocations: 0 / 385.2 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.01419, allocations: 7.984 kB / 385.2 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.01419, allocations: 4.031 kB / 385.2 MB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004153/0.01461, allocations: 312.5 kB / 385.5 MB, free: 10.44 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.01461, allocations: 0 / 385.5 MB, free: 10.44 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.531e-05/0.01465, allocations: 4 kB / 385.5 MB, free: 10.44 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.01466, allocations: 3.938 kB / 385.5 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.01467, allocations: 4 kB / 385.5 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.01467, allocations: 0 / 385.5 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.01467, allocations: 0 / 385.5 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002997/0.01497, allocations: 247.6 kB / 385.8 MB, free: 10.17 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.481e-05/0.01505, allocations: 39.7 kB / 385.8 MB, free: 10.13 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.614e-05/0.01507, allocations: 7.875 kB / 385.8 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.435e-05/0.01515, allocations: 4 kB / 385.8 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.8e-05/0.01516, allocations: 0 / 385.8 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.058e-06/0.01517, allocations: 0 / 385.8 MB, free: 10.12 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004995/0.01567, allocations: 446.8 kB / 386.3 MB, free: 9.684 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01567, allocations: 0 / 386.3 MB, free: 9.684 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002448/0.01591, allocations: 23.94 kB / 386.3 MB, free: 9.66 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.002558/0.01847, allocations: 374.1 kB / 386.7 MB, free: 9.441 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001776/0.01865, allocations: 39.66 kB / 386.7 MB, free: 9.398 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.01865, allocations: 0 / 386.7 MB, free: 9.398 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.839e-05/0.01871, allocations: 19.62 kB / 386.7 MB, free: 9.375 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003687/0.01908, allocations: 34.19 kB / 386.7 MB, free: 9.34 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001164/0.02024, allocations: 0.5924 MB / 387.3 MB, free: 8.719 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002541/0.0205, allocations: 200.2 kB / 387.5 MB, free: 8.504 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.109e-05/0.02056, allocations: 15.97 kB / 387.6 MB, free: 8.488 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.218e-05/0.0206, allocations: 12.5 kB / 387.6 MB, free: 8.473 MB / 362.7 MB Notification: Performance of SimCode: time 1.754e-06/0.0206, allocations: 0 / 387.6 MB, free: 8.473 MB / 362.7 MB Notification: Performance of Templates: time 0.005639/0.02624, allocations: 1.164 MB / 388.7 MB, free: 7.324 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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.967031728010625]