Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.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.001295/0.001295, 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.0009907/0.0009907, allocations: 168.1 kB / 24.82 MB, free: 9.277 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.9697/0.9697, 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.2699/0.2699, allocations: 34.86 MB / 296.6 MB, free: 0.5117 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.CombiTable1Ds.Test20,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.CombiTable1Ds.Test20") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test20,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.CombiTable1Ds.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 379.2 MB, free: 1.824 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.962e-05/2.089e-05, allocations: 3.297 kB / 379.2 MB, free: 1.82 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.002485/0.002506, allocations: 1.631 MB / 380.9 MB, free: 180 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001424/0.00393, allocations: 1.273 MB / 382.1 MB, free: 14.9 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.059e-05/0.003991, allocations: 3.938 kB / 382.1 MB, free: 14.89 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001985/0.004189, allocations: 23.84 kB / 382.2 MB, free: 14.87 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000301/0.00449, allocations: 91.48 kB / 382.3 MB, free: 14.78 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002394/0.00473, allocations: 87.7 kB / 382.3 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001348/0.004865, allocations: 75.7 kB / 382.4 MB, free: 14.62 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.331e-05/0.004948, allocations: 11.86 kB / 382.4 MB, free: 14.61 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.424e-05/0.005012, allocations: 31.91 kB / 382.5 MB, free: 14.58 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.052e-05/0.005103, allocations: 23.91 kB / 382.5 MB, free: 14.55 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.412e-05/0.005117, allocations: 4 kB / 382.5 MB, free: 14.55 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001539/0.005271, allocations: 91.88 kB / 382.6 MB, free: 14.46 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.039e-05/0.005311, allocations: 19.86 kB / 382.6 MB, free: 14.44 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.634e-05/0.005337, allocations: 11.98 kB / 382.6 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002039/0.005541, allocations: 131.5 kB / 382.7 MB, free: 14.3 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.355e-06/0.005544, allocations: 4 kB / 382.7 MB, free: 14.3 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.005545, allocations: 0 / 382.7 MB, free: 14.3 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.626e-06/0.005548, allocations: 0 / 382.7 MB, free: 14.3 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.0003747/0.005923, allocations: 431.9 kB / 383.2 MB, free: 13.84 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.005959, allocations: 12.03 kB / 383.2 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.242e-05/0.005992, allocations: 12.83 kB / 383.2 MB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001305/0.006122, allocations: 133.9 kB / 383.3 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.373e-06/0.00613, allocations: 4.375 kB / 383.3 MB, free: 13.65 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.527e-05/0.006145, allocations: 384 / 383.3 MB, free: 13.65 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001146/0.00626, allocations: 104 kB / 383.4 MB, free: 13.53 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.006269, allocations: 4.188 kB / 383.4 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.863e-06/0.006276, allocations: 384 / 383.4 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.006281, allocations: 384 / 383.4 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.498e-05/0.006306, allocations: 15.86 kB / 383.4 MB, free: 13.51 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002264/0.006533, allocations: 252.4 kB / 383.7 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001225/0.006655, allocations: 43.03 kB / 383.7 MB, free: 13.18 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.718e-05/0.006673, allocations: 15.69 kB / 383.8 MB, free: 13.16 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.082e-05/0.006693, allocations: 0 / 383.8 MB, free: 13.16 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.508e-05/0.006718, allocations: 41.42 kB / 383.8 MB, free: 13.11 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.006719, allocations: 0 / 383.8 MB, free: 13.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002806/0.007, allocations: 97.42 kB / 383.9 MB, free: 13.01 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.346e-05/0.007033, allocations: 85.11 kB / 384 MB, free: 12.91 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000349/0.007382, allocations: 189.9 kB / 384.2 MB, free: 12.7 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.188e-05/0.007394, allocations: 25.7 kB / 384.2 MB, free: 12.67 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.126e-05/0.007446, allocations: 146.8 kB / 384.3 MB, free: 12.52 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.854e-05/0.007464, allocations: 15.84 kB / 384.3 MB, free: 12.51 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.409e-05/0.007498, allocations: 19.38 kB / 384.4 MB, free: 12.48 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.007615, allocations: 0.4923 MB / 384.9 MB, free: 11.98 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.442e-05/0.007629, allocations: 4 kB / 384.9 MB, free: 11.97 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.537e-05/0.007664, allocations: 53.06 kB / 384.9 MB, free: 11.91 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.401e-05/0.007698, allocations: 23.7 kB / 384.9 MB, free: 11.88 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.0077, allocations: 4 kB / 384.9 MB, free: 11.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.476e-05/0.007784, allocations: 61.86 kB / 385 MB, free: 11.81 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.007798, allocations: 14.91 kB / 385 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.007803, allocations: 0 / 385 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.007814, allocations: 0 / 385 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.49e-05/0.007859, allocations: 11.98 kB / 385 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.365e-06/0.007861, allocations: 0 / 385 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.423e-05/0.007885, allocations: 4 kB / 385 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-06/0.007891, allocations: 7.922 kB / 385 MB, free: 11.77 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 6.623e-05/0.007957, allocations: 160.6 kB / 385.2 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.765e-05/0.007985, allocations: 7.953 kB / 385.2 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001123/0.008097, allocations: 74.02 kB / 385.3 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.008099, allocations: 0 / 385.3 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.008101, allocations: 320 / 385.3 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.008104, allocations: 0 / 385.3 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002678/0.008372, allocations: 298.1 kB / 385.6 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.008375, allocations: 0 / 385.6 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.653e-05/0.008411, allocations: 8 kB / 385.6 MB, free: 11.19 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.651e-06/0.008417, allocations: 7.938 kB / 385.6 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.669e-06/0.008422, allocations: 3.938 kB / 385.6 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.008423, allocations: 4 kB / 385.6 MB, free: 11.17 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.008424, allocations: 0 / 385.6 MB, free: 11.17 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001206/0.008545, allocations: 203.9 kB / 385.8 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.408e-05/0.008559, allocations: 15.88 kB / 385.8 MB, free: 10.94 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.36e-05/0.008573, allocations: 4 kB / 385.8 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.089e-05/0.008623, allocations: 4 kB / 385.8 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.523e-05/0.008649, allocations: 3.984 kB / 385.8 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-06/0.008652, allocations: 0 / 385.8 MB, free: 10.93 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.681e-05/0.008719, allocations: 139.2 kB / 385.9 MB, free: 10.79 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008719, allocations: 0 / 385.9 MB, free: 10.79 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002756/0.008995, allocations: 43.86 kB / 386 MB, free: 10.75 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.001177/0.01017, allocations: 486 kB / 386.5 MB, free: 10.41 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.843e-05/0.01026, allocations: 27.62 kB / 386.5 MB, free: 10.38 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.01026, allocations: 4 kB / 386.5 MB, free: 10.37 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.214e-05/0.01028, allocations: 23.67 kB / 386.5 MB, free: 10.34 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002491/0.01053, allocations: 15.98 kB / 386.5 MB, free: 10.33 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002944/0.01083, allocations: 173.8 kB / 386.7 MB, free: 10.13 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.771e-05/0.01087, allocations: 63.34 kB / 386.8 MB, free: 10.05 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.246e-05/0.01091, allocations: 8 kB / 386.8 MB, free: 10.04 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.538e-05/0.01098, allocations: 90.17 kB / 386.9 MB, free: 9.949 MB / 362.7 MB Notification: Performance of SimCode: time 4.21e-07/0.01098, allocations: 4 kB / 386.9 MB, free: 9.945 MB / 362.7 MB Notification: Performance of Templates: time 0.003978/0.01496, allocations: 2.02 MB / 388.9 MB, free: 7.945 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test20/Test20.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.956025483086705]