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.001072/0.001072, allocations: 91.5 kB / 21.2 MB, free: 3.371 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.0009625/0.0009625, allocations: 156.5 kB / 24.55 MB, free: 16 kB / 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.9862/0.9862, allocations: 177 MB / 204.8 MB, free: 5.594 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.318/0.318, allocations: 34.87 MB / 296.3 MB, free: 0.5469 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.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.573e-06/1.573e-06, allocations: 0 / 378.8 MB, free: 2.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.64e-05/2.797e-05, allocations: 2.312 kB / 378.8 MB, free: 2.066 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.002327/0.002355, allocations: 1.72 MB / 380.5 MB, free: 344 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008817/0.003237, allocations: 0.5874 MB / 381.1 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.95e-05/0.003287, allocations: 0 / 381.1 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004473/0.003734, allocations: 463 kB / 381.5 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003383/0.004072, allocations: 299.1 kB / 381.8 MB, free: 15 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002585/0.004331, allocations: 175.5 kB / 382 MB, free: 14.83 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000183/0.004514, allocations: 183.7 kB / 382.2 MB, free: 14.65 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.293e-05/0.004607, allocations: 24.16 kB / 382.2 MB, free: 14.62 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001209/0.004727, allocations: 119.8 kB / 382.3 MB, free: 14.5 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002103/0.004938, allocations: 251.5 kB / 382.6 MB, free: 14.26 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.228e-05/0.00496, allocations: 4 kB / 382.6 MB, free: 14.25 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.095e-05/0.005051, allocations: 51.91 kB / 382.6 MB, free: 14.2 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.906e-05/0.00515, allocations: 87.7 kB / 382.7 MB, free: 14.12 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.343e-05/0.005204, allocations: 39.73 kB / 382.8 MB, free: 14.08 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002524/0.005456, allocations: 223 kB / 383 MB, free: 13.86 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.005459, allocations: 0 / 383 MB, free: 13.86 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.00546, allocations: 0 / 383 MB, free: 13.86 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.005466, allocations: 0 / 383 MB, free: 13.86 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006139/0.00608, allocations: 0.7087 MB / 383.7 MB, free: 13.11 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.006115, allocations: 12.03 kB / 383.7 MB, free: 13.1 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.114e-05/0.006176, allocations: 48.61 kB / 383.7 MB, free: 13.05 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001805/0.006357, allocations: 248.8 kB / 384 MB, free: 12.78 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.006368, allocations: 8.375 kB / 384 MB, free: 12.77 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.917e-05/0.006387, allocations: 384 / 384 MB, free: 12.77 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001284/0.006515, allocations: 78.81 kB / 384.1 MB, free: 12.68 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.006526, allocations: 192 / 384.1 MB, free: 12.68 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.006537, allocations: 4.375 kB / 384.1 MB, free: 12.68 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.006544, allocations: 384 / 384.1 MB, free: 12.68 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003173/0.006862, allocations: 23.92 kB / 384.1 MB, free: 12.66 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003884/0.00725, allocations: 443.6 kB / 384.5 MB, free: 12.19 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001637/0.007414, allocations: 51.03 kB / 384.6 MB, free: 12.12 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.439e-05/0.007438, allocations: 11.69 kB / 384.6 MB, free: 12.11 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.777e-05/0.007456, allocations: 0 / 384.6 MB, free: 12.11 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.173e-05/0.007478, allocations: 45.31 kB / 384.6 MB, free: 12.05 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.022e-06/0.007479, allocations: 0 / 384.6 MB, free: 12.05 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.000622/0.008101, allocations: 320.7 kB / 384.9 MB, free: 11.73 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.998e-05/0.008131, allocations: 55.39 kB / 385 MB, free: 11.67 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003921/0.008523, allocations: 0.6354 MB / 385.6 MB, free: 11.02 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.186e-05/0.008535, allocations: 25.7 kB / 385.7 MB, free: 10.98 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001514/0.008686, allocations: 290.8 kB / 385.9 MB, free: 10.7 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.122e-05/0.008717, allocations: 31.7 kB / 386 MB, free: 10.66 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.763e-05/0.008755, allocations: 35.36 kB / 386 MB, free: 10.62 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001669/0.008922, allocations: 0.5586 MB / 386.6 MB, free: 10.05 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.008e-05/0.008952, allocations: 15.98 kB / 386.6 MB, free: 10.04 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.636e-05/0.008978, allocations: 19.92 kB / 386.6 MB, free: 10.02 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.568e-05/0.009044, allocations: 51.62 kB / 386.7 MB, free: 9.961 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.009045, allocations: 0 / 386.7 MB, free: 9.961 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001203/0.009166, allocations: 133.6 kB / 386.8 MB, free: 9.824 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.009177, allocations: 4 kB / 386.8 MB, free: 9.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.526e-06/0.009181, allocations: 3.938 kB / 386.8 MB, free: 9.816 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.009193, allocations: 0 / 386.8 MB, free: 9.816 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.246e-05/0.009255, allocations: 24.55 kB / 386.8 MB, free: 9.793 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.00926, allocations: 0 / 386.8 MB, free: 9.793 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.112e-05/0.009291, allocations: 11.94 kB / 386.8 MB, free: 9.781 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.009299, allocations: 8 kB / 386.8 MB, free: 9.773 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 (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 7.455e-05/0.009373, allocations: 160.5 kB / 387 MB, free: 9.605 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.617e-05/0.009409, allocations: 51.72 kB / 387 MB, free: 9.555 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00018/0.009589, allocations: 129.6 kB / 387.2 MB, free: 9.418 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.009592, allocations: 0 / 387.2 MB, free: 9.418 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.009595, allocations: 0 / 387.2 MB, free: 9.418 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.009598, allocations: 0 / 387.2 MB, free: 9.418 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003904/0.009989, allocations: 0.5513 MB / 387.7 MB, free: 8.816 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.009991, allocations: 4.031 kB / 387.7 MB, free: 8.812 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.11e-05/0.01004, allocations: 27.92 kB / 387.8 MB, free: 8.785 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.01004, allocations: 3.938 kB / 387.8 MB, free: 8.781 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.01005, allocations: 7.984 kB / 387.8 MB, free: 8.773 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.01005, allocations: 0 / 387.8 MB, free: 8.773 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.01006, allocations: 4 kB / 387.8 MB, free: 8.77 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001496/0.01021, allocations: 291 kB / 388.1 MB, free: 8.457 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.223e-05/0.01023, allocations: 39.67 kB / 388.1 MB, free: 8.418 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.597e-05/0.01024, allocations: 0 / 388.1 MB, free: 8.418 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.511e-05/0.01029, allocations: 8 kB / 388.1 MB, free: 8.41 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.54e-05/0.01032, allocations: 19.86 kB / 388.1 MB, free: 8.391 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.139e-06/0.01033, allocations: 4 kB / 388.1 MB, free: 8.387 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002369/0.01057, allocations: 430.8 kB / 388.5 MB, free: 7.969 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01057, allocations: 0 / 388.5 MB, free: 7.969 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001693/0.01074, allocations: 35.92 kB / 388.6 MB, free: 7.934 MB / 362.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.0009028/0.01164, allocations: 441.7 kB / 389 MB, free: 7.629 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001248/0.01176, allocations: 59.59 kB / 389.1 MB, free: 7.566 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.01177, allocations: 4 kB / 389.1 MB, free: 7.562 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.089e-05/0.01181, allocations: 43.61 kB / 389.1 MB, free: 7.516 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002319/0.01204, allocations: 26.3 kB / 389.1 MB, free: 7.492 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006126/0.01265, allocations: 0.6466 MB / 389.8 MB, free: 6.809 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.277e-05/0.01272, allocations: 123.2 kB / 389.9 MB, free: 6.668 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.325e-05/0.01278, allocations: 28.47 kB / 389.9 MB, free: 6.641 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.301e-05/0.01281, allocations: 20.48 kB / 390 MB, free: 6.621 MB / 362.7 MB Notification: Performance of SimCode: time 8.12e-07/0.01281, allocations: 0 / 390 MB, free: 6.621 MB / 362.7 MB Notification: Performance of Templates: time 0.004514/0.01732, allocations: 1.944 MB / 391.9 MB, free: 4.691 MB / 362.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.2175290025770664]