Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15.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.0009498/0.0009498, 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.001015/0.001015, allocations: 162.4 kB / 24.99 MB, free: 9.281 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 1.002/1.002, allocations: 177 MB / 205.2 MB, free: 5.625 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.2571/0.2571, allocations: 34.86 MB / 296.6 MB, free: 0.582 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.Test15,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.Test15") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test15,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.Test15") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 378.8 MB, free: 2.41 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.76e-05/1.927e-05, allocations: 6.25 kB / 378.8 MB, free: 2.402 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test15): time 0.002214/0.002233, allocations: 1.647 MB / 380.4 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007065/0.00294, allocations: 0.5331 MB / 381 MB, free: 212 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.056e-05/0.003, allocations: 0 / 381 MB, free: 212 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002374/0.003238, allocations: 83.58 kB / 381 MB, free: 128 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002377/0.003475, allocations: 111.5 kB / 381.2 MB, free: 16 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002007/0.003676, allocations: 87.64 kB / 381.2 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001511/0.003827, allocations: 87.75 kB / 381.3 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.937e-05/0.003917, allocations: 7.984 kB / 381.3 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.306e-05/0.00398, allocations: 51.89 kB / 381.4 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.333e-05/0.004073, allocations: 59.86 kB / 381.4 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.335e-05/0.004086, allocations: 0 / 381.4 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.98e-05/0.004156, allocations: 43.92 kB / 381.5 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.566e-05/0.004202, allocations: 23.92 kB / 381.5 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.008e-05/0.004232, allocations: 19.86 kB / 381.5 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001419/0.004374, allocations: 87.67 kB / 381.6 MB, free: 15.55 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.004376, allocations: 0 / 381.6 MB, free: 15.55 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.004378, allocations: 3.984 kB / 381.6 MB, free: 15.55 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.027e-06/0.004382, allocations: 0 / 381.6 MB, free: 15.55 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003885/0.004771, allocations: 439.9 kB / 382 MB, free: 15.08 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.269e-05/0.004803, allocations: 8.031 kB / 382.1 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.018e-05/0.004843, allocations: 16.84 kB / 382.1 MB, free: 15.06 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/0.004976, allocations: 149.1 kB / 382.2 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.004987, allocations: 12.31 kB / 382.2 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.818e-05/0.005006, allocations: 384 / 382.2 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001076/0.005113, allocations: 62.89 kB / 382.3 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.005121, allocations: 192 / 382.3 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.795e-06/0.005129, allocations: 384 / 382.3 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.005137, allocations: 4.375 kB / 382.3 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.356e-05/0.00517, allocations: 15.92 kB / 382.3 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002758/0.005446, allocations: 299.7 kB / 382.6 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.861e-05/0.005505, allocations: 39 kB / 382.6 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.345e-05/0.005528, allocations: 19.77 kB / 382.7 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.748e-05/0.005546, allocations: 0 / 382.7 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.069e-05/0.005566, allocations: 41.33 kB / 382.7 MB, free: 14.33 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.005567, allocations: 0 / 382.7 MB, free: 14.33 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004863/0.006054, allocations: 161.3 kB / 382.9 MB, free: 14.16 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.142e-05/0.006085, allocations: 55.48 kB / 382.9 MB, free: 14.1 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001357/0.006221, allocations: 242.4 kB / 383.1 MB, free: 13.84 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.428e-06/0.00623, allocations: 25.7 kB / 383.2 MB, free: 13.81 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.679e-05/0.006287, allocations: 162.8 kB / 383.3 MB, free: 13.65 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.366e-05/0.006311, allocations: 27.75 kB / 383.4 MB, free: 13.62 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.185e-05/0.006342, allocations: 27.36 kB / 383.4 MB, free: 13.59 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.006466, allocations: 0.4962 MB / 383.9 MB, free: 13.08 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.103e-05/0.006487, allocations: 8 kB / 383.9 MB, free: 13.07 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.003e-05/0.006507, allocations: 12 kB / 383.9 MB, free: 13.06 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.605e-05/0.006553, allocations: 35.67 kB / 383.9 MB, free: 13.02 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.01e-07/0.006554, allocations: 0 / 383.9 MB, free: 13.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.288e-05/0.006647, allocations: 81.53 kB / 384 MB, free: 12.93 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.006658, allocations: 4 kB / 384 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.006662, allocations: 0 / 384 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.006674, allocations: 0 / 384 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.218e-05/0.006746, allocations: 19.92 kB / 384 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.006752, allocations: 4.312 kB / 384 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.907e-05/0.006771, allocations: 4 kB / 384 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.752e-06/0.006777, allocations: 7.938 kB / 384.1 MB, free: 12.89 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 (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 6.731e-05/0.006845, allocations: 160.5 kB / 384.2 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.235e-05/0.006867, allocations: 20.27 kB / 384.2 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001259/0.006993, allocations: 95.09 kB / 384.3 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.006996, allocations: 4 kB / 384.3 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.289e-06/0.007001, allocations: 7.922 kB / 384.3 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.007004, allocations: 0 / 384.3 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002773/0.007282, allocations: 377 kB / 384.7 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.007283, allocations: 0 / 384.7 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.715e-05/0.00732, allocations: 16 kB / 384.7 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.007322, allocations: 0 / 384.7 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/0.007329, allocations: 4 kB / 384.7 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.007332, allocations: 4 kB / 384.7 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.007333, allocations: 4.031 kB / 384.7 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001141/0.007447, allocations: 239.4 kB / 385 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.456e-06/0.007455, allocations: 7.953 kB / 385 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.187e-05/0.007467, allocations: 4 kB / 385 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.321e-05/0.0075, allocations: 4 kB / 385 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.315e-05/0.007534, allocations: 7.984 kB / 385 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.007e-06/0.007538, allocations: 4 kB / 385 MB, free: 11.87 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.943e-05/0.007607, allocations: 163.2 kB / 385.2 MB, free: 11.71 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007607, allocations: 4 kB / 385.2 MB, free: 11.71 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001639/0.007771, allocations: 23.92 kB / 385.2 MB, free: 11.68 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 (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.0008432/0.008614, allocations: 426.5 kB / 385.6 MB, free: 11.39 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.851e-05/0.008713, allocations: 47.59 kB / 385.6 MB, free: 11.34 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.008714, allocations: 0 / 385.6 MB, free: 11.34 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.911e-05/0.008743, allocations: 23.67 kB / 385.7 MB, free: 11.31 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002104/0.008954, allocations: 33.09 kB / 385.7 MB, free: 11.29 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003223/0.009276, allocations: 233.8 kB / 385.9 MB, free: 11.02 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.402e-05/0.00932, allocations: 79.39 kB / 386 MB, free: 10.93 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.11e-05/0.009351, allocations: 8.734 kB / 386 MB, free: 10.92 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.754e-05/0.009379, allocations: 12.5 kB / 386 MB, free: 10.91 MB / 362.7 MB Notification: Performance of SimCode: time 9.32e-07/0.009379, allocations: 0 / 386 MB, free: 10.91 MB / 362.7 MB Notification: Performance of Templates: time 0.002963/0.01234, allocations: 1.377 MB / 387.4 MB, free: 9.547 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test15/Test15.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: 3.0418950701132417]