Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.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.001536/0.001536, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001113/0.001113, allocations: 168 kB / 25 MB, free: 8.871 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.9909/0.9909, allocations: 177.1 MB / 205.3 MB, free: 5.617 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.2402/0.2402, allocations: 32.81 MB / 294.6 MB, free: 1.281 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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 376 MB, free: 4.973 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.645e-05/2.815e-05, allocations: 2.312 kB / 376 MB, free: 4.969 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.002565/0.002594, allocations: 1.703 MB / 377.7 MB, free: 3.254 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007548/0.003348, allocations: 0.5648 MB / 378.3 MB, free: 2.684 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.933e-05/0.003418, allocations: 0 / 378.3 MB, free: 2.684 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004925/0.00391, allocations: 451 kB / 378.7 MB, free: 2.242 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000398/0.004308, allocations: 303.1 kB / 379 MB, free: 1.945 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003314/0.00464, allocations: 167.5 kB / 379.2 MB, free: 1.781 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002142/0.004854, allocations: 175.6 kB / 379.4 MB, free: 1.609 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.004957, allocations: 19.97 kB / 379.4 MB, free: 1.59 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000111/0.005068, allocations: 119.8 kB / 379.5 MB, free: 1.473 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001984/0.005267, allocations: 243.6 kB / 379.7 MB, free: 1.234 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.123e-05/0.005288, allocations: 4 kB / 379.7 MB, free: 1.23 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.549e-05/0.005363, allocations: 31.92 kB / 379.8 MB, free: 1.199 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.621e-05/0.00546, allocations: 87.66 kB / 379.8 MB, free: 1.113 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.912e-05/0.005509, allocations: 43.72 kB / 379.9 MB, free: 1.07 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002509/0.00576, allocations: 195.2 kB / 380.1 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.005764, allocations: 0 / 380.1 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.005765, allocations: 4 kB / 380.1 MB, free: 0.875 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.683e-06/0.005772, allocations: 0 / 380.1 MB, free: 0.875 MB / 346.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.0006381/0.00641, allocations: 0.697 MB / 380.8 MB, free: 144 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.006451, allocations: 12.03 kB / 380.8 MB, free: 132 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.283e-05/0.006514, allocations: 44.66 kB / 380.8 MB, free: 88 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002083/0.006722, allocations: 248.8 kB / 381.1 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.057e-05/0.006733, allocations: 4.375 kB / 381.1 MB, free: 15.81 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.243e-05/0.006755, allocations: 12.3 kB / 381.1 MB, free: 15.8 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001268/0.006882, allocations: 58.94 kB / 381.2 MB, free: 15.73 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.006891, allocations: 192 / 381.2 MB, free: 15.73 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.006902, allocations: 4.125 kB / 381.2 MB, free: 15.73 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.00691, allocations: 8 kB / 381.2 MB, free: 15.72 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.586e-05/0.006946, allocations: 4 kB / 381.2 MB, free: 15.72 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004251/0.007371, allocations: 431.6 kB / 381.6 MB, free: 15.26 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001622/0.007533, allocations: 46.98 kB / 381.6 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.221e-05/0.007556, allocations: 11.69 kB / 381.7 MB, free: 15.19 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.907e-05/0.007575, allocations: 0 / 381.7 MB, free: 15.19 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.189e-05/0.007597, allocations: 37.47 kB / 381.7 MB, free: 15.14 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 8.61e-07/0.007598, allocations: 0 / 381.7 MB, free: 15.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004034/0.008001, allocations: 192.7 kB / 381.9 MB, free: 14.95 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.98e-05/0.008031, allocations: 55.41 kB / 381.9 MB, free: 14.88 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004218/0.008453, allocations: 0.6316 MB / 382.6 MB, free: 14.23 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.156e-05/0.008464, allocations: 25.7 kB / 382.6 MB, free: 14.2 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001441/0.008608, allocations: 282.8 kB / 382.9 MB, free: 13.92 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.442e-05/0.008633, allocations: 23.8 kB / 382.9 MB, free: 13.89 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.04e-05/0.008663, allocations: 19.38 kB / 382.9 MB, free: 13.87 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001588/0.008822, allocations: 0.5547 MB / 383.5 MB, free: 13.3 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.188e-05/0.008844, allocations: 7.938 kB / 383.5 MB, free: 13.29 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.715e-05/0.008861, allocations: 7.984 kB / 383.5 MB, free: 13.29 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.677e-05/0.008908, allocations: 31.81 kB / 383.5 MB, free: 13.25 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-06/0.008909, allocations: 4 kB / 383.5 MB, free: 13.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001006/0.009009, allocations: 93.41 kB / 383.6 MB, free: 13.15 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.009024, allocations: 8 kB / 383.6 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.009029, allocations: 0 / 383.6 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.009044, allocations: 3.938 kB / 383.6 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.893e-05/0.009093, allocations: 8 kB / 383.6 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.009099, allocations: 3.938 kB / 383.6 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.719e-05/0.009126, allocations: 7.984 kB / 383.6 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.658e-06/0.009131, allocations: 0 / 383.6 MB, free: 13.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 (5): * Single equations (assignments): 5 * 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 8.798e-05/0.009219, allocations: 164.5 kB / 383.8 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.409e-05/0.009253, allocations: 47.72 kB / 383.8 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001563/0.009409, allocations: 89.23 kB / 383.9 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.009411, allocations: 0 / 383.9 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.009415, allocations: 0 / 383.9 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.009419, allocations: 0 / 383.9 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003618/0.009781, allocations: 481.3 kB / 384.4 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.009782, allocations: 0 / 384.4 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.378e-05/0.009816, allocations: 8 kB / 384.4 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.009819, allocations: 0 / 384.4 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.072e-06/0.009825, allocations: 0 / 384.4 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.009826, allocations: 8 kB / 384.4 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.009827, allocations: 0 / 384.4 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000127/0.009954, allocations: 251.7 kB / 384.7 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.524e-05/0.009979, allocations: 39.66 kB / 384.7 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.732e-05/0.009997, allocations: 0 / 384.7 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.705e-05/0.01003, allocations: 4 kB / 384.7 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.331e-05/0.01007, allocations: 4.281 kB / 384.7 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/0.01007, allocations: 4 kB / 384.7 MB, free: 11.96 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002349/0.01031, allocations: 426.8 kB / 385.1 MB, free: 11.54 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01031, allocations: 0 / 385.1 MB, free: 11.54 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001713/0.01048, allocations: 27.98 kB / 385.2 MB, free: 11.52 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 (5): * Single equations (assignments): 5 * 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.0008402/0.01132, allocations: 384.6 kB / 385.5 MB, free: 11.27 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001051/0.01142, allocations: 31.67 kB / 385.6 MB, free: 11.24 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.01142, allocations: 4 kB / 385.6 MB, free: 11.23 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.49e-05/0.01145, allocations: 31.55 kB / 385.6 MB, free: 11.2 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002621/0.01171, allocations: 29.58 kB / 385.6 MB, free: 11.17 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006286/0.01234, allocations: 0.5785 MB / 386.2 MB, free: 10.56 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.965e-05/0.01241, allocations: 115.3 kB / 386.3 MB, free: 10.43 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.349e-05/0.01245, allocations: 11.98 kB / 386.3 MB, free: 10.42 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.945e-05/0.01248, allocations: 20.48 kB / 386.3 MB, free: 10.4 MB / 362.7 MB Notification: Performance of SimCode: time 8.21e-07/0.01248, allocations: 0 / 386.3 MB, free: 10.4 MB / 362.7 MB Notification: Performance of Templates: time 0.004202/0.01669, allocations: 1.4 MB / 387.7 MB, free: 9.012 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.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: 3.305776036111638]