Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001344/0.001344, allocations: 75.59 kB / 21.18 MB, free: 3.391 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.001573/0.001573, allocations: 161.4 kB / 24.56 MB, free: 20 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.003/1.003, allocations: 177.2 MB / 205 MB, free: 5.277 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.2656/0.2656, allocations: 32.8 MB / 294.3 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.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.0.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.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 376 MB, free: 4.664 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.326e-05/3.514e-05, allocations: 6.25 kB / 376 MB, free: 4.656 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.002415/0.002451, allocations: 1.693 MB / 377.7 MB, free: 2.949 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007784/0.003229, allocations: 0.5453 MB / 378.3 MB, free: 2.398 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.947e-05/0.003289, allocations: 4 kB / 378.3 MB, free: 2.395 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004631/0.003752, allocations: 455 kB / 378.7 MB, free: 1.949 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000399/0.004151, allocations: 291.2 kB / 379 MB, free: 1.664 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002977/0.004448, allocations: 139.5 kB / 379.1 MB, free: 1.527 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002164/0.004665, allocations: 167.7 kB / 379.3 MB, free: 1.363 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.175e-05/0.004756, allocations: 4 kB / 379.3 MB, free: 1.359 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00011/0.004866, allocations: 119.8 kB / 379.4 MB, free: 1.242 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000177/0.005043, allocations: 243.5 kB / 379.7 MB, free: 1.004 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.712e-05/0.005061, allocations: 8 kB / 379.7 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.637e-05/0.005147, allocations: 35.92 kB / 379.7 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.232e-05/0.005239, allocations: 83.7 kB / 379.8 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.806e-05/0.005277, allocations: 35.75 kB / 379.8 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002159/0.005493, allocations: 195.2 kB / 380 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.005496, allocations: 4 kB / 380 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.005497, allocations: 3.938 kB / 380 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.005502, allocations: 0 / 380 MB, free: 0.6445 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.0006267/0.006129, allocations: 0.6855 MB / 380.7 MB, free: 15.92 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.006175, allocations: 12.03 kB / 380.7 MB, free: 15.91 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.125e-05/0.006246, allocations: 52.64 kB / 380.8 MB, free: 15.86 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001901/0.006436, allocations: 244.9 kB / 381 MB, free: 15.59 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.656e-06/0.006445, allocations: 384 / 381 MB, free: 15.59 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.551e-05/0.00647, allocations: 8.359 kB / 381 MB, free: 15.58 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001157/0.006586, allocations: 58.94 kB / 381.1 MB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.006595, allocations: 192 / 381.1 MB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.006605, allocations: 8.062 kB / 381.1 MB, free: 15.51 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.006611, allocations: 0 / 381.1 MB, free: 15.51 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.958e-05/0.006641, allocations: 12 kB / 381.1 MB, free: 15.5 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004/0.00704, allocations: 427.6 kB / 381.5 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001715/0.007212, allocations: 54.92 kB / 381.6 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.22e-05/0.007234, allocations: 11.69 kB / 381.6 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.114e-05/0.007255, allocations: 0 / 381.6 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.23e-05/0.007278, allocations: 41.39 kB / 381.6 MB, free: 14.91 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 7.52e-07/0.007278, allocations: 3.938 kB / 381.6 MB, free: 14.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003788/0.007657, allocations: 184.8 kB / 381.8 MB, free: 14.72 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.749e-05/0.007685, allocations: 51.41 kB / 381.9 MB, free: 14.66 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000398/0.008083, allocations: 0.6316 MB / 382.5 MB, free: 14.01 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.072e-05/0.008093, allocations: 25.7 kB / 382.5 MB, free: 13.98 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001311/0.008225, allocations: 282.8 kB / 382.8 MB, free: 13.7 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.229e-05/0.008247, allocations: 19.83 kB / 382.8 MB, free: 13.68 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.212e-05/0.008279, allocations: 23.38 kB / 382.8 MB, free: 13.64 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.008426, allocations: 0.5547 MB / 383.4 MB, free: 13.08 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.966e-05/0.008446, allocations: 8 kB / 383.4 MB, free: 13.07 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.333e-05/0.008459, allocations: 4 kB / 383.4 MB, free: 13.07 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.021e-05/0.008499, allocations: 27.56 kB / 383.4 MB, free: 13.04 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.0085, allocations: 0 / 383.4 MB, free: 13.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001035/0.008603, allocations: 101.6 kB / 383.5 MB, free: 12.93 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.008619, allocations: 4 kB / 383.5 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.008624, allocations: 0 / 383.5 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.008639, allocations: 0 / 383.5 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.358e-05/0.008693, allocations: 15.98 kB / 383.5 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.104e-06/0.0087, allocations: 4 kB / 383.5 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.515e-05/0.008725, allocations: 0 / 383.5 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.929e-06/0.00873, allocations: 0 / 383.5 MB, free: 12.91 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 7.758e-05/0.008808, allocations: 160.5 kB / 383.7 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.834e-05/0.008846, allocations: 47.72 kB / 383.8 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001605/0.009007, allocations: 101.1 kB / 383.9 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.009009, allocations: 0 / 383.9 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.009014, allocations: 4 kB / 383.9 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.009017, allocations: 0 / 383.9 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003293/0.009347, allocations: 469.3 kB / 384.3 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.009349, allocations: 0 / 384.3 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.385e-05/0.009383, allocations: 15.98 kB / 384.3 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.009385, allocations: 0 / 384.3 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.931e-06/0.009391, allocations: 0 / 384.3 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.009393, allocations: 4 kB / 384.3 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.009394, allocations: 0 / 384.3 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001201/0.009515, allocations: 239.6 kB / 384.6 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.354e-05/0.009538, allocations: 35.72 kB / 384.6 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.477e-05/0.009553, allocations: 4.188 kB / 384.6 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.743e-05/0.00959, allocations: 8 kB / 384.6 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.135e-05/0.009622, allocations: 8.266 kB / 384.6 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-06/0.009625, allocations: 4 kB / 384.6 MB, free: 11.75 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002472/0.009872, allocations: 434.7 kB / 385 MB, free: 11.32 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009872, allocations: 0 / 385 MB, free: 11.32 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001781/0.01005, allocations: 23.94 kB / 385.1 MB, free: 11.3 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.0008668/0.01092, allocations: 392.6 kB / 385.5 MB, free: 11.05 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.826e-05/0.01102, allocations: 27.67 kB / 385.5 MB, free: 11.02 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.01102, allocations: 0 / 385.5 MB, free: 11.02 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.289e-05/0.01104, allocations: 23.62 kB / 385.5 MB, free: 10.99 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002446/0.01128, allocations: 28.3 kB / 385.5 MB, free: 10.96 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006087/0.01189, allocations: 0.5651 MB / 386.1 MB, free: 10.37 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.309e-05/0.01197, allocations: 119.2 kB / 386.2 MB, free: 10.23 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.263e-05/0.012, allocations: 11.98 kB / 386.2 MB, free: 10.22 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.044e-05/0.01203, allocations: 16.5 kB / 386.2 MB, free: 10.21 MB / 362.7 MB Notification: Performance of SimCode: time 6.81e-07/0.01203, allocations: 0 / 386.2 MB, free: 10.21 MB / 362.7 MB Notification: Performance of Templates: time 0.004064/0.01609, allocations: 1.382 MB / 387.6 MB, free: 8.84 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.3147936491295695]