Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.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.001126/0.001126, allocations: 79.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.001182/0.001182, allocations: 167 kB / 24.99 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.9746/0.9746, allocations: 177 MB / 205.2 MB, free: 5.16 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.2571/0.2571, allocations: 34.86 MB / 296.6 MB, free: 0.5312 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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 378.8 MB, free: 2.418 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.827e-05/2.999e-05, allocations: 2.312 kB / 378.8 MB, free: 2.414 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.003052/0.003082, allocations: 1.687 MB / 380.4 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008009/0.003883, allocations: 0.5796 MB / 381 MB, free: 136 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.444e-05/0.003948, allocations: 3.938 kB / 381 MB, free: 132 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004823/0.00443, allocations: 459 kB / 381.5 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004198/0.00485, allocations: 291.1 kB / 381.8 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003561/0.005206, allocations: 175.5 kB / 381.9 MB, free: 15.22 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002561/0.005462, allocations: 167.7 kB / 382.1 MB, free: 15.06 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.005572, allocations: 23.97 kB / 382.1 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001263/0.005698, allocations: 119.8 kB / 382.2 MB, free: 14.92 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001964/0.005895, allocations: 243.5 kB / 382.5 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.757e-05/0.005912, allocations: 4 kB / 382.5 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.391e-05/0.005996, allocations: 35.92 kB / 382.5 MB, free: 14.64 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.506e-05/0.006091, allocations: 87.66 kB / 382.6 MB, free: 14.55 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.959e-05/0.006141, allocations: 39.72 kB / 382.6 MB, free: 14.52 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002277/0.006368, allocations: 195.2 kB / 382.8 MB, free: 14.32 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.686e-06/0.006371, allocations: 0 / 382.8 MB, free: 14.32 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.52e-07/0.006372, allocations: 0 / 382.8 MB, free: 14.32 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.006377, allocations: 4 kB / 382.8 MB, free: 14.32 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.0005685/0.006945, allocations: 0.697 MB / 383.5 MB, free: 13.58 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.00698, allocations: 12.03 kB / 383.5 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.071e-05/0.007041, allocations: 48.59 kB / 383.6 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002007/0.007241, allocations: 244.9 kB / 383.8 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.055e-05/0.007252, allocations: 384 / 383.8 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.32e-05/0.007275, allocations: 8.375 kB / 383.8 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001277/0.007403, allocations: 62.92 kB / 383.9 MB, free: 13.18 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.007414, allocations: 192 / 383.9 MB, free: 13.18 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.918e-06/0.007424, allocations: 4.375 kB / 383.9 MB, free: 13.17 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.298e-06/0.007433, allocations: 4.375 kB / 383.9 MB, free: 13.17 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.596e-05/0.007469, allocations: 15.88 kB / 383.9 MB, free: 13.15 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004597/0.007928, allocations: 427.6 kB / 384.3 MB, free: 12.7 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001645/0.008093, allocations: 47.03 kB / 384.4 MB, free: 12.64 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.482e-05/0.008118, allocations: 15.62 kB / 384.4 MB, free: 12.62 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.975e-05/0.008137, allocations: 0 / 384.4 MB, free: 12.62 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.241e-05/0.00816, allocations: 41.41 kB / 384.4 MB, free: 12.57 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.008161, allocations: 4 kB / 384.4 MB, free: 12.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004052/0.008566, allocations: 188.7 kB / 384.6 MB, free: 12.38 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.151e-05/0.008598, allocations: 55.41 kB / 384.7 MB, free: 12.31 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004212/0.009019, allocations: 0.6238 MB / 385.3 MB, free: 11.67 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.092e-05/0.00903, allocations: 29.7 kB / 385.3 MB, free: 11.63 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001483/0.009178, allocations: 286.8 kB / 385.6 MB, free: 11.35 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.158e-05/0.0092, allocations: 19.8 kB / 385.6 MB, free: 11.33 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.229e-05/0.009232, allocations: 23.38 kB / 385.7 MB, free: 11.3 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.009384, allocations: 0.5508 MB / 386.2 MB, free: 10.73 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.101e-05/0.009405, allocations: 8 kB / 386.2 MB, free: 10.73 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.544e-05/0.00942, allocations: 7.984 kB / 386.2 MB, free: 10.72 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.966e-05/0.00946, allocations: 23.69 kB / 386.2 MB, free: 10.69 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.009461, allocations: 0 / 386.2 MB, free: 10.69 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001116/0.009572, allocations: 101.3 kB / 386.3 MB, free: 10.59 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.009586, allocations: 4 kB / 386.4 MB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.00959, allocations: 4 kB / 386.4 MB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.009604, allocations: 0 / 386.4 MB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.612e-05/0.00966, allocations: 12 kB / 386.4 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.009665, allocations: 0 / 386.4 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.026e-05/0.009696, allocations: 7.984 kB / 386.4 MB, free: 10.56 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/0.009701, allocations: 0 / 386.4 MB, free: 10.56 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 7.765e-05/0.009779, allocations: 160.5 kB / 386.5 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.809e-05/0.009817, allocations: 51.66 kB / 386.6 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001382/0.009955, allocations: 93.17 kB / 386.7 MB, free: 10.24 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.009957, allocations: 4.312 kB / 386.7 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.009961, allocations: 0 / 386.7 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.009966, allocations: 4 kB / 386.7 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003305/0.0103, allocations: 477.4 kB / 387.1 MB, free: 9.723 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.0103, allocations: 0 / 387.1 MB, free: 9.723 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.048e-05/0.01033, allocations: 11.94 kB / 387.2 MB, free: 9.711 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.01033, allocations: 0 / 387.2 MB, free: 9.711 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.01034, allocations: 4 kB / 387.2 MB, free: 9.707 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.01034, allocations: 0 / 387.2 MB, free: 9.707 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.01034, allocations: 0 / 387.2 MB, free: 9.707 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001242/0.01046, allocations: 243.6 kB / 387.4 MB, free: 9.449 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.424e-05/0.01049, allocations: 43.66 kB / 387.4 MB, free: 9.406 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.664e-05/0.0105, allocations: 4 kB / 387.4 MB, free: 9.402 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.835e-05/0.01054, allocations: 0 / 387.4 MB, free: 9.402 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.717e-05/0.01057, allocations: 4 kB / 387.5 MB, free: 9.398 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-06/0.01057, allocations: 3.984 kB / 387.5 MB, free: 9.395 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002568/0.01083, allocations: 426.8 kB / 387.9 MB, free: 8.98 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01083, allocations: 0 / 387.9 MB, free: 8.98 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001802/0.01101, allocations: 27.98 kB / 387.9 MB, free: 8.953 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.0009012/0.01191, allocations: 379.8 kB / 388.3 MB, free: 8.691 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001047/0.01202, allocations: 27.69 kB / 388.3 MB, free: 8.66 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.01202, allocations: 0 / 388.3 MB, free: 8.66 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.405e-05/0.01204, allocations: 19.67 kB / 388.3 MB, free: 8.637 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002605/0.0123, allocations: 35.2 kB / 388.4 MB, free: 8.602 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006571/0.01296, allocations: 0.5887 MB / 388.9 MB, free: 7.984 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.999e-05/0.01303, allocations: 119.2 kB / 389.1 MB, free: 7.848 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.91e-05/0.01307, allocations: 16.09 kB / 389.1 MB, free: 7.832 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.748e-05/0.0131, allocations: 20.42 kB / 389.1 MB, free: 7.812 MB / 362.7 MB Notification: Performance of SimCode: time 4.61e-07/0.0131, allocations: 0 / 389.1 MB, free: 7.812 MB / 362.7 MB Notification: Performance of Templates: time 0.00398/0.01708, allocations: 1.386 MB / 390.5 MB, free: 6.438 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/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: 3.1058347821235657]