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.001966/0.001966, allocations: 92.31 kB / 20.96 MB, free: 3.465 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.002488/0.002488, allocations: 157.7 kB / 24.27 MB, free: 164 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.578/1.578, allocations: 177.1 MB / 204.6 MB, free: 5.602 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.3423/0.3423, allocations: 34.26 MB / 295.3 MB, free: 0.6875 MB / 266.7 MB " [Timeout remaining time 180] 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 2.144e-06/2.144e-06, allocations: 0 / 377.3 MB, free: 2.957 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.998e-05/3.212e-05, allocations: 2.312 kB / 377.3 MB, free: 2.953 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.003391/0.003423, allocations: 1.615 MB / 378.9 MB, free: 1.328 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001262/0.004685, allocations: 0.5452 MB / 379.5 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.91e-05/0.004744, allocations: 4 kB / 379.5 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007164/0.00546, allocations: 459.1 kB / 379.9 MB, free: 332 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005297/0.00599, allocations: 291.2 kB / 380.2 MB, free: 40 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004729/0.006463, allocations: 167.5 kB / 380.4 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002848/0.006748, allocations: 179.5 kB / 380.5 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.719e-05/0.006845, allocations: 15.98 kB / 380.6 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001661/0.007011, allocations: 115.8 kB / 380.7 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003168/0.007328, allocations: 247.6 kB / 380.9 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.415e-05/0.007352, allocations: 4 kB / 380.9 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.667e-05/0.007429, allocations: 27.92 kB / 380.9 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001381/0.007567, allocations: 87.7 kB / 381 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.77e-05/0.007634, allocations: 35.75 kB / 381.1 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003362/0.007971, allocations: 231.1 kB / 381.3 MB, free: 14.95 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.007975, allocations: 3.938 kB / 381.3 MB, free: 14.95 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.007976, allocations: 0 / 381.3 MB, free: 14.95 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.007981, allocations: 4 kB / 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.0008529/0.008834, allocations: 0.5659 MB / 381.9 MB, free: 14.34 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.008874, allocations: 16.03 kB / 381.9 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.051e-05/0.008964, allocations: 48.66 kB / 381.9 MB, free: 14.28 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003139/0.009278, allocations: 246 kB / 382.2 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.009289, allocations: 384 / 382.2 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.501e-05/0.009304, allocations: 8.359 kB / 382.2 MB, free: 14.01 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001911/0.009495, allocations: 54.23 kB / 382.2 MB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.009504, allocations: 192 / 382.2 MB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.009516, allocations: 4.125 kB / 382.2 MB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.009523, allocations: 4 kB / 382.2 MB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000146/0.009669, allocations: 35.97 kB / 382.3 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005549/0.01022, allocations: 336.4 kB / 382.6 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000152/0.01038, allocations: 42.55 kB / 382.6 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.151e-05/0.01046, allocations: 20.94 kB / 382.7 MB, free: 13.47 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.894e-05/0.01049, allocations: 7.938 kB / 382.7 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.358e-05/0.01052, allocations: 30.56 kB / 382.7 MB, free: 13.43 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.01052, allocations: 0 / 382.7 MB, free: 13.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=3): time 0.0004121/0.01093, allocations: 137.3 kB / 382.8 MB, free: 13.29 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.164e-05/0.01098, allocations: 55.41 kB / 382.9 MB, free: 13.22 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001078/0.01206, allocations: 0.8614 MB / 383.7 MB, free: 12.35 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.469e-05/0.01209, allocations: 25.7 kB / 383.8 MB, free: 12.32 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002188/0.01231, allocations: 216 kB / 384 MB, free: 12.1 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.615e-05/0.01233, allocations: 11.94 kB / 384 MB, free: 12.09 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.351e-05/0.01237, allocations: 17.72 kB / 384 MB, free: 12.07 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002331/0.01261, allocations: 358.7 kB / 384.4 MB, free: 11.71 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001016/0.01271, allocations: 23.97 kB / 384.4 MB, free: 11.68 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.494e-05/0.01277, allocations: 19.98 kB / 384.4 MB, free: 11.66 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001454/0.01292, allocations: 40.83 kB / 384.4 MB, free: 11.62 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.01292, allocations: 0 / 384.4 MB, free: 11.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002561/0.01318, allocations: 125.2 kB / 384.6 MB, free: 11.49 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.01319, allocations: 4 kB / 384.6 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.0132, allocations: 0 / 384.6 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.319e-05/0.01323, allocations: 8 kB / 384.6 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.839e-05/0.01332, allocations: 11.98 kB / 384.6 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.01332, allocations: 0 / 384.6 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.986e-05/0.01338, allocations: 4 kB / 384.6 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.259e-05/0.01339, allocations: 8 kB / 384.6 MB, free: 11.46 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.0002334/0.01363, allocations: 209.8 kB / 384.8 MB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000103/0.01373, allocations: 43.66 kB / 384.8 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003095/0.01404, allocations: 133.4 kB / 385 MB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.421e-06/0.01405, allocations: 4.031 kB / 385 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.01405, allocations: 4 kB / 385 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.01405, allocations: 0 / 385 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003238/0.01438, allocations: 229.2 kB / 385.2 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.01438, allocations: 0 / 385.2 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.268e-05/0.01444, allocations: 11.98 kB / 385.2 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.01444, allocations: 3.938 kB / 385.2 MB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-06/0.01445, allocations: 0 / 385.2 MB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.01446, allocations: 4 kB / 385.2 MB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.01446, allocations: 0 / 385.2 MB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003148/0.01477, allocations: 215.2 kB / 385.4 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.238e-05/0.01482, allocations: 35.72 kB / 385.5 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.134e-05/0.01486, allocations: 7.922 kB / 385.5 MB, free: 10.51 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.228e-05/0.01495, allocations: 4 kB / 385.5 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.482e-05/0.01496, allocations: 0 / 385.5 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.878e-06/0.01497, allocations: 0 / 385.5 MB, free: 10.5 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0008509/0.01582, allocations: 0.6589 MB / 386.1 MB, free: 9.848 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01582, allocations: 0 / 386.1 MB, free: 9.848 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002767/0.01609, allocations: 19.94 kB / 386.2 MB, free: 9.828 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.001724/0.01782, allocations: 368.4 kB / 386.5 MB, free: 9.609 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00021/0.01803, allocations: 39.97 kB / 386.6 MB, free: 9.57 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.01803, allocations: 4 kB / 386.6 MB, free: 9.566 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.563e-05/0.01813, allocations: 31.91 kB / 386.6 MB, free: 9.535 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004475/0.01857, allocations: 30.25 kB / 386.6 MB, free: 9.508 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001373/0.01995, allocations: 0.8211 MB / 387.4 MB, free: 8.66 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000439/0.02039, allocations: 220.1 kB / 387.7 MB, free: 8.426 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.444e-05/0.02045, allocations: 15.97 kB / 387.7 MB, free: 8.41 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.674e-05/0.0205, allocations: 12.5 kB / 387.7 MB, free: 8.395 MB / 362.7 MB Notification: Performance of SimCode: time 3.8e-07/0.0205, allocations: 0 / 387.7 MB, free: 8.395 MB / 362.7 MB Notification: Performance of Templates: time 0.005127/0.02562, allocations: 1.179 MB / 388.9 MB, free: 7.234 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) [Timeout 480] 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.912677763029933]