Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.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.0009127/0.0009127, allocations: 84.73 kB / 21.5 MB, free: 2.984 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.000908/0.000908, allocations: 160.2 kB / 24.91 MB, free: 8.758 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.916/0.916, allocations: 177 MB / 205.2 MB, free: 5.445 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.2436/0.2436, 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.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.82e-07/9.82e-07, allocations: 0 / 325.9 MB, free: 7.164 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.048e-05/1.146e-05, allocations: 4 kB / 325.9 MB, free: 7.16 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test32): time 0.001818/0.001829, allocations: 1.655 MB / 327.6 MB, free: 5.492 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006794/0.002509, allocations: 0.5408 MB / 328.1 MB, free: 4.949 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.899e-05/0.002548, allocations: 3.938 kB / 328.1 MB, free: 4.945 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002016/0.002749, allocations: 103.7 kB / 328.2 MB, free: 4.844 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002027/0.002952, allocations: 127.4 kB / 328.4 MB, free: 4.719 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001505/0.003103, allocations: 91.69 kB / 328.5 MB, free: 4.629 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001085/0.003211, allocations: 87.7 kB / 328.5 MB, free: 4.543 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.089e-05/0.003272, allocations: 23.97 kB / 328.6 MB, free: 4.52 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.696e-05/0.003329, allocations: 47.88 kB / 328.6 MB, free: 4.473 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.23e-05/0.003401, allocations: 55.88 kB / 328.7 MB, free: 4.418 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.032e-05/0.003412, allocations: 4 kB / 328.7 MB, free: 4.414 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.819e-05/0.00347, allocations: 43.91 kB / 328.7 MB, free: 4.371 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.522e-05/0.003505, allocations: 27.92 kB / 328.7 MB, free: 4.344 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.867e-05/0.003524, allocations: 15.94 kB / 328.8 MB, free: 4.328 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001127/0.003636, allocations: 99.53 kB / 328.8 MB, free: 4.23 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.212e-06/0.003638, allocations: 0 / 328.8 MB, free: 4.23 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.61e-07/0.003638, allocations: 0 / 328.8 MB, free: 4.23 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.685e-06/0.003641, allocations: 0 / 328.8 MB, free: 4.23 MB / 298.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.0002662/0.003907, allocations: 342.2 kB / 329.2 MB, free: 3.871 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.541e-05/0.003933, allocations: 8.031 kB / 329.2 MB, free: 3.863 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.205e-05/0.003955, allocations: 4.938 kB / 329.2 MB, free: 3.859 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001033/0.004058, allocations: 146.4 kB / 329.3 MB, free: 3.688 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.434e-06/0.004065, allocations: 8.312 kB / 329.3 MB, free: 3.68 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.445e-05/0.00408, allocations: 4.375 kB / 329.3 MB, free: 3.676 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.728e-05/0.004147, allocations: 62.88 kB / 329.4 MB, free: 3.605 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.522e-06/0.004154, allocations: 192 / 329.4 MB, free: 3.605 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.15e-06/0.004159, allocations: 384 / 329.4 MB, free: 3.605 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.898e-06/0.004163, allocations: 384 / 329.4 MB, free: 3.605 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.962e-05/0.004182, allocations: 11.94 kB / 329.4 MB, free: 3.594 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002918/0.004474, allocations: 179.1 kB / 329.6 MB, free: 3.402 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.897e-05/0.004513, allocations: 30.5 kB / 329.6 MB, free: 3.363 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.205e-05/0.004525, allocations: 8.859 kB / 329.6 MB, free: 3.352 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.251e-05/0.004538, allocations: 0 / 329.6 MB, free: 3.352 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.625e-05/0.004554, allocations: 34.56 kB / 329.7 MB, free: 3.309 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 7.41e-07/0.004555, allocations: 0 / 329.7 MB, free: 3.309 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003387/0.004893, allocations: 149.8 kB / 329.8 MB, free: 3.156 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.396e-05/0.004917, allocations: 59.41 kB / 329.9 MB, free: 3.086 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001017/0.005019, allocations: 205.5 kB / 330.1 MB, free: 2.871 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.776e-06/0.005028, allocations: 25.7 kB / 330.1 MB, free: 2.84 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.714e-05/0.005055, allocations: 92.11 kB / 330.2 MB, free: 2.746 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.077e-05/0.005076, allocations: 35.72 kB / 330.2 MB, free: 2.711 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.451e-05/0.0051, allocations: 21.72 kB / 330.2 MB, free: 2.684 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.319e-05/0.005163, allocations: 326.8 kB / 330.6 MB, free: 2.355 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.043e-05/0.005174, allocations: 7.984 kB / 330.6 MB, free: 2.348 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.668e-06/0.005183, allocations: 4 kB / 330.6 MB, free: 2.344 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.815e-05/0.005212, allocations: 28.83 kB / 330.6 MB, free: 2.312 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.21e-07/0.005212, allocations: 0 / 330.6 MB, free: 2.312 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 5.227e-05/0.005265, allocations: 69.83 kB / 330.7 MB, free: 2.238 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.476e-06/0.005273, allocations: 4 kB / 330.7 MB, free: 2.234 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.875e-06/0.005276, allocations: 3.938 kB / 330.7 MB, free: 2.23 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.326e-06/0.005284, allocations: 0 / 330.7 MB, free: 2.23 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.868e-05/0.005333, allocations: 15.98 kB / 330.7 MB, free: 2.215 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.304e-06/0.005335, allocations: 0 / 330.7 MB, free: 2.215 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.717e-05/0.005352, allocations: 12 kB / 330.7 MB, free: 2.203 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.569e-06/0.005357, allocations: 0 / 330.7 MB, free: 2.203 MB / 298.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 (8): * Single equations (assignments): 8 * 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 4.553e-05/0.005402, allocations: 112.7 kB / 330.8 MB, free: 2.082 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.718e-05/0.00542, allocations: 19.86 kB / 330.8 MB, free: 2.062 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.375e-05/0.005503, allocations: 83.06 kB / 330.9 MB, free: 1.973 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.005505, allocations: 0 / 330.9 MB, free: 1.973 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-06/0.005506, allocations: 0 / 330.9 MB, free: 1.973 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.005509, allocations: 0 / 330.9 MB, free: 1.973 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002291/0.005738, allocations: 259.4 kB / 331.2 MB, free: 1.691 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.00574, allocations: 0 / 331.2 MB, free: 1.691 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.732e-05/0.005788, allocations: 15.98 kB / 331.2 MB, free: 1.676 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.005789, allocations: 0 / 331.2 MB, free: 1.676 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-06/0.005795, allocations: 4 kB / 331.2 MB, free: 1.672 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.005797, allocations: 0 / 331.2 MB, free: 1.672 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.005797, allocations: 4.031 kB / 331.2 MB, free: 1.668 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.075e-05/0.005888, allocations: 168.2 kB / 331.4 MB, free: 1.484 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.043e-05/0.005898, allocations: 11.91 kB / 331.4 MB, free: 1.473 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.084e-05/0.005909, allocations: 4 kB / 331.4 MB, free: 1.469 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.359e-05/0.005943, allocations: 3.984 kB / 331.4 MB, free: 1.465 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.964e-05/0.005963, allocations: 4 kB / 331.4 MB, free: 1.461 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-06/0.005967, allocations: 3.984 kB / 331.4 MB, free: 1.457 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.268e-05/0.00602, allocations: 68.53 kB / 331.5 MB, free: 1.387 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.00602, allocations: 0 / 331.5 MB, free: 1.387 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001273/0.006147, allocations: 12 kB / 331.5 MB, free: 1.375 MB / 298.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 (8): * Single equations (assignments): 8 * 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.001117/0.007264, allocations: 0.5686 MB / 332 MB, free: 1.086 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 6.16e-05/0.007326, allocations: 36.77 kB / 332.1 MB, free: 1.047 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.007328, allocations: 4 kB / 332.1 MB, free: 1.043 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.222e-05/0.00735, allocations: 28.78 kB / 332.1 MB, free: 1.012 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001358/0.007486, allocations: 33.09 kB / 332.1 MB, free: 0.9883 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002661/0.007752, allocations: 234.6 kB / 332.4 MB, free: 0.7305 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.761e-05/0.00779, allocations: 79.27 kB / 332.4 MB, free: 0.6328 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.73e-05/0.007817, allocations: 5.047 kB / 332.4 MB, free: 0.625 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.578e-05/0.007863, allocations: 67.42 kB / 332.5 MB, free: 0.5586 MB / 298.7 MB Notification: Performance of SimCode: time 5.91e-07/0.007863, allocations: 0 / 332.5 MB, free: 0.5586 MB / 298.7 MB Notification: Performance of Templates: time 0.002643/0.01051, allocations: 1.494 MB / 334 MB, free: 15.07 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test32/Test32.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.9360915827564895]