Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.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.001157/0.001157, allocations: 88.73 kB / 21.5 MB, free: 2.984 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.001106/0.001106, allocations: 164.2 kB / 24.91 MB, free: 8.762 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.058/1.058, allocations: 177 MB / 205.2 MB, free: 5.047 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.2626/0.2626, allocations: 34.86 MB / 296.6 MB, free: 404 kB / 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.CombiTable1Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 326 MB, free: 7.09 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.293e-05/1.436e-05, allocations: 6.25 kB / 326 MB, free: 7.082 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test4): time 0.002241/0.002256, allocations: 1.731 MB / 327.7 MB, free: 5.344 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007897/0.003045, allocations: 0.5563 MB / 328.3 MB, free: 4.785 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.557e-05/0.003101, allocations: 0 / 328.3 MB, free: 4.785 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002736/0.003375, allocations: 103.6 kB / 328.4 MB, free: 4.684 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002584/0.003633, allocations: 107.5 kB / 328.5 MB, free: 4.578 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002528/0.003886, allocations: 119.6 kB / 328.6 MB, free: 4.461 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001497/0.004035, allocations: 107.7 kB / 328.7 MB, free: 4.355 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.529e-05/0.004131, allocations: 23.92 kB / 328.7 MB, free: 4.332 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.252e-05/0.004203, allocations: 51.88 kB / 328.8 MB, free: 4.281 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.501e-05/0.004298, allocations: 55.86 kB / 328.8 MB, free: 4.227 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.513e-05/0.004313, allocations: 8 kB / 328.8 MB, free: 4.219 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.924e-05/0.004393, allocations: 43.92 kB / 328.9 MB, free: 4.176 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.367e-05/0.004436, allocations: 27.92 kB / 328.9 MB, free: 4.148 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.767e-05/0.004464, allocations: 27.84 kB / 328.9 MB, free: 4.121 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001495/0.004614, allocations: 107.5 kB / 329 MB, free: 4.016 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.343e-06/0.004615, allocations: 4 kB / 329 MB, free: 4.012 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.004616, allocations: 0 / 329 MB, free: 4.012 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.186e-06/0.004619, allocations: 0 / 329 MB, free: 4.012 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0003214/0.00494, allocations: 338.2 kB / 329.4 MB, free: 3.656 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.209e-05/0.004972, allocations: 8.031 kB / 329.4 MB, free: 3.648 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.303e-05/0.005005, allocations: 16.92 kB / 329.4 MB, free: 3.633 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001382/0.005144, allocations: 145.5 kB / 329.5 MB, free: 3.465 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.719e-06/0.005153, allocations: 12.31 kB / 329.6 MB, free: 3.453 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.73e-05/0.005171, allocations: 4.375 kB / 329.6 MB, free: 3.449 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.766e-05/0.005268, allocations: 70.92 kB / 329.6 MB, free: 3.371 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.005279, allocations: 8.188 kB / 329.6 MB, free: 3.363 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.135e-06/0.005287, allocations: 4.375 kB / 329.6 MB, free: 3.359 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.005293, allocations: 384 / 329.6 MB, free: 3.359 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.899e-05/0.005322, allocations: 22.3 kB / 329.7 MB, free: 3.34 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002497/0.005572, allocations: 199 kB / 329.9 MB, free: 3.129 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.639e-05/0.005648, allocations: 42.55 kB / 329.9 MB, free: 3.078 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.392e-05/0.005672, allocations: 8.859 kB / 329.9 MB, free: 3.066 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.148e-05/0.005694, allocations: 7.938 kB / 329.9 MB, free: 3.059 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.092e-05/0.005724, allocations: 38.5 kB / 329.9 MB, free: 3.012 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 1.313e-06/0.005726, allocations: 0 / 329.9 MB, free: 3.012 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005275/0.006253, allocations: 206 kB / 330.2 MB, free: 2.805 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.759e-05/0.006281, allocations: 55.41 kB / 330.2 MB, free: 2.738 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001142/0.006395, allocations: 185.1 kB / 330.4 MB, free: 2.539 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.408e-05/0.006409, allocations: 29.7 kB / 330.4 MB, free: 2.504 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.5e-05/0.006444, allocations: 100 kB / 330.5 MB, free: 2.402 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.043e-05/0.006474, allocations: 47.62 kB / 330.6 MB, free: 2.355 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.465e-05/0.006509, allocations: 25.7 kB / 330.6 MB, free: 2.324 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.228e-05/0.006591, allocations: 326.8 kB / 330.9 MB, free: 1.996 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.726e-05/0.006609, allocations: 12 kB / 330.9 MB, free: 1.984 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.113e-05/0.00663, allocations: 15.98 kB / 330.9 MB, free: 1.969 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.342e-05/0.006683, allocations: 52.27 kB / 331 MB, free: 1.914 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.006686, allocations: 4 kB / 331 MB, free: 1.91 MB / 298.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 7.867e-05/0.006765, allocations: 66.3 kB / 331.1 MB, free: 1.84 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/0.006776, allocations: 4 kB / 331.1 MB, free: 1.836 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.006784, allocations: 4 kB / 331.1 MB, free: 1.832 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.006798, allocations: 4 kB / 331.1 MB, free: 1.828 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.221e-05/0.00687, allocations: 19.98 kB / 331.1 MB, free: 1.809 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.135e-06/0.006873, allocations: 8.172 kB / 331.1 MB, free: 1.801 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.179e-05/0.006895, allocations: 11.98 kB / 331.1 MB, free: 1.789 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.927e-06/0.006904, allocations: 7.984 kB / 331.1 MB, free: 1.781 MB / 298.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 (13): * Single equations (assignments): 13 * 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 6.303e-05/0.006967, allocations: 116.6 kB / 331.2 MB, free: 1.656 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.178e-05/0.006989, allocations: 11.98 kB / 331.2 MB, free: 1.645 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001277/0.007116, allocations: 99.73 kB / 331.3 MB, free: 1.539 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.007119, allocations: 3.984 kB / 331.3 MB, free: 1.535 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-06/0.00712, allocations: 0 / 331.3 MB, free: 1.535 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.007123, allocations: 3.938 kB / 331.3 MB, free: 1.531 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002683/0.007392, allocations: 300 kB / 331.6 MB, free: 1.211 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.007393, allocations: 4.031 kB / 331.6 MB, free: 1.207 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.845e-05/0.007442, allocations: 23.98 kB / 331.7 MB, free: 1.184 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.007443, allocations: 0 / 331.7 MB, free: 1.184 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.00745, allocations: 4 kB / 331.7 MB, free: 1.18 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.007452, allocations: 0 / 331.7 MB, free: 1.18 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.007454, allocations: 3.984 kB / 331.7 MB, free: 1.176 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001043/0.007558, allocations: 184.2 kB / 331.8 MB, free: 0.9805 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.311e-05/0.007571, allocations: 15.89 kB / 331.9 MB, free: 0.9609 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.247e-05/0.007584, allocations: 4 kB / 331.9 MB, free: 0.957 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.487e-05/0.007618, allocations: 4 kB / 331.9 MB, free: 0.9531 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.991e-05/0.007648, allocations: 11.98 kB / 331.9 MB, free: 0.9414 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.618e-06/0.007658, allocations: 7.938 kB / 331.9 MB, free: 0.9336 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.911e-05/0.007707, allocations: 61.55 kB / 332 MB, free: 0.8711 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.007708, allocations: 0 / 332 MB, free: 0.8711 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001555/0.007863, allocations: 31.98 kB / 332 MB, free: 0.8398 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (13): * Single equations (assignments): 13 * 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.001317/0.00918, allocations: 0.5698 MB / 332.6 MB, free: 0.5508 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001055/0.009286, allocations: 48.83 kB / 332.6 MB, free: 0.5 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.009292, allocations: 4 kB / 332.6 MB, free: 0.4961 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.033e-05/0.009322, allocations: 28.78 kB / 332.6 MB, free: 476 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001711/0.009493, allocations: 27.36 kB / 332.7 MB, free: 452 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003352/0.009828, allocations: 275.8 kB / 332.9 MB, free: 148 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.175e-05/0.00987, allocations: 83.27 kB / 333 MB, free: 44 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.134e-05/0.009911, allocations: 16.47 kB / 333 MB, free: 28 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.562e-05/0.009987, allocations: 71.36 kB / 333.1 MB, free: 15.96 MB / 314.7 MB Notification: Performance of SimCode: time 8.41e-07/0.009988, allocations: 0 / 333.1 MB, free: 15.96 MB / 314.7 MB Notification: Performance of Templates: time 0.003314/0.0133, allocations: 1.747 MB / 334.8 MB, free: 14.22 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test4/Test4.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.9307286296971142]