Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.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.0009239/0.0009239, allocations: 83.67 kB / 21.7 MB, free: 2.844 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.0009856/0.0009856, allocations: 158.8 kB / 24.99 MB, free: 9.32 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 0.9248/0.9248, allocations: 177 MB / 205.2 MB, free: 5.211 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.2547/0.2547, allocations: 34.86 MB / 296.6 MB, free: 0.5273 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.CombiTable2Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D1D.y.[0-9,]+.|combiTable2D1DT.y.[0-9,]+.|clock1.y|combiTable1D.y.[0-9,]+.|combiTable2D.y.[0-9,]+.|combiTable2DT.y.[0-9,]+.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D1D.y.[0-9,]+.|combiTable2D1DT.y.[0-9,]+.|clock1.y|combiTable1D.y.[0-9,]+.|combiTable2D.y.[0-9,]+.|combiTable2DT.y.[0-9,]+.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 378.8 MB, free: 2.391 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.472e-05/2.656e-05, allocations: 4.703 kB / 378.8 MB, free: 2.387 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.002586/0.002613, allocations: 2.043 MB / 380.8 MB, free: 336 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001374/0.003987, allocations: 1.109 MB / 381.9 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001059/0.004093, allocations: 4 kB / 381.9 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004068/0.0045, allocations: 270.9 kB / 382.2 MB, free: 14.95 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004228/0.004923, allocations: 266.9 kB / 382.4 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008864/0.005809, allocations: 0.6391 MB / 383.1 MB, free: 14.04 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003556/0.006165, allocations: 367 kB / 383.4 MB, free: 13.68 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001809/0.006345, allocations: 48.91 kB / 383.5 MB, free: 13.64 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001682/0.006514, allocations: 183.4 kB / 383.7 MB, free: 13.46 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000189/0.006703, allocations: 207.5 kB / 383.9 MB, free: 13.25 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.385e-05/0.006727, allocations: 12 kB / 383.9 MB, free: 13.24 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001402/0.006867, allocations: 99.83 kB / 384 MB, free: 13.14 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001028/0.006969, allocations: 103.6 kB / 384.1 MB, free: 13.04 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.483e-05/0.007024, allocations: 55.72 kB / 384.1 MB, free: 12.99 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002853/0.00731, allocations: 286.7 kB / 384.4 MB, free: 12.71 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.007314, allocations: 0 / 384.4 MB, free: 12.71 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.007315, allocations: 0 / 384.4 MB, free: 12.71 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.007321, allocations: 0 / 384.4 MB, free: 12.71 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0006793/0.008001, allocations: 0.7048 MB / 385.1 MB, free: 11.96 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.00804, allocations: 8.031 kB / 385.1 MB, free: 11.95 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.518e-05/0.008116, allocations: 56.66 kB / 385.2 MB, free: 11.9 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002603/0.008376, allocations: 286.6 kB / 385.5 MB, free: 11.59 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.008387, allocations: 8.375 kB / 385.5 MB, free: 11.58 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.789e-05/0.008415, allocations: 16.38 kB / 385.5 MB, free: 11.57 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001639/0.008579, allocations: 101.1 kB / 385.6 MB, free: 11.46 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.008591, allocations: 192 / 385.6 MB, free: 11.46 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.008603, allocations: 4.375 kB / 385.6 MB, free: 11.46 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.008611, allocations: 4.375 kB / 385.6 MB, free: 11.45 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.177e-05/0.008683, allocations: 43.89 kB / 385.6 MB, free: 11.41 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00048/0.009163, allocations: 487.2 kB / 386.1 MB, free: 10.9 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001056/0.009268, allocations: 82.89 kB / 386.2 MB, free: 10.8 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.687e-05/0.009305, allocations: 23.67 kB / 386.2 MB, free: 10.78 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.259e-05/0.009328, allocations: 4 kB / 386.2 MB, free: 10.77 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.036e-05/0.009348, allocations: 33.39 kB / 386.3 MB, free: 10.73 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.142e-06/0.009349, allocations: 0 / 386.3 MB, free: 10.73 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005881/0.009937, allocations: 340.6 kB / 386.6 MB, free: 10.39 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.467e-05/0.009972, allocations: 55.41 kB / 386.6 MB, free: 10.32 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003632/0.01034, allocations: 498.7 kB / 387.1 MB, free: 9.824 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.312e-05/0.01035, allocations: 25.7 kB / 387.2 MB, free: 9.793 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001308/0.01048, allocations: 267.2 kB / 387.4 MB, free: 9.523 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.014e-05/0.01052, allocations: 55.48 kB / 387.5 MB, free: 9.469 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.533e-05/0.01056, allocations: 43.36 kB / 387.5 MB, free: 9.418 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.01071, allocations: 0.5313 MB / 388 MB, free: 8.875 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.501e-05/0.01075, allocations: 23.97 kB / 388.1 MB, free: 8.852 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.332e-05/0.0108, allocations: 31.89 kB / 388.1 MB, free: 8.82 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001012/0.0109, allocations: 81.48 kB / 388.2 MB, free: 8.738 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.0109, allocations: 0 / 388.2 MB, free: 8.738 MB / 362.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001719/0.01107, allocations: 160.1 kB / 388.3 MB, free: 8.578 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.01108, allocations: 8 kB / 388.3 MB, free: 8.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.01109, allocations: 0 / 388.3 MB, free: 8.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.0111, allocations: 7.938 kB / 388.3 MB, free: 8.562 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001076/0.01121, allocations: 39.92 kB / 388.4 MB, free: 8.523 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.01121, allocations: 0 / 388.4 MB, free: 8.523 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.22e-05/0.01125, allocations: 4 kB / 388.4 MB, free: 8.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/0.01126, allocations: 11.98 kB / 388.4 MB, free: 8.508 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 (17): * Single equations (assignments): 17 * 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.398e-05/0.01134, allocations: 156.6 kB / 388.6 MB, free: 8.344 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.728e-05/0.01139, allocations: 51.66 kB / 388.6 MB, free: 8.293 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002598/0.01165, allocations: 181.7 kB / 388.8 MB, free: 8.105 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.01165, allocations: 7.938 kB / 388.8 MB, free: 8.098 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.01166, allocations: 4 kB / 388.8 MB, free: 8.094 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.01166, allocations: 7.984 kB / 388.8 MB, free: 8.086 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00047/0.01213, allocations: 0.5596 MB / 389.4 MB, free: 7.484 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.01213, allocations: 0 / 389.4 MB, free: 7.484 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.583e-05/0.0122, allocations: 31.98 kB / 389.4 MB, free: 7.453 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.0122, allocations: 0 / 389.4 MB, free: 7.453 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.979e-06/0.01221, allocations: 8 kB / 389.4 MB, free: 7.445 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.01221, allocations: 0 / 389.4 MB, free: 7.445 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.01221, allocations: 0 / 389.4 MB, free: 7.445 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002172/0.01243, allocations: 322.1 kB / 389.7 MB, free: 7.113 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.121e-05/0.01245, allocations: 31.72 kB / 389.7 MB, free: 7.082 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.21e-05/0.01247, allocations: 8 kB / 389.8 MB, free: 7.074 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.679e-05/0.01252, allocations: 7.984 kB / 389.8 MB, free: 7.066 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.648e-05/0.01256, allocations: 15.97 kB / 389.8 MB, free: 7.051 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.634e-06/0.01257, allocations: 4 kB / 389.8 MB, free: 7.047 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002442/0.01281, allocations: 331 kB / 390.1 MB, free: 6.73 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01281, allocations: 0 / 390.1 MB, free: 6.73 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002006/0.01301, allocations: 51.92 kB / 390.2 MB, free: 6.68 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 (17): * Single equations (assignments): 17 * 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.001414/0.01443, allocations: 0.649 MB / 390.8 MB, free: 6.262 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001728/0.0146, allocations: 95.55 kB / 390.9 MB, free: 6.164 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.0146, allocations: 0 / 390.9 MB, free: 6.164 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.796e-05/0.01466, allocations: 55.61 kB / 391 MB, free: 6.105 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000322/0.01498, allocations: 87.44 kB / 391 MB, free: 6.023 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007172/0.0157, allocations: 0.604 MB / 391.6 MB, free: 5.391 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.015e-05/0.01577, allocations: 132.2 kB / 391.8 MB, free: 5.242 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.429e-05/0.01585, allocations: 49.91 kB / 391.8 MB, free: 5.195 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.134e-05/0.0159, allocations: 32.48 kB / 391.9 MB, free: 5.164 MB / 362.7 MB Notification: Performance of SimCode: time 8.42e-07/0.0159, allocations: 0 / 391.9 MB, free: 5.164 MB / 362.7 MB Notification: Performance of Templates: time 0.005524/0.02143, allocations: 3.443 MB / 395.3 MB, free: 1.758 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test21/Test21.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.15601121308282]