Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.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.0008737/0.0008737, allocations: 81.86 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.0009945/0.0009945, allocations: 166.6 kB / 24.82 MB, free: 8.77 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 1.1/1.1, allocations: 177.1 MB / 205.3 MB, free: 5.52 MB / 186.7 MB " [Timeout remaining time 179] 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.3362/0.3362, allocations: 34.26 MB / 296.1 MB, free: 0.6367 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.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.214e-06/2.214e-06, allocations: 0 / 378.5 MB, free: 2.348 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.782e-05/2.004e-05, allocations: 6.312 kB / 378.5 MB, free: 2.34 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.002368/0.002388, allocations: 1.684 MB / 380.2 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007961/0.003184, allocations: 0.5413 MB / 380.7 MB, free: 100 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.956e-05/0.003244, allocations: 0 / 380.7 MB, free: 100 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005001/0.003744, allocations: 451.1 kB / 381.2 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004095/0.004153, allocations: 299.1 kB / 381.5 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002679/0.004421, allocations: 127.6 kB / 381.6 MB, free: 15.24 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002176/0.004639, allocations: 167.6 kB / 381.8 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.637e-05/0.004735, allocations: 11.98 kB / 381.8 MB, free: 15.06 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001247/0.00486, allocations: 119.8 kB / 381.9 MB, free: 14.95 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001954/0.005055, allocations: 247.5 kB / 382.1 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.732e-05/0.005072, allocations: 4 kB / 382.1 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.064e-05/0.005143, allocations: 31.94 kB / 382.2 MB, free: 14.67 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.492e-05/0.005228, allocations: 83.7 kB / 382.3 MB, free: 14.59 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.405e-05/0.005262, allocations: 39.73 kB / 382.3 MB, free: 14.55 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001994/0.005461, allocations: 195.2 kB / 382.5 MB, free: 14.36 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.005464, allocations: 0 / 382.5 MB, free: 14.36 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.61e-07/0.005465, allocations: 0 / 382.5 MB, free: 14.36 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.007e-06/0.005469, allocations: 0 / 382.5 MB, free: 14.36 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006271/0.006096, allocations: 0.7009 MB / 383.2 MB, free: 13.62 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.006133, allocations: 12.02 kB / 383.2 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.406e-05/0.006177, allocations: 44.66 kB / 383.2 MB, free: 13.56 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001674/0.006345, allocations: 244.9 kB / 383.5 MB, free: 13.3 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.366e-06/0.006353, allocations: 384 / 383.5 MB, free: 13.3 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.525e-05/0.006368, allocations: 4.375 kB / 383.5 MB, free: 13.29 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001123/0.006481, allocations: 62.92 kB / 383.5 MB, free: 13.22 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.00649, allocations: 192 / 383.5 MB, free: 13.22 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.704e-06/0.006498, allocations: 4.125 kB / 383.6 MB, free: 13.22 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.006504, allocations: 3.984 kB / 383.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.268e-05/0.006526, allocations: 11.94 kB / 383.6 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002913/0.006818, allocations: 340.2 kB / 383.9 MB, free: 12.84 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001238/0.006941, allocations: 43.05 kB / 383.9 MB, free: 12.79 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.74e-05/0.006959, allocations: 19.62 kB / 384 MB, free: 12.77 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.04e-05/0.006979, allocations: 3.938 kB / 384 MB, free: 12.76 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.155e-05/0.007001, allocations: 37.39 kB / 384 MB, free: 12.71 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 9.91e-07/0.007002, allocations: 0 / 384 MB, free: 12.71 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002831/0.007285, allocations: 121.4 kB / 384.1 MB, free: 12.59 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.911e-05/0.007314, allocations: 51.41 kB / 384.2 MB, free: 12.53 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003874/0.007701, allocations: 0.6079 MB / 384.8 MB, free: 11.9 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.419e-05/0.007716, allocations: 29.7 kB / 384.8 MB, free: 11.87 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001662/0.007882, allocations: 294.7 kB / 385.1 MB, free: 11.57 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.518e-05/0.007907, allocations: 19.84 kB / 385.1 MB, free: 11.55 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.416e-05/0.007941, allocations: 23.36 kB / 385.1 MB, free: 11.52 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0005352/0.008476, allocations: 0.5547 MB / 385.7 MB, free: 10.96 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.492e-05/0.008491, allocations: 4 kB / 385.7 MB, free: 10.95 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.593e-05/0.008507, allocations: 11.92 kB / 385.7 MB, free: 10.94 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.231e-05/0.00854, allocations: 19.69 kB / 385.7 MB, free: 10.92 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-06/0.008541, allocations: 0 / 385.7 MB, free: 10.92 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001064/0.008647, allocations: 97.28 kB / 385.8 MB, free: 10.82 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.008664, allocations: 10.03 kB / 385.8 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.008671, allocations: 7.984 kB / 385.8 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.008685, allocations: 0 / 385.8 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.581e-05/0.008731, allocations: 8 kB / 385.8 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.008736, allocations: 3.984 kB / 385.8 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.544e-05/0.008761, allocations: 4 kB / 385.9 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-06/0.008766, allocations: 0 / 385.9 MB, free: 10.79 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.511e-05/0.008851, allocations: 160.6 kB / 386 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.346e-05/0.008885, allocations: 47.61 kB / 386.1 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001375/0.009022, allocations: 93.17 kB / 386.1 MB, free: 10.47 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/0.009025, allocations: 8 kB / 386.2 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.923e-06/0.009027, allocations: 0 / 386.2 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.009031, allocations: 0 / 386.2 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002886/0.009319, allocations: 382.2 kB / 386.5 MB, free: 10.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.009321, allocations: 4.062 kB / 386.5 MB, free: 10.05 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.167e-05/0.009353, allocations: 15.92 kB / 386.5 MB, free: 10.04 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.009356, allocations: 0 / 386.5 MB, free: 10.04 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.769e-06/0.009361, allocations: 4 kB / 386.6 MB, free: 10.03 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.009362, allocations: 4 kB / 386.6 MB, free: 10.03 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.009363, allocations: 0 / 386.6 MB, free: 10.03 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001175/0.00948, allocations: 239.6 kB / 386.8 MB, free: 9.773 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.283e-05/0.009503, allocations: 39.72 kB / 386.8 MB, free: 9.734 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.259e-05/0.009516, allocations: 0 / 386.8 MB, free: 9.734 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.73e-05/0.009553, allocations: 4 kB / 386.8 MB, free: 9.73 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.225e-05/0.009575, allocations: 3.984 kB / 386.8 MB, free: 9.727 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.057e-06/0.009579, allocations: 4 kB / 386.8 MB, free: 9.723 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002003/0.00978, allocations: 390.7 kB / 387.2 MB, free: 9.344 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00978, allocations: 0 / 387.2 MB, free: 9.344 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001636/0.009943, allocations: 23.94 kB / 387.2 MB, free: 9.32 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.0008062/0.01075, allocations: 393 kB / 387.6 MB, free: 9.066 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.604e-05/0.01084, allocations: 23.67 kB / 387.7 MB, free: 9.039 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.01084, allocations: 0 / 387.7 MB, free: 9.039 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.083e-05/0.01086, allocations: 15.69 kB / 387.7 MB, free: 9.02 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002601/0.01112, allocations: 44.31 kB / 387.7 MB, free: 8.98 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006043/0.01172, allocations: 0.5705 MB / 388.3 MB, free: 8.379 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.174e-05/0.01179, allocations: 115.3 kB / 388.4 MB, free: 8.246 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.061e-05/0.01182, allocations: 11.97 kB / 388.4 MB, free: 8.234 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.263e-05/0.01188, allocations: 78.2 kB / 388.5 MB, free: 8.156 MB / 362.7 MB Notification: Performance of SimCode: time 4.21e-07/0.01188, allocations: 0 / 388.5 MB, free: 8.156 MB / 362.7 MB Notification: Performance of Templates: time 0.003964/0.01584, allocations: 1.487 MB / 390 MB, free: 6.68 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/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.2441226597875357]