Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.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.0008955/0.0008955, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.001059/0.001059, allocations: 166.3 kB / 24.82 MB, free: 9.301 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.959/0.959, allocations: 177 MB / 205.1 MB, free: 5.473 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.2678/0.2678, allocations: 34.86 MB / 296.6 MB, free: 0.5195 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.CombiTable1Dv.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 379.2 MB, free: 1.824 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.856e-05/1.992e-05, allocations: 6.25 kB / 379.2 MB, free: 1.816 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test18): time 0.002127/0.002147, allocations: 1.643 MB / 380.9 MB, free: 164 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001298/0.003445, allocations: 1.281 MB / 382.2 MB, free: 14.88 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.595e-05/0.003501, allocations: 4 kB / 382.2 MB, free: 14.87 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002144/0.003715, allocations: 31.7 kB / 382.2 MB, free: 14.84 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002416/0.003957, allocations: 87.55 kB / 382.3 MB, free: 14.75 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001989/0.004156, allocations: 107.7 kB / 382.4 MB, free: 14.65 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001304/0.004286, allocations: 95.67 kB / 382.5 MB, free: 14.55 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.143e-05/0.004378, allocations: 15.94 kB / 382.5 MB, free: 14.54 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.363e-05/0.004441, allocations: 39.91 kB / 382.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.105e-05/0.004532, allocations: 31.89 kB / 382.6 MB, free: 14.47 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.538e-05/0.004548, allocations: 4 kB / 382.6 MB, free: 14.46 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001313/0.004679, allocations: 91.88 kB / 382.7 MB, free: 14.38 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.185e-05/0.004721, allocations: 15.92 kB / 382.7 MB, free: 14.36 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.25e-05/0.004753, allocations: 23.92 kB / 382.7 MB, free: 14.34 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002209/0.004974, allocations: 143.5 kB / 382.8 MB, free: 14.2 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.004977, allocations: 0 / 382.8 MB, free: 14.2 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.004979, allocations: 0 / 382.8 MB, free: 14.2 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.518e-06/0.004983, allocations: 4 kB / 382.9 MB, free: 14.19 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.0004164/0.0054, allocations: 435.9 kB / 383.3 MB, free: 13.73 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.005437, allocations: 12.03 kB / 383.3 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.136e-05/0.005468, allocations: 12.84 kB / 383.3 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001251/0.005594, allocations: 144.5 kB / 383.4 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.575e-06/0.005601, allocations: 384 / 383.4 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.671e-05/0.005618, allocations: 4.375 kB / 383.4 MB, free: 13.53 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001361/0.005754, allocations: 115.9 kB / 383.6 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.719e-06/0.005764, allocations: 192 / 383.6 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.354e-06/0.005771, allocations: 4.375 kB / 383.6 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.005777, allocations: 4.375 kB / 383.6 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.684e-05/0.005803, allocations: 15.92 kB / 383.6 MB, free: 13.37 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00026/0.006063, allocations: 276.2 kB / 383.9 MB, free: 13.07 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.698e-05/0.00612, allocations: 47.05 kB / 383.9 MB, free: 13.02 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.338e-05/0.006144, allocations: 15.69 kB / 383.9 MB, free: 13 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.256e-05/0.006166, allocations: 0 / 383.9 MB, free: 13 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.455e-05/0.006191, allocations: 41.38 kB / 384 MB, free: 12.95 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/0.006192, allocations: 0 / 384 MB, free: 12.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002963/0.006488, allocations: 121.6 kB / 384.1 MB, free: 12.82 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.251e-05/0.006521, allocations: 81.11 kB / 384.2 MB, free: 12.72 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.849e-05/0.006619, allocations: 200.2 kB / 384.3 MB, free: 12.51 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.056e-05/0.00663, allocations: 25.7 kB / 384.4 MB, free: 12.48 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.38e-05/0.006684, allocations: 150.8 kB / 384.5 MB, free: 12.33 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.074e-05/0.006704, allocations: 23.75 kB / 384.5 MB, free: 12.3 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.195e-05/0.006736, allocations: 35.34 kB / 384.6 MB, free: 12.26 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001031/0.006839, allocations: 496.1 kB / 385.1 MB, free: 11.77 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.649e-05/0.006856, allocations: 12.36 kB / 385.1 MB, free: 11.75 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.158e-05/0.006887, allocations: 53.06 kB / 385.1 MB, free: 11.69 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.702e-05/0.006924, allocations: 35.67 kB / 385.2 MB, free: 11.65 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.006927, allocations: 4 kB / 385.2 MB, free: 11.64 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.314e-05/0.007, allocations: 73.61 kB / 385.2 MB, free: 11.57 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/0.007011, allocations: 4 kB / 385.2 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.586e-06/0.007015, allocations: 0 / 385.2 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.054e-05/0.007025, allocations: 3.938 kB / 385.2 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.377e-05/0.007089, allocations: 19.98 kB / 385.3 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.186e-06/0.007092, allocations: 0 / 385.3 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.496e-05/0.007117, allocations: 0 / 385.3 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.111e-06/0.007123, allocations: 4 kB / 385.3 MB, free: 11.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 (8): * Single equations (assignments): 8 * 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.377e-05/0.007187, allocations: 160.6 kB / 385.4 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.298e-05/0.00721, allocations: 19.84 kB / 385.4 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001152/0.007325, allocations: 94.62 kB / 385.5 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.007326, allocations: 3.938 kB / 385.5 MB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-06/0.007328, allocations: 0 / 385.5 MB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.007331, allocations: 0 / 385.5 MB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002231/0.007554, allocations: 326 kB / 385.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.007555, allocations: 0 / 385.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.664e-05/0.007591, allocations: 27.92 kB / 385.9 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.532e-06/0.007593, allocations: 0 / 385.9 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.931e-06/0.007599, allocations: 3.984 kB / 385.9 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.0076, allocations: 0 / 385.9 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.0076, allocations: 0 / 385.9 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001061/0.007706, allocations: 223.8 kB / 386.1 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.767e-06/0.007715, allocations: 7.938 kB / 386.1 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.065e-05/0.007726, allocations: 8 kB / 386.1 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.193e-05/0.007758, allocations: 0 / 386.1 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.047e-05/0.007778, allocations: 7.984 kB / 386.1 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-06/0.007781, allocations: 0 / 386.1 MB, free: 10.6 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.216e-05/0.007833, allocations: 147.2 kB / 386.3 MB, free: 10.45 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007834, allocations: 0 / 386.3 MB, free: 10.45 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001749/0.008008, allocations: 39.86 kB / 386.3 MB, free: 10.41 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 (8): * Single equations (assignments): 8 * 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.0008449/0.008853, allocations: 496.8 kB / 386.8 MB, free: 10.07 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.037e-05/0.008934, allocations: 39.66 kB / 386.8 MB, free: 10.03 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.008935, allocations: 0 / 386.8 MB, free: 10.03 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.437e-05/0.00896, allocations: 27.61 kB / 386.9 MB, free: 9.996 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001894/0.009149, allocations: 31.88 kB / 386.9 MB, free: 9.965 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002603/0.009409, allocations: 194.2 kB / 387.1 MB, free: 9.746 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.574e-05/0.009445, allocations: 67.2 kB / 387.2 MB, free: 9.66 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.026e-05/0.009485, allocations: 17.02 kB / 387.2 MB, free: 9.641 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.367e-05/0.009549, allocations: 90.19 kB / 387.3 MB, free: 9.551 MB / 362.7 MB Notification: Performance of SimCode: time 4e-07/0.009549, allocations: 0 / 387.3 MB, free: 9.551 MB / 362.7 MB Notification: Performance of Templates: time 0.0033/0.01285, allocations: 2.156 MB / 389.4 MB, free: 7.414 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test18/Test18.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.9891210114583373]