Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.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.0009731/0.0009731, allocations: 75.69 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.001051/0.001051, allocations: 159.8 kB / 24.99 MB, free: 9.289 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.9396/0.9396, allocations: 177 MB / 205.2 MB, free: 5.613 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.2605/0.2605, allocations: 34.86 MB / 296.6 MB, free: 0.5547 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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 378.8 MB, free: 2.395 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.207e-05/2.341e-05, allocations: 2.312 kB / 378.8 MB, free: 2.391 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.002335/0.002359, allocations: 1.688 MB / 380.5 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007949/0.003153, allocations: 0.5679 MB / 381 MB, free: 124 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.913e-05/0.003223, allocations: 4 kB / 381 MB, free: 120 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005408/0.003763, allocations: 459.1 kB / 381.5 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004273/0.004191, allocations: 295.1 kB / 381.8 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003668/0.004558, allocations: 171.5 kB / 381.9 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002227/0.00478, allocations: 175.7 kB / 382.1 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.004892, allocations: 16 kB / 382.1 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001199/0.005012, allocations: 119.8 kB / 382.2 MB, free: 14.91 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000252/0.005264, allocations: 251.5 kB / 382.5 MB, free: 14.66 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.902e-05/0.005283, allocations: 4 kB / 382.5 MB, free: 14.66 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.067e-05/0.005353, allocations: 31.92 kB / 382.5 MB, free: 14.62 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.792e-05/0.005441, allocations: 87.66 kB / 382.6 MB, free: 14.54 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.187e-05/0.005483, allocations: 35.75 kB / 382.6 MB, free: 14.5 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002035/0.005687, allocations: 195.2 kB / 382.8 MB, free: 14.31 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.953e-06/0.005689, allocations: 0 / 382.8 MB, free: 14.31 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.005689, allocations: 4 kB / 382.8 MB, free: 14.31 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.005694, allocations: 0 / 382.8 MB, free: 14.31 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005352/0.006229, allocations: 0.697 MB / 383.5 MB, free: 13.57 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.006265, allocations: 12.03 kB / 383.5 MB, free: 13.56 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.095e-05/0.006316, allocations: 44.66 kB / 383.6 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001782/0.006494, allocations: 252.8 kB / 383.8 MB, free: 13.24 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.447e-06/0.006503, allocations: 4.375 kB / 383.8 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.965e-05/0.006523, allocations: 4.375 kB / 383.8 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001183/0.006641, allocations: 54.95 kB / 383.9 MB, free: 13.17 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.006653, allocations: 8.188 kB / 383.9 MB, free: 13.16 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.006662, allocations: 384 / 383.9 MB, free: 13.16 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.00667, allocations: 384 / 383.9 MB, free: 13.16 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.12e-05/0.006711, allocations: 19.86 kB / 383.9 MB, free: 13.14 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005155/0.007227, allocations: 427.6 kB / 384.3 MB, free: 12.69 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002085/0.007435, allocations: 50.98 kB / 384.4 MB, free: 12.62 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.034e-05/0.007465, allocations: 11.69 kB / 384.4 MB, free: 12.61 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.036e-05/0.007486, allocations: 0 / 384.4 MB, free: 12.61 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.979e-05/0.007516, allocations: 41.33 kB / 384.4 MB, free: 12.56 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.007517, allocations: 0 / 384.4 MB, free: 12.56 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004492/0.007966, allocations: 193 kB / 384.6 MB, free: 12.36 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.747e-05/0.008003, allocations: 55.41 kB / 384.7 MB, free: 12.3 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006087/0.008612, allocations: 0.6238 MB / 385.3 MB, free: 11.66 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.475e-05/0.008627, allocations: 33.7 kB / 385.3 MB, free: 11.62 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001897/0.008817, allocations: 282.8 kB / 385.6 MB, free: 11.34 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.531e-05/0.008842, allocations: 19.8 kB / 385.6 MB, free: 11.32 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.905e-05/0.008881, allocations: 23.38 kB / 385.7 MB, free: 11.29 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002033/0.009084, allocations: 0.5547 MB / 386.2 MB, free: 10.72 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.428e-05/0.009109, allocations: 4 kB / 386.2 MB, free: 10.71 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.941e-05/0.009128, allocations: 4 kB / 386.2 MB, free: 10.71 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.121e-05/0.009179, allocations: 27.67 kB / 386.2 MB, free: 10.68 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.00918, allocations: 0 / 386.2 MB, free: 10.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001244/0.009305, allocations: 101.3 kB / 386.3 MB, free: 10.57 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.00932, allocations: 6.812 kB / 386.4 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.009326, allocations: 4.031 kB / 386.4 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.00934, allocations: 7.984 kB / 386.4 MB, free: 10.56 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.051e-05/0.009401, allocations: 8 kB / 386.4 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.009408, allocations: 4 kB / 386.4 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.892e-05/0.009447, allocations: 0 / 386.4 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.009455, allocations: 4 kB / 386.4 MB, free: 10.54 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 9.62e-05/0.009551, allocations: 156.6 kB / 386.5 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.935e-05/0.00961, allocations: 51.66 kB / 386.6 MB, free: 10.33 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001669/0.009777, allocations: 97.36 kB / 386.7 MB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.009779, allocations: 0 / 386.7 MB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.009784, allocations: 12.06 kB / 386.7 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.009787, allocations: 0 / 386.7 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004673/0.01025, allocations: 465.3 kB / 387.1 MB, free: 9.715 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.01026, allocations: 0 / 387.1 MB, free: 9.715 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.8e-05/0.0103, allocations: 15.92 kB / 387.2 MB, free: 9.699 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.01031, allocations: 4 kB / 387.2 MB, free: 9.695 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.284e-06/0.01032, allocations: 0 / 387.2 MB, free: 9.695 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.255e-06/0.01032, allocations: 0 / 387.2 MB, free: 9.695 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.01032, allocations: 0 / 387.2 MB, free: 9.695 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001715/0.01049, allocations: 243.6 kB / 387.4 MB, free: 9.438 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.618e-05/0.01053, allocations: 39.67 kB / 387.4 MB, free: 9.398 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.305e-05/0.01055, allocations: 4 kB / 387.4 MB, free: 9.395 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.522e-05/0.01062, allocations: 3.984 kB / 387.4 MB, free: 9.391 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.286e-05/0.01066, allocations: 8 kB / 387.5 MB, free: 9.383 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5e-06/0.01066, allocations: 0 / 387.5 MB, free: 9.383 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003683/0.01103, allocations: 426.8 kB / 387.9 MB, free: 8.969 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.01103, allocations: 0 / 387.9 MB, free: 8.969 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002751/0.01131, allocations: 27.94 kB / 387.9 MB, free: 8.941 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.0009181/0.01222, allocations: 382.7 kB / 388.3 MB, free: 8.676 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.206e-05/0.01232, allocations: 27.67 kB / 388.3 MB, free: 8.645 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.172e-06/0.01232, allocations: 0 / 388.3 MB, free: 8.645 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.346e-05/0.01234, allocations: 23.61 kB / 388.3 MB, free: 8.617 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002343/0.01258, allocations: 33.89 kB / 388.4 MB, free: 8.582 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005898/0.01317, allocations: 0.5812 MB / 388.9 MB, free: 7.973 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.142e-05/0.01324, allocations: 119.2 kB / 389.1 MB, free: 7.836 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.707e-05/0.01327, allocations: 23.83 kB / 389.1 MB, free: 7.812 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.631e-05/0.0133, allocations: 12.5 kB / 389.1 MB, free: 7.801 MB / 362.7 MB Notification: Performance of SimCode: time 6.41e-07/0.0133, allocations: 0 / 389.1 MB, free: 7.801 MB / 362.7 MB Notification: Performance of Templates: time 0.003898/0.0172, allocations: 1.389 MB / 390.5 MB, free: 6.426 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.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.1038458170369267]