Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001297/0.001297, allocations: 79.69 kB / 21.7 MB, free: 2.852 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00162/0.00162, allocations: 168.4 kB / 24.99 MB, free: 8.801 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.007/1.007, allocations: 177 MB / 205.2 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2553/0.2553, allocations: 34.86 MB / 296.6 MB, free: 0.5703 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.794e-06/1.794e-06, allocations: 3.938 kB / 378.8 MB, free: 2.406 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.245e-05/2.425e-05, allocations: 2.312 kB / 378.8 MB, free: 2.402 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test16): time 0.003101/0.003126, allocations: 1.698 MB / 380.5 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008848/0.00401, allocations: 0.8024 MB / 381.3 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.039e-05/0.004051, allocations: 0 / 381.3 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002546/0.004305, allocations: 35.77 kB / 381.3 MB, free: 15.85 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002271/0.004532, allocations: 39.77 kB / 381.3 MB, free: 15.81 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.998e-06/0.004536, allocations: 4 kB / 381.3 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000154/0.00469, allocations: 23.91 kB / 381.4 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.205e-05/0.004733, allocations: 11.98 kB / 381.4 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.951e-05/0.004772, allocations: 15.94 kB / 381.4 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.895e-05/0.004831, allocations: 19.84 kB / 381.4 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.215e-05/0.004843, allocations: 0 / 381.4 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.791e-05/0.004891, allocations: 8 kB / 381.4 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.719e-05/0.004938, allocations: 15.98 kB / 381.4 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.169e-05/0.00496, allocations: 11.94 kB / 381.4 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001359/0.005096, allocations: 55.7 kB / 381.5 MB, free: 15.64 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.005098, allocations: 4 kB / 381.5 MB, free: 15.64 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.91e-07/0.005099, allocations: 0 / 381.5 MB, free: 15.64 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.968e-06/0.005103, allocations: 0 / 381.5 MB, free: 15.64 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003607/0.005464, allocations: 388.3 kB / 381.9 MB, free: 15.22 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.005502, allocations: 16.03 kB / 381.9 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.31e-05/0.005545, allocations: 8.891 kB / 381.9 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001223/0.005667, allocations: 124.5 kB / 382 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.005681, allocations: 4.375 kB / 382 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.082e-05/0.005691, allocations: 4.375 kB / 382 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001518/0.005843, allocations: 112.3 kB / 382.1 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.005851, allocations: 192 / 382.1 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.749e-06/0.005861, allocations: 384 / 382.1 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.819e-05/0.005919, allocations: 28.34 kB / 382.2 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.499e-05/0.005974, allocations: 31.8 kB / 382.2 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006414/0.006615, allocations: 1.196 MB / 383.4 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001013/0.006716, allocations: 273.5 kB / 383.7 MB, free: 13.3 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.034e-05/0.006757, allocations: 126.9 kB / 383.8 MB, free: 13.18 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.126e-05/0.006788, allocations: 119.2 kB / 383.9 MB, free: 13.06 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.242e-05/0.00684, allocations: 156.6 kB / 384.1 MB, free: 12.89 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.006842, allocations: 4 kB / 384.1 MB, free: 12.89 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 7.503e-05/0.006917, allocations: 41.53 kB / 384.1 MB, free: 12.84 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.188e-05/0.006978, allocations: 170.6 kB / 384.3 MB, free: 12.66 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002069/0.007185, allocations: 251.8 kB / 384.5 MB, free: 12.4 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.039e-05/0.007196, allocations: 25.7 kB / 384.5 MB, free: 12.37 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.007297, allocations: 206.2 kB / 384.7 MB, free: 12.16 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.819e-06/0.007302, allocations: 4 kB / 384.7 MB, free: 12.16 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.589e-05/0.007368, allocations: 51.31 kB / 384.8 MB, free: 12.1 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001505/0.007518, allocations: 0.4962 MB / 385.3 MB, free: 11.59 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.61e-05/0.007555, allocations: 15.98 kB / 385.3 MB, free: 11.58 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000133/0.007688, allocations: 196.8 kB / 385.5 MB, free: 11.3 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002001/0.007888, allocations: 237.4 kB / 385.7 MB, free: 10.99 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.007891, allocations: 0 / 385.7 MB, free: 10.99 MB / 362.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002828/0.008174, allocations: 165.6 kB / 385.9 MB, free: 10.82 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.008193, allocations: 8 kB / 385.9 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.008201, allocations: 4 kB / 385.9 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.057e-05/0.008222, allocations: 11.94 kB / 385.9 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001389/0.00836, allocations: 35.92 kB / 386 MB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.304e-05/0.008374, allocations: 11.92 kB / 386 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.269e-05/0.008466, allocations: 31.78 kB / 386 MB, free: 10.72 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.446e-05/0.008481, allocations: 8 kB / 386 MB, free: 10.71 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001176/0.008598, allocations: 283.7 kB / 386.3 MB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.412e-05/0.008672, allocations: 157 kB / 386.4 MB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.914e-05/0.008732, allocations: 160.7 kB / 386.6 MB, free: 10.1 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.66e-05/0.008808, allocations: 276 kB / 386.9 MB, free: 9.824 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.206e-05/0.00888, allocations: 264.2 kB / 387.1 MB, free: 9.559 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.632e-05/0.008957, allocations: 272 kB / 387.4 MB, free: 9.285 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002503/0.009207, allocations: 0.5155 MB / 387.9 MB, free: 8.727 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.692e-05/0.009254, allocations: 144.9 kB / 388 MB, free: 8.578 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.28e-05/0.009297, allocations: 152.8 kB / 388.2 MB, free: 8.422 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.191e-05/0.009368, allocations: 264.1 kB / 388.4 MB, free: 8.156 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-05/0.009444, allocations: 268 kB / 388.7 MB, free: 7.887 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.135e-05/0.009516, allocations: 272.1 kB / 389 MB, free: 7.613 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.446e-05/0.00959, allocations: 276 kB / 389.2 MB, free: 7.336 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001628/0.009753, allocations: 455.9 kB / 389.7 MB, free: 6.863 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.459e-05/0.009807, allocations: 160.8 kB / 389.8 MB, free: 6.699 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.835e-05/0.009896, allocations: 268.1 kB / 390.1 MB, free: 6.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.009998, allocations: 148.9 kB / 390.3 MB, free: 6.277 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.591e-05/0.01008, allocations: 276 kB / 390.5 MB, free: 6 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.514e-05/0.01013, allocations: 144.9 kB / 390.7 MB, free: 5.852 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001116/0.01024, allocations: 164 kB / 390.8 MB, free: 5.691 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.01024, allocations: 0 / 390.8 MB, free: 5.691 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003341/0.01057, allocations: 16 kB / 390.8 MB, free: 5.676 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 (0): * Single equations (assignments): 0 * 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.000569/0.01114, allocations: 307.4 kB / 391.1 MB, free: 5.402 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001581/0.0113, allocations: 71.41 kB / 391.2 MB, free: 5.328 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.0113, allocations: 0 / 391.2 MB, free: 5.328 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.724e-06/0.01131, allocations: 3.938 kB / 391.2 MB, free: 5.324 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004336/0.01174, allocations: 0.7113 MB / 391.9 MB, free: 4.609 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003482/0.01209, allocations: 285.3 kB / 392.2 MB, free: 4.301 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.537e-05/0.01214, allocations: 59.84 kB / 392.3 MB, free: 4.223 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001263/0.01227, allocations: 45.08 kB / 392.3 MB, free: 4.18 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.659e-05/0.01231, allocations: 20.5 kB / 392.3 MB, free: 4.16 MB / 362.7 MB Notification: Performance of SimCode: time 1.012e-06/0.01231, allocations: 0 / 392.3 MB, free: 4.16 MB / 362.7 MB Notification: Performance of Templates: time 0.002869/0.01518, allocations: 0.7355 MB / 393.1 MB, free: 3.438 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test16/Test16.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.943239300046116]