Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.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.001707/0.001707, allocations: 96.25 kB / 20.96 MB, free: 3.473 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.001629/0.001629, allocations: 156.9 kB / 24.27 MB, free: 172 kB / 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.548/1.548, allocations: 177 MB / 204.5 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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.356/0.356, allocations: 34.25 MB / 295.2 MB, free: 0.6445 MB / 266.7 MB " [Timeout remaining time 179] 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.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 377.2 MB, free: 2.875 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.265e-05/3.45e-05, allocations: 2.312 kB / 377.2 MB, free: 2.871 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.003283/0.003317, allocations: 1.648 MB / 378.9 MB, free: 1.211 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001174/0.004491, allocations: 0.5331 MB / 379.4 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.122e-05/0.004552, allocations: 0 / 379.4 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003473/0.0049, allocations: 99.61 kB / 379.5 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003432/0.005243, allocations: 115.5 kB / 379.6 MB, free: 476 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002818/0.005525, allocations: 95.69 kB / 379.7 MB, free: 380 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002026/0.005727, allocations: 99.67 kB / 379.8 MB, free: 280 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001257/0.005853, allocations: 27.98 kB / 379.8 MB, free: 252 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.947e-05/0.005953, allocations: 51.88 kB / 379.9 MB, free: 200 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001594/0.006112, allocations: 59.86 kB / 380 MB, free: 140 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.996e-05/0.006132, allocations: 4 kB / 380 MB, free: 136 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001031/0.006235, allocations: 43.92 kB / 380 MB, free: 92 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.7e-05/0.006302, allocations: 31.86 kB / 380 MB, free: 60 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.673e-05/0.006349, allocations: 23.91 kB / 380.1 MB, free: 36 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002546/0.006603, allocations: 127.5 kB / 380.2 MB, free: 15.91 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.006606, allocations: 0 / 380.2 MB, free: 15.91 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.006607, allocations: 0 / 380.2 MB, free: 15.91 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.006612, allocations: 0 / 380.2 MB, free: 15.91 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005868/0.007199, allocations: 361.5 kB / 380.5 MB, free: 15.52 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.007243, allocations: 12.03 kB / 380.5 MB, free: 15.51 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.963e-05/0.007303, allocations: 16.84 kB / 380.6 MB, free: 15.5 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002245/0.007527, allocations: 157.5 kB / 380.7 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.007541, allocations: 4.375 kB / 380.7 MB, free: 15.31 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.082e-05/0.007571, allocations: 12.31 kB / 380.7 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001944/0.007766, allocations: 66.17 kB / 380.8 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.73e-05/0.007783, allocations: 4.188 kB / 380.8 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.523e-05/0.007798, allocations: 4.375 kB / 380.8 MB, free: 15.22 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.007804, allocations: 384 / 380.8 MB, free: 15.22 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001394/0.007943, allocations: 51.89 kB / 380.9 MB, free: 15.17 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004466/0.00839, allocations: 264.3 kB / 381.1 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001486/0.008538, allocations: 58.56 kB / 381.2 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.083e-05/0.008619, allocations: 20.84 kB / 381.2 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.625e-05/0.008655, allocations: 3.938 kB / 381.2 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.776e-05/0.008703, allocations: 38.56 kB / 381.2 MB, free: 14.74 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.008704, allocations: 0 / 381.2 MB, free: 14.74 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.001224/0.009928, allocations: 309.5 kB / 381.5 MB, free: 14.43 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.332e-05/0.009981, allocations: 55.41 kB / 381.6 MB, free: 14.37 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003681/0.01035, allocations: 231.6 kB / 381.8 MB, free: 14.12 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.248e-05/0.01038, allocations: 33.7 kB / 381.9 MB, free: 14.09 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.603e-05/0.01048, allocations: 108.1 kB / 382 MB, free: 13.98 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.775e-05/0.01055, allocations: 51.83 kB / 382 MB, free: 13.93 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.983e-05/0.01061, allocations: 37.64 kB / 382 MB, free: 13.88 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002007/0.01081, allocations: 330.8 kB / 382.4 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001037/0.01091, allocations: 35.97 kB / 382.4 MB, free: 13.52 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001083/0.01102, allocations: 31.98 kB / 382.4 MB, free: 13.48 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002717/0.01129, allocations: 99.64 kB / 382.5 MB, free: 13.39 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.01129, allocations: 0 / 382.5 MB, free: 13.39 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002988/0.01159, allocations: 137.6 kB / 382.7 MB, free: 13.25 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.01161, allocations: 8 kB / 382.7 MB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.01161, allocations: 0 / 382.7 MB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.135e-05/0.01163, allocations: 0 / 382.7 MB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001408/0.01178, allocations: 35.97 kB / 382.7 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.01178, allocations: 0 / 382.7 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.747e-05/0.01183, allocations: 4 kB / 382.7 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.947e-06/0.01184, allocations: 3.938 kB / 382.7 MB, free: 13.2 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 (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 0.0001351/0.01197, allocations: 137.8 kB / 382.8 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.994e-05/0.01202, allocations: 19.91 kB / 382.9 MB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003941/0.01242, allocations: 167 kB / 383 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.01242, allocations: 4 kB / 383 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.01243, allocations: 0 / 383 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.613e-06/0.01243, allocations: 3.984 kB / 383 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006747/0.01311, allocations: 410.7 kB / 383.4 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.01311, allocations: 0 / 383.4 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.869e-05/0.01321, allocations: 27.98 kB / 383.5 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.01321, allocations: 8.031 kB / 383.5 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.838e-06/0.01322, allocations: 0 / 383.5 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.01322, allocations: 0 / 383.5 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.504e-06/0.01323, allocations: 7.938 kB / 383.5 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003758/0.01361, allocations: 244.2 kB / 383.7 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.678e-05/0.01362, allocations: 7.953 kB / 383.7 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.402e-05/0.01365, allocations: 8 kB / 383.7 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.29e-05/0.01373, allocations: 7.984 kB / 383.7 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.052e-05/0.01378, allocations: 11.92 kB / 383.8 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.687e-06/0.01379, allocations: 8 kB / 383.8 MB, free: 12.07 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001895/0.01398, allocations: 185.1 kB / 383.9 MB, free: 11.89 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01398, allocations: 0 / 383.9 MB, free: 11.89 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002747/0.01426, allocations: 31.89 kB / 384 MB, free: 11.86 MB / 362.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.002249/0.0165, allocations: 483.5 kB / 384.4 MB, free: 11.55 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002869/0.01679, allocations: 87.89 kB / 384.5 MB, free: 11.47 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.01679, allocations: 0 / 384.5 MB, free: 11.47 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001904/0.01698, allocations: 55.84 kB / 384.6 MB, free: 11.41 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000577/0.01756, allocations: 19.98 kB / 384.6 MB, free: 11.39 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009451/0.01851, allocations: 324.2 kB / 384.9 MB, free: 11.05 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000178/0.01868, allocations: 105.1 kB / 385 MB, free: 10.93 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001051/0.01879, allocations: 24.47 kB / 385.1 MB, free: 10.91 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.364e-05/0.01885, allocations: 20.44 kB / 385.1 MB, free: 10.89 MB / 362.7 MB Notification: Performance of SimCode: time 6.61e-07/0.01885, allocations: 0 / 385.1 MB, free: 10.89 MB / 362.7 MB Notification: Performance of Templates: time 0.007198/0.02605, allocations: 1.547 MB / 386.6 MB, free: 9.352 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.0246016109595075]