Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 83.58 kB / 21.18 MB, free: 3.383 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001216/0.001216, allocations: 161 kB / 24.56 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9896/0.9896, allocations: 177.1 MB / 205 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2766/0.2766, allocations: 32.8 MB / 294.3 MB, free: 0.7344 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 376 MB, free: 4.5 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.578e-05/2.788e-05, allocations: 2.312 kB / 376 MB, free: 4.496 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test6): time 0.002384/0.002412, allocations: 1.7 MB / 377.7 MB, free: 2.781 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007539/0.003166, allocations: 0.5531 MB / 378.3 MB, free: 2.223 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.256e-05/0.003229, allocations: 3.938 kB / 378.3 MB, free: 2.219 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002782/0.003507, allocations: 95.67 kB / 378.4 MB, free: 2.125 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002691/0.003776, allocations: 111.5 kB / 378.5 MB, free: 2.016 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002564/0.004032, allocations: 123.6 kB / 378.6 MB, free: 1.895 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001586/0.004191, allocations: 95.75 kB / 378.7 MB, free: 1.801 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.004299, allocations: 23.97 kB / 378.7 MB, free: 1.777 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.563e-05/0.004375, allocations: 55.88 kB / 378.8 MB, free: 1.723 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.268e-05/0.004467, allocations: 59.86 kB / 378.8 MB, free: 1.664 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.576e-05/0.004483, allocations: 7.938 kB / 378.9 MB, free: 1.656 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.233e-05/0.004565, allocations: 47.92 kB / 378.9 MB, free: 1.609 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.004e-05/0.004615, allocations: 35.84 kB / 378.9 MB, free: 1.574 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.28e-05/0.004648, allocations: 19.92 kB / 379 MB, free: 1.555 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001703/0.004818, allocations: 103.6 kB / 379.1 MB, free: 1.453 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.004821, allocations: 0 / 379.1 MB, free: 1.453 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.004822, allocations: 0 / 379.1 MB, free: 1.453 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.141e-06/0.004828, allocations: 0 / 379.1 MB, free: 1.453 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004612/0.005289, allocations: 471.7 kB / 379.5 MB, free: 0.957 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.881e-05/0.005378, allocations: 12.03 kB / 379.5 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.556e-05/0.005434, allocations: 24.78 kB / 379.6 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001631/0.005597, allocations: 152.4 kB / 379.7 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.066e-05/0.005608, allocations: 4.375 kB / 379.7 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.714e-05/0.005635, allocations: 12.38 kB / 379.7 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001351/0.00577, allocations: 74.86 kB / 379.8 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.00578, allocations: 4.188 kB / 379.8 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.00579, allocations: 4.125 kB / 379.8 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.146e-06/0.005798, allocations: 0 / 379.8 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.424e-05/0.005842, allocations: 27.73 kB / 379.8 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003662/0.006209, allocations: 335.5 kB / 380.2 MB, free: 260 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.138e-05/0.00629, allocations: 58.98 kB / 380.2 MB, free: 188 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.669e-05/0.006317, allocations: 15.69 kB / 380.2 MB, free: 168 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.303e-05/0.00634, allocations: 8 kB / 380.2 MB, free: 160 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.346e-05/0.006363, allocations: 37.38 kB / 380.3 MB, free: 112 kB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 9.52e-07/0.006364, allocations: 0 / 380.3 MB, free: 112 kB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006434/0.007008, allocations: 241.5 kB / 380.5 MB, free: 15.87 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.802e-05/0.007036, allocations: 51.41 kB / 380.6 MB, free: 15.8 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001649/0.0072, allocations: 250.7 kB / 380.8 MB, free: 15.54 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.358e-05/0.007214, allocations: 29.7 kB / 380.8 MB, free: 15.5 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.375e-05/0.007278, allocations: 166.8 kB / 381 MB, free: 15.34 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.2e-05/0.00731, allocations: 43.8 kB / 381 MB, free: 15.29 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.029e-05/0.00735, allocations: 35.36 kB / 381.1 MB, free: 15.25 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.007479, allocations: 0.504 MB / 381.6 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.461e-05/0.007514, allocations: 23.98 kB / 381.6 MB, free: 14.71 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.915e-05/0.007543, allocations: 20.11 kB / 381.6 MB, free: 14.69 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.915e-05/0.007612, allocations: 47.69 kB / 381.7 MB, free: 14.64 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.007613, allocations: 0 / 381.7 MB, free: 14.64 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001223/0.007736, allocations: 109.5 kB / 381.8 MB, free: 14.53 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.00775, allocations: 6.5 kB / 381.8 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.007757, allocations: 3.984 kB / 381.8 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.007775, allocations: 8 kB / 381.8 MB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.931e-05/0.007874, allocations: 31.98 kB / 381.8 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.00788, allocations: 0 / 381.8 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.112e-05/0.007901, allocations: 3.938 kB / 381.8 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.007911, allocations: 7.984 kB / 381.8 MB, free: 14.47 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 7.353e-05/0.007985, allocations: 164.5 kB / 382 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.858e-05/0.008013, allocations: 19.91 kB / 382 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002018/0.008215, allocations: 122 kB / 382.1 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.008219, allocations: 4 kB / 382.1 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.008223, allocations: 0 / 382.1 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.008227, allocations: 4 kB / 382.1 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003891/0.008616, allocations: 440.8 kB / 382.6 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.008618, allocations: 4 kB / 382.6 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.316e-05/0.008681, allocations: 23.98 kB / 382.6 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.008684, allocations: 0 / 382.6 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.008692, allocations: 7.875 kB / 382.6 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.008695, allocations: 4 kB / 382.6 MB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.008697, allocations: 0 / 382.6 MB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001582/0.008855, allocations: 263.5 kB / 382.9 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.452e-05/0.008869, allocations: 19.94 kB / 382.9 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.601e-05/0.008885, allocations: 3.938 kB / 382.9 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.109e-05/0.008926, allocations: 11.98 kB / 382.9 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.424e-05/0.008961, allocations: 7.984 kB / 382.9 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.853e-06/0.008968, allocations: 4 kB / 382.9 MB, free: 13.3 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001021/0.00907, allocations: 181.1 kB / 383.1 MB, free: 13.13 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00907, allocations: 0 / 383.1 MB, free: 13.13 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001846/0.009254, allocations: 31.92 kB / 383.1 MB, free: 13.1 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.0009649/0.01022, allocations: 430.3 kB / 383.5 MB, free: 12.83 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001545/0.01037, allocations: 67.59 kB / 383.6 MB, free: 12.76 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.01038, allocations: 0 / 383.6 MB, free: 12.76 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.446e-05/0.01042, allocations: 39.61 kB / 383.6 MB, free: 12.72 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002437/0.01066, allocations: 27.2 kB / 383.7 MB, free: 12.7 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005472/0.01121, allocations: 292.6 kB / 384 MB, free: 12.38 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.549e-05/0.01127, allocations: 75.33 kB / 384 MB, free: 12.29 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.883e-05/0.01133, allocations: 24.55 kB / 384.1 MB, free: 12.26 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.96e-05/0.01137, allocations: 16.5 kB / 384.1 MB, free: 12.25 MB / 362.7 MB Notification: Performance of SimCode: time 1.022e-06/0.01137, allocations: 0 / 384.1 MB, free: 12.25 MB / 362.7 MB Notification: Performance of Templates: time 0.003983/0.01535, allocations: 1.624 MB / 385.7 MB, free: 10.64 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test6/Test6.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.410335540305823]