Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.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.00153/0.00153, allocations: 92.27 kB / 20.96 MB, free: 3.445 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.001577/0.001577, allocations: 152.9 kB / 24.26 MB, free: 148 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.525/1.525, allocations: 177 MB / 204.4 MB, free: 5.605 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.3927/0.3927, allocations: 34.25 MB / 295.2 MB, free: 0.6523 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.CombiTable1Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.764e-06/1.764e-06, allocations: 0 / 377.2 MB, free: 2.887 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.564e-05/3.74e-05, allocations: 2.312 kB / 377.2 MB, free: 2.883 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test2): time 0.003282/0.003319, allocations: 1.596 MB / 378.8 MB, free: 1.273 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001305/0.004625, allocations: 0.5331 MB / 379.4 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.364e-05/0.004698, allocations: 0 / 379.4 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003088/0.005007, allocations: 19.84 kB / 379.4 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003642/0.005371, allocations: 79.56 kB / 379.5 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003574/0.005729, allocations: 111.6 kB / 379.6 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001748/0.005903, allocations: 71.78 kB / 379.6 MB, free: 472 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.006009, allocations: 11.98 kB / 379.6 MB, free: 460 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.272e-05/0.006091, allocations: 27.92 kB / 379.7 MB, free: 432 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.267e-05/0.006154, allocations: 15.91 kB / 379.7 MB, free: 416 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.794e-05/0.006172, allocations: 4 kB / 379.7 MB, free: 412 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.81e-05/0.00627, allocations: 35.92 kB / 379.7 MB, free: 376 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.791e-05/0.006328, allocations: 11.94 kB / 379.7 MB, free: 364 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.652e-05/0.006374, allocations: 15.92 kB / 379.8 MB, free: 348 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002122/0.006587, allocations: 83.66 kB / 379.8 MB, free: 264 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.006591, allocations: 0 / 379.8 MB, free: 264 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.006593, allocations: 4 kB / 379.8 MB, free: 260 kB / 346.7 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.006599, allocations: 0 / 379.8 MB, free: 260 kB / 346.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.0006134/0.007212, allocations: 309.9 kB / 380.1 MB, free: 15.92 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.007255, allocations: 8.031 kB / 380.1 MB, free: 15.91 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.681e-05/0.007312, allocations: 8.891 kB / 380.2 MB, free: 15.9 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002236/0.007535, allocations: 133.7 kB / 380.3 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.007548, allocations: 4.375 kB / 380.3 MB, free: 15.74 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.683e-05/0.007575, allocations: 4.375 kB / 380.3 MB, free: 15.74 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001638/0.007739, allocations: 58.17 kB / 380.4 MB, free: 15.68 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.007752, allocations: 4.172 kB / 380.4 MB, free: 15.67 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.007763, allocations: 4.375 kB / 380.4 MB, free: 15.67 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.007769, allocations: 384 / 380.4 MB, free: 15.67 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001148/0.007884, allocations: 23.92 kB / 380.4 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004251/0.008309, allocations: 228.5 kB / 380.6 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002478/0.008556, allocations: 46.5 kB / 380.7 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.239e-05/0.008619, allocations: 16.94 kB / 380.7 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.566e-05/0.008645, allocations: 4 kB / 380.7 MB, free: 15.31 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.036e-05/0.008675, allocations: 30.56 kB / 380.7 MB, free: 15.27 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.008676, allocations: 4 kB / 380.7 MB, free: 15.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006585/0.009334, allocations: 161.2 kB / 380.9 MB, free: 15.11 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.546e-05/0.00939, allocations: 55.41 kB / 380.9 MB, free: 15.04 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001835/0.009573, allocations: 145.4 kB / 381.1 MB, free: 14.89 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.649e-05/0.0096, allocations: 29.7 kB / 381.1 MB, free: 14.85 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.185e-05/0.009682, allocations: 96.12 kB / 381.2 MB, free: 14.75 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.325e-05/0.009715, allocations: 11.91 kB / 381.2 MB, free: 14.74 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.349e-05/0.009758, allocations: 21.7 kB / 381.2 MB, free: 14.71 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001873/0.009946, allocations: 322.8 kB / 381.5 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.14e-05/0.01003, allocations: 23.97 kB / 381.6 MB, free: 14.37 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.898e-05/0.0101, allocations: 19.98 kB / 381.6 MB, free: 14.35 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001467/0.01024, allocations: 48.83 kB / 381.6 MB, free: 14.3 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.01024, allocations: 3.938 kB / 381.6 MB, free: 14.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002099/0.01045, allocations: 93.55 kB / 381.7 MB, free: 14.2 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.01047, allocations: 8 kB / 381.7 MB, free: 14.19 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.962e-06/0.01048, allocations: 0 / 381.7 MB, free: 14.19 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.01049, allocations: 4 kB / 381.7 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.083e-05/0.01056, allocations: 11.98 kB / 381.7 MB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.01057, allocations: 0 / 381.7 MB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.606e-05/0.01062, allocations: 12.14 kB / 381.8 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.171e-06/0.01062, allocations: 0 / 381.8 MB, free: 14.16 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 0.0001123/0.01073, allocations: 117.8 kB / 381.9 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.891e-05/0.01077, allocations: 15.88 kB / 381.9 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002767/0.01105, allocations: 106.1 kB / 382 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.01105, allocations: 0 / 382 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.01106, allocations: 0 / 382 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.01106, allocations: 0 / 382 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000467/0.01153, allocations: 298.2 kB / 382.3 MB, free: 13.58 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.01153, allocations: 3.938 kB / 382.3 MB, free: 13.58 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.073e-05/0.0116, allocations: 15.98 kB / 382.3 MB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.0116, allocations: 3.938 kB / 382.3 MB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.174e-06/0.01161, allocations: 4 kB / 382.3 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.01161, allocations: 0 / 382.3 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.01161, allocations: 0 / 382.3 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002748/0.01188, allocations: 187.4 kB / 382.5 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.109e-05/0.01189, allocations: 3.953 kB / 382.5 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.793e-05/0.01191, allocations: 4 kB / 382.5 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.398e-05/0.01199, allocations: 7.984 kB / 382.5 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.659e-05/0.01202, allocations: 4 kB / 382.5 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.048e-06/0.01203, allocations: 0 / 382.5 MB, free: 13.34 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001163/0.01214, allocations: 119.2 kB / 382.6 MB, free: 13.22 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01214, allocations: 7.938 kB / 382.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002389/0.01238, allocations: 8 kB / 382.6 MB, free: 13.2 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.001956/0.01434, allocations: 433.2 kB / 383.1 MB, free: 12.92 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002427/0.01458, allocations: 47.95 kB / 383.1 MB, free: 12.88 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.01458, allocations: 0 / 383.1 MB, free: 12.88 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.554e-05/0.01467, allocations: 27.92 kB / 383.1 MB, free: 12.85 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004242/0.01509, allocations: 27.86 kB / 383.2 MB, free: 12.82 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005856/0.01568, allocations: 200.8 kB / 383.4 MB, free: 12.59 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001049/0.01578, allocations: 83.31 kB / 383.4 MB, free: 12.49 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.31e-05/0.01585, allocations: 15.84 kB / 383.5 MB, free: 12.48 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.502e-05/0.01589, allocations: 20.48 kB / 383.5 MB, free: 12.46 MB / 362.7 MB Notification: Performance of SimCode: time 6.82e-07/0.01589, allocations: 4 kB / 383.5 MB, free: 12.45 MB / 362.7 MB Notification: Performance of Templates: time 0.004258/0.02015, allocations: 1.159 MB / 384.6 MB, free: 11.3 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.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: 4.886270030983724]