Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.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.001252/0.001252, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.004427/0.004427, allocations: 160.4 kB / 24.99 MB, free: 8.77 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.9771/0.9771, allocations: 177 MB / 205.2 MB, free: 5.605 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.2673/0.2673, allocations: 34.87 MB / 296.6 MB, free: 0.5625 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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 378.8 MB, free: 2.402 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.599e-05/1.74e-05, allocations: 4.562 kB / 378.8 MB, free: 2.398 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.001986/0.002003, allocations: 1.626 MB / 380.4 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006995/0.002703, allocations: 0.5408 MB / 380.9 MB, free: 220 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.818e-05/0.002761, allocations: 0 / 380.9 MB, free: 220 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001839/0.002945, allocations: 19.86 kB / 381 MB, free: 200 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002309/0.003176, allocations: 83.55 kB / 381 MB, free: 116 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002644/0.00344, allocations: 115.6 kB / 381.1 MB, free: 0 / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001348/0.003575, allocations: 71.84 kB / 381.2 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.207e-05/0.003667, allocations: 11.84 kB / 381.2 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.317e-05/0.00372, allocations: 31.91 kB / 381.3 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.958e-05/0.00377, allocations: 11.98 kB / 381.3 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.382e-05/0.003784, allocations: 4 kB / 381.3 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.343e-05/0.003847, allocations: 27.98 kB / 381.3 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.591e-05/0.003893, allocations: 15.92 kB / 381.3 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.68e-05/0.00392, allocations: 19.92 kB / 381.3 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001348/0.004055, allocations: 71.69 kB / 381.4 MB, free: 15.73 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.205e-06/0.004057, allocations: 4 kB / 381.4 MB, free: 15.73 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.004057, allocations: 0 / 381.4 MB, free: 15.73 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.628e-06/0.004062, allocations: 0 / 381.4 MB, free: 15.73 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003709/0.004433, allocations: 408.2 kB / 381.8 MB, free: 15.29 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.004467, allocations: 11.97 kB / 381.8 MB, free: 15.28 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.86e-05/0.004506, allocations: 8.891 kB / 381.8 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001345/0.00464, allocations: 136.5 kB / 382 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.757e-06/0.004649, allocations: 384 / 382 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.864e-05/0.004667, allocations: 4.375 kB / 382 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001064/0.004774, allocations: 66.89 kB / 382 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.004783, allocations: 192 / 382 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.045e-06/0.004791, allocations: 384 / 382 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.004799, allocations: 384 / 382 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.246e-05/0.004831, allocations: 15.92 kB / 382.1 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002595/0.005091, allocations: 267.8 kB / 382.3 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001461/0.005237, allocations: 51.08 kB / 382.4 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.244e-05/0.005259, allocations: 11.67 kB / 382.4 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.68e-05/0.005276, allocations: 0 / 382.4 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.85e-05/0.005295, allocations: 41.39 kB / 382.4 MB, free: 14.59 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 9.11e-07/0.005295, allocations: 0 / 382.4 MB, free: 14.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003216/0.005617, allocations: 109.3 kB / 382.5 MB, free: 14.48 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.856e-05/0.005646, allocations: 51.41 kB / 382.6 MB, free: 14.42 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/0.005754, allocations: 201.9 kB / 382.8 MB, free: 14.2 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.554e-06/0.005761, allocations: 25.7 kB / 382.8 MB, free: 14.17 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001962/0.005957, allocations: 138.9 kB / 382.9 MB, free: 14.03 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.023e-05/0.005978, allocations: 23.78 kB / 383 MB, free: 14.01 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.707e-05/0.006005, allocations: 19.38 kB / 383 MB, free: 13.98 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.869e-05/0.006103, allocations: 0.4962 MB / 383.5 MB, free: 13.47 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.487e-05/0.006118, allocations: 4 kB / 383.5 MB, free: 13.47 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.304e-05/0.006131, allocations: 8 kB / 383.5 MB, free: 13.46 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.567e-05/0.006167, allocations: 31.61 kB / 383.5 MB, free: 13.43 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.006168, allocations: 0 / 383.5 MB, free: 13.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.078e-05/0.006228, allocations: 61.59 kB / 383.6 MB, free: 13.36 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.006241, allocations: 7.984 kB / 383.6 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.006245, allocations: 0 / 383.6 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.006257, allocations: 0 / 383.6 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.679e-05/0.006294, allocations: 8 kB / 383.6 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.0063, allocations: 4 kB / 383.6 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.792e-05/0.006318, allocations: 3.938 kB / 383.6 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.081e-06/0.006324, allocations: 11.98 kB / 383.6 MB, free: 13.32 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 5.512e-05/0.006379, allocations: 156.5 kB / 383.8 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.792e-05/0.006397, allocations: 16.14 kB / 383.8 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.785e-05/0.006495, allocations: 70.14 kB / 383.8 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.006496, allocations: 0 / 383.8 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.006499, allocations: 0 / 383.8 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.006502, allocations: 0 / 383.8 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002014/0.006703, allocations: 325.3 kB / 384.2 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.006704, allocations: 0 / 384.2 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.573e-05/0.00673, allocations: 11.98 kB / 384.2 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.006732, allocations: 4 kB / 384.2 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.031e-06/0.006738, allocations: 0 / 384.2 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.006739, allocations: 4 kB / 384.2 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.00674, allocations: 0 / 384.2 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.274e-05/0.006833, allocations: 207.8 kB / 384.4 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.362e-06/0.006839, allocations: 7.953 kB / 384.4 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.818e-06/0.006849, allocations: 0 / 384.4 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.028e-05/0.006879, allocations: 7.984 kB / 384.4 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.758e-05/0.006907, allocations: 7.938 kB / 384.4 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.275e-06/0.006909, allocations: 0 / 384.4 MB, free: 12.45 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.989e-05/0.006959, allocations: 150.2 kB / 384.6 MB, free: 12.3 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.006959, allocations: 4 kB / 384.6 MB, free: 12.3 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001509/0.00711, allocations: 16 kB / 384.6 MB, free: 12.28 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.0007168/0.007827, allocations: 374.1 kB / 384.9 MB, free: 12.02 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.741e-05/0.007914, allocations: 31.67 kB / 385 MB, free: 11.99 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.007915, allocations: 0 / 385 MB, free: 11.99 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.201e-05/0.007937, allocations: 27.75 kB / 385 MB, free: 11.96 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002/0.008137, allocations: 23.86 kB / 385 MB, free: 11.93 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003111/0.008449, allocations: 186.5 kB / 385.2 MB, free: 11.72 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.536e-05/0.008484, allocations: 59.34 kB / 385.3 MB, free: 11.64 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.33e-05/0.008517, allocations: 19.97 kB / 385.3 MB, free: 11.62 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.363e-05/0.008541, allocations: 12.5 kB / 385.3 MB, free: 11.61 MB / 362.7 MB Notification: Performance of SimCode: time 8.11e-07/0.008542, allocations: 4 kB / 385.3 MB, free: 11.61 MB / 362.7 MB Notification: Performance of Templates: time 0.002912/0.01145, allocations: 1.157 MB / 386.5 MB, free: 10.46 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test1/Test1.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.986008597072214]