Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.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.001139/0.001139, allocations: 85.91 kB / 22.22 MB, free: 2.285 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.001208/0.001208, allocations: 161.6 kB / 25.61 MB, free: 8.582 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.9873/0.9873, allocations: 177 MB / 205.9 MB, free: 4.414 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.1638/0.1638, allocations: 34.87 MB / 297.4 MB, free: 13.34 MB / 282.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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 380 MB, free: 22.72 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.715e-05/1.863e-05, allocations: 3.969 kB / 380 MB, free: 22.72 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.002091/0.002109, allocations: 1.702 MB / 381.7 MB, free: 21.01 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007628/0.002872, allocations: 0.5756 MB / 382.3 MB, free: 20.43 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.224e-05/0.002944, allocations: 4 kB / 382.3 MB, free: 20.43 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003855/0.00333, allocations: 451.1 kB / 382.8 MB, free: 19.98 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003361/0.003666, allocations: 307.1 kB / 383.1 MB, free: 19.68 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002928/0.003959, allocations: 179.5 kB / 383.2 MB, free: 19.51 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001797/0.004138, allocations: 183.6 kB / 383.4 MB, free: 19.33 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.004239, allocations: 16.22 kB / 383.4 MB, free: 19.31 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.072e-05/0.00433, allocations: 127.8 kB / 383.6 MB, free: 19.18 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001624/0.004493, allocations: 235.6 kB / 383.8 MB, free: 18.95 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.642e-05/0.004509, allocations: 4 kB / 383.8 MB, free: 18.95 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.705e-05/0.004596, allocations: 63.91 kB / 383.8 MB, free: 18.89 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 7.942e-05/0.004676, allocations: 91.64 kB / 383.9 MB, free: 18.8 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.574e-05/0.004711, allocations: 35.75 kB / 384 MB, free: 18.76 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001835/0.004895, allocations: 215.1 kB / 384.2 MB, free: 18.55 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.674e-06/0.004896, allocations: 4 kB / 384.2 MB, free: 18.55 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.004897, allocations: 0 / 384.2 MB, free: 18.55 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.004902, allocations: 3.938 kB / 384.2 MB, free: 18.54 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004458/0.005347, allocations: 0.7125 MB / 384.9 MB, free: 17.79 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.005381, allocations: 8.031 kB / 384.9 MB, free: 17.78 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.346e-05/0.005425, allocations: 48.66 kB / 385 MB, free: 17.73 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001583/0.005583, allocations: 260.8 kB / 385.2 MB, free: 17.45 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.247e-06/0.005592, allocations: 384 / 385.2 MB, free: 17.45 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.826e-05/0.005611, allocations: 4.375 kB / 385.2 MB, free: 17.45 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.773e-05/0.005708, allocations: 62.94 kB / 385.3 MB, free: 17.38 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.005719, allocations: 4.141 kB / 385.3 MB, free: 17.37 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.285e-06/0.005727, allocations: 4.375 kB / 385.3 MB, free: 17.37 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.005734, allocations: 384 / 385.3 MB, free: 17.37 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.533e-05/0.005759, allocations: 19.86 kB / 385.3 MB, free: 17.35 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002718/0.006031, allocations: 344.2 kB / 385.6 MB, free: 16.98 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001405/0.006171, allocations: 55.08 kB / 385.7 MB, free: 16.92 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.843e-05/0.00619, allocations: 11.69 kB / 385.7 MB, free: 16.9 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.68e-05/0.006206, allocations: 4 kB / 385.7 MB, free: 16.9 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.611e-05/0.006222, allocations: 37.52 kB / 385.7 MB, free: 16.85 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 9.91e-07/0.006223, allocations: 0 / 385.7 MB, free: 16.85 MB / 314.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005163/0.00674, allocations: 257.3 kB / 386 MB, free: 16.59 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.424e-05/0.006764, allocations: 63.34 kB / 386.1 MB, free: 16.52 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002742/0.007038, allocations: 0.604 MB / 386.7 MB, free: 15.9 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.097e-06/0.007047, allocations: 29.7 kB / 386.7 MB, free: 15.86 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/0.00716, allocations: 306.6 kB / 387 MB, free: 15.56 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.829e-05/0.007188, allocations: 35.69 kB / 387 MB, free: 15.52 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.465e-05/0.007223, allocations: 31.36 kB / 387.1 MB, free: 15.48 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.182e-05/0.007314, allocations: 0.5586 MB / 387.6 MB, free: 14.91 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.848e-05/0.007333, allocations: 12.17 kB / 387.6 MB, free: 14.9 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.994e-05/0.007353, allocations: 16 kB / 387.6 MB, free: 14.89 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.914e-05/0.007402, allocations: 47.28 kB / 387.7 MB, free: 14.84 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.007404, allocations: 7.938 kB / 387.7 MB, free: 14.83 MB / 314.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001045/0.007508, allocations: 121.3 kB / 387.8 MB, free: 14.71 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.00752, allocations: 6.5 kB / 387.8 MB, free: 14.7 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.007524, allocations: 0 / 387.8 MB, free: 14.7 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.017e-06/0.007533, allocations: 0 / 387.8 MB, free: 14.7 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.651e-05/0.00759, allocations: 23.98 kB / 387.8 MB, free: 14.68 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.007594, allocations: 3.984 kB / 387.9 MB, free: 14.68 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.963e-05/0.007623, allocations: 4 kB / 387.9 MB, free: 14.67 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.553e-06/0.00763, allocations: 4 kB / 387.9 MB, free: 14.67 MB / 314.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 (11): * Single equations (assignments): 11 * 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 5.693e-05/0.007687, allocations: 164.5 kB / 388 MB, free: 14.5 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.332e-05/0.00772, allocations: 51.67 kB / 388.1 MB, free: 14.45 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000139/0.007859, allocations: 133.4 kB / 388.2 MB, free: 14.3 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.007861, allocations: 0 / 388.2 MB, free: 14.3 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/0.007863, allocations: 0 / 388.2 MB, free: 14.3 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.007867, allocations: 0 / 388.2 MB, free: 14.3 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002828/0.008149, allocations: 477 kB / 388.7 MB, free: 13.8 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.008152, allocations: 3.984 kB / 388.7 MB, free: 13.79 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.542e-05/0.008198, allocations: 23.98 kB / 388.7 MB, free: 13.77 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.0082, allocations: 64 / 388.7 MB, free: 13.77 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.328e-06/0.008209, allocations: 12 kB / 388.7 MB, free: 13.76 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.008211, allocations: 0 / 388.7 MB, free: 13.76 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.008213, allocations: 0 / 388.7 MB, free: 13.76 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000121/0.008334, allocations: 290.8 kB / 389 MB, free: 13.45 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.207e-05/0.008356, allocations: 39.67 kB / 389 MB, free: 13.41 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.049e-05/0.008376, allocations: 0 / 389 MB, free: 13.41 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.705e-05/0.008423, allocations: 12 kB / 389 MB, free: 13.39 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.313e-05/0.008456, allocations: 11.97 kB / 389.1 MB, free: 13.38 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.121e-06/0.008462, allocations: 3.984 kB / 389.1 MB, free: 13.38 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001619/0.008624, allocations: 398.6 kB / 389.4 MB, free: 12.99 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008624, allocations: 4 kB / 389.4 MB, free: 12.99 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001921/0.008817, allocations: 35.92 kB / 389.5 MB, free: 12.95 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.0009747/0.009791, allocations: 431.8 kB / 389.9 MB, free: 12.69 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001168/0.009908, allocations: 51.59 kB / 390 MB, free: 12.64 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.00991, allocations: 4 kB / 390 MB, free: 12.63 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.266e-05/0.009943, allocations: 35.61 kB / 390 MB, free: 12.59 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002436/0.01019, allocations: 30.28 kB / 390 MB, free: 12.57 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005839/0.01077, allocations: 0.6407 MB / 390.7 MB, free: 11.89 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.069e-05/0.01083, allocations: 127.1 kB / 390.8 MB, free: 11.74 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.32e-05/0.01087, allocations: 20.42 kB / 390.8 MB, free: 11.72 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.431e-05/0.01093, allocations: 86.19 kB / 390.9 MB, free: 11.64 MB / 314.7 MB Notification: Performance of SimCode: time 7.01e-07/0.01093, allocations: 4 kB / 390.9 MB, free: 11.63 MB / 314.7 MB Notification: Performance of Templates: time 0.004248/0.01518, allocations: 2.012 MB / 392.9 MB, free: 9.648 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.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.5466765859164298]