Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0009694/0.0009694, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.0009678/0.0009678, allocations: 170.3 kB / 24.82 MB, free: 9.266 MB / 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 0.962/0.962, allocations: 177.1 MB / 205.3 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2513/0.2513, allocations: 32.8 MB / 294.6 MB, free: 1.238 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.[0-9,]+.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.003e-06/2.003e-06, allocations: 0 / 376.5 MB, free: 4.398 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.531e-05/3.731e-05, allocations: 9.484 kB / 376.5 MB, free: 4.391 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.00252/0.002558, allocations: 1.657 MB / 378.1 MB, free: 2.719 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008613/0.003419, allocations: 0.5414 MB / 378.7 MB, free: 2.172 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.754e-05/0.003506, allocations: 7.938 kB / 378.7 MB, free: 2.164 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005849/0.004091, allocations: 459 kB / 379.1 MB, free: 1.715 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004969/0.004588, allocations: 299.1 kB / 379.4 MB, free: 1.422 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003779/0.004966, allocations: 167.6 kB / 379.6 MB, free: 1.258 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002458/0.005212, allocations: 175.6 kB / 379.8 MB, free: 1.086 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.394e-05/0.005306, allocations: 4 kB / 379.8 MB, free: 1.082 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001626/0.005468, allocations: 123.8 kB / 379.9 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001887/0.005657, allocations: 243.6 kB / 380.1 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.647e-05/0.005674, allocations: 0 / 380.1 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.759e-05/0.005741, allocations: 27.94 kB / 380.2 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.376e-05/0.005825, allocations: 95.56 kB / 380.3 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.301e-05/0.005858, allocations: 35.75 kB / 380.3 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001911/0.006049, allocations: 187.2 kB / 380.5 MB, free: 392 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.006052, allocations: 0 / 380.5 MB, free: 392 kB / 346.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.006053, allocations: 0 / 380.5 MB, free: 392 kB / 346.7 MB Notification: Performance of Transformations before backend: time 3.777e-06/0.006057, allocations: 0 / 380.5 MB, free: 392 kB / 346.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.0006141/0.006671, allocations: 0.7009 MB / 381.2 MB, free: 15.64 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.006707, allocations: 8.031 kB / 381.2 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.813e-05/0.006755, allocations: 48.66 kB / 381.2 MB, free: 15.59 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001752/0.00693, allocations: 248.8 kB / 381.5 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.936e-06/0.006939, allocations: 384 / 381.5 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.134e-06/0.006946, allocations: 4.375 kB / 381.5 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001011/0.007047, allocations: 58.94 kB / 381.5 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.007055, allocations: 4.188 kB / 381.5 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.153e-06/0.007063, allocations: 4.125 kB / 381.5 MB, free: 15.24 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.007068, allocations: 0 / 381.5 MB, free: 15.24 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.863e-05/0.007086, allocations: 7.984 kB / 381.5 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003263/0.007413, allocations: 344.2 kB / 381.9 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.435e-05/0.007467, allocations: 38.98 kB / 381.9 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.77e-05/0.007485, allocations: 15.67 kB / 381.9 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.06e-05/0.007505, allocations: 0 / 381.9 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.316e-05/0.007528, allocations: 45.33 kB / 382 MB, free: 14.75 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.543e-06/0.00753, allocations: 0 / 382 MB, free: 14.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001493/0.007679, allocations: 89.42 kB / 382.1 MB, free: 14.65 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.218e-05/0.007702, allocations: 51.41 kB / 382.1 MB, free: 14.59 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004942/0.008196, allocations: 0.6079 MB / 382.7 MB, free: 13.96 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.263e-05/0.008208, allocations: 29.7 kB / 382.8 MB, free: 13.93 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001469/0.008355, allocations: 294.8 kB / 383 MB, free: 13.64 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.105e-05/0.008376, allocations: 11.89 kB / 383.1 MB, free: 13.62 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.11e-05/0.008407, allocations: 27.36 kB / 383.1 MB, free: 13.59 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.008557, allocations: 0.5469 MB / 383.6 MB, free: 13.03 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.371e-05/0.008571, allocations: 4 kB / 383.6 MB, free: 13.03 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.153e-05/0.008583, allocations: 7.984 kB / 383.6 MB, free: 13.02 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.124e-05/0.008614, allocations: 19.67 kB / 383.7 MB, free: 13 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.008615, allocations: 0 / 383.7 MB, free: 13 MB / 362.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.89e-05/0.008694, allocations: 85.34 kB / 383.7 MB, free: 12.91 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.008707, allocations: 7.938 kB / 383.8 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.008712, allocations: 0 / 383.8 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.008723, allocations: 8 kB / 383.8 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.761e-05/0.00878, allocations: 4 kB / 383.8 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.216e-06/0.008784, allocations: 3.984 kB / 383.8 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.677e-05/0.00881, allocations: 8 kB / 383.8 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-06/0.008816, allocations: 0 / 383.8 MB, free: 12.88 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 7.258e-05/0.008888, allocations: 156.6 kB / 383.9 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.155e-05/0.00892, allocations: 43.66 kB / 384 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001154/0.009035, allocations: 89.02 kB / 384.1 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.009037, allocations: 0 / 384.1 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.482e-06/0.009039, allocations: 0 / 384.1 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.009041, allocations: 4 kB / 384.1 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001762/0.009217, allocations: 197.1 kB / 384.3 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.009218, allocations: 0 / 384.3 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.761e-05/0.009246, allocations: 7.984 kB / 384.3 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.009248, allocations: 0 / 384.3 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.101e-06/0.009254, allocations: 8 kB / 384.3 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.514e-06/0.009256, allocations: 3.938 kB / 384.3 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.009257, allocations: 0 / 384.3 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000115/0.009372, allocations: 227.6 kB / 384.5 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.559e-05/0.009397, allocations: 39.66 kB / 384.5 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.417e-05/0.009412, allocations: 8 kB / 384.5 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.271e-05/0.009454, allocations: 11.92 kB / 384.6 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.888e-06/0.009464, allocations: 4 kB / 384.6 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-06/0.009468, allocations: 3.938 kB / 384.6 MB, free: 12.02 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001975/0.009665, allocations: 394.7 kB / 384.9 MB, free: 11.64 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009665, allocations: 0 / 384.9 MB, free: 11.64 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000161/0.009826, allocations: 16 kB / 385 MB, free: 11.62 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.0006717/0.0105, allocations: 325.9 kB / 385.3 MB, free: 11.41 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 6.76e-05/0.01057, allocations: 23.67 kB / 385.3 MB, free: 11.39 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.01057, allocations: 0 / 385.3 MB, free: 11.39 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.359e-05/0.01058, allocations: 11.69 kB / 385.3 MB, free: 11.37 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000235/0.01082, allocations: 29.91 kB / 385.3 MB, free: 11.34 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005809/0.0114, allocations: 0.5822 MB / 385.9 MB, free: 10.73 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.137e-05/0.01147, allocations: 115.3 kB / 386 MB, free: 10.6 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.305e-05/0.0115, allocations: 11.97 kB / 386.1 MB, free: 10.59 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003202/0.01182, allocations: 74.2 kB / 386.1 MB, free: 10.51 MB / 362.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01182, allocations: 4 kB / 386.1 MB, free: 10.51 MB / 362.7 MB Notification: Performance of Templates: time 0.003842/0.01566, allocations: 1.295 MB / 387.4 MB, free: 9.223 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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: 2.8824758608825505]