Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.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.00137/0.00137, allocations: 87.67 kB / 21.19 MB, free: 3.371 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.001696/0.001696, allocations: 160.5 kB / 24.56 MB, free: 12 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.008/1.008, allocations: 177 MB / 204.8 MB, free: 5.574 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.2799/0.2799, allocations: 34.87 MB / 296.3 MB, free: 0.5625 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.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_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable1Ds.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_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 378.8 MB, free: 2.074 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.705e-05/2.839e-05, allocations: 7.016 kB / 378.8 MB, free: 2.066 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test6): time 0.002314/0.002343, allocations: 1.678 MB / 380.5 MB, free: 384 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007921/0.003135, allocations: 0.5487 MB / 381 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.334e-05/0.003198, allocations: 0 / 381 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002849/0.003483, allocations: 95.67 kB / 381.1 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002652/0.003748, allocations: 115.4 kB / 381.2 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000215/0.003963, allocations: 95.62 kB / 381.3 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000171/0.004134, allocations: 107.7 kB / 381.4 MB, free: 15.42 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.004241, allocations: 23.88 kB / 381.4 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.074e-05/0.004312, allocations: 55.88 kB / 381.5 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.441e-05/0.004406, allocations: 59.86 kB / 381.6 MB, free: 15.28 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.56e-05/0.004422, allocations: 4 kB / 381.6 MB, free: 15.28 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.731e-05/0.004509, allocations: 47.92 kB / 381.6 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.02e-05/0.004559, allocations: 27.84 kB / 381.6 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.427e-05/0.004593, allocations: 23.92 kB / 381.7 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001679/0.004761, allocations: 107.5 kB / 381.8 MB, free: 15.07 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.004763, allocations: 0 / 381.8 MB, free: 15.07 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.004764, allocations: 0 / 381.8 MB, free: 15.07 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.004769, allocations: 0 / 381.8 MB, free: 15.07 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004312/0.0052, allocations: 463.8 kB / 382.2 MB, free: 14.58 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.005236, allocations: 12.03 kB / 382.2 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.475e-05/0.005281, allocations: 20.78 kB / 382.2 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001457/0.005427, allocations: 152.4 kB / 382.4 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.005438, allocations: 8.359 kB / 382.4 MB, free: 14.37 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.825e-05/0.005467, allocations: 4.375 kB / 382.4 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000124/0.005591, allocations: 74.88 kB / 382.5 MB, free: 14.28 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.188e-06/0.0056, allocations: 192 / 382.5 MB, free: 14.28 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.005612, allocations: 8.375 kB / 382.5 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.00562, allocations: 4.359 kB / 382.5 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.506e-05/0.005665, allocations: 27.92 kB / 382.5 MB, free: 14.24 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003277/0.005993, allocations: 323.6 kB / 382.8 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.363e-05/0.006076, allocations: 55.05 kB / 382.9 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.654e-05/0.006103, allocations: 19.67 kB / 382.9 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.287e-05/0.006126, allocations: 3.938 kB / 382.9 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.44e-05/0.00615, allocations: 41.39 kB / 383 MB, free: 13.75 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.006151, allocations: 0 / 383 MB, free: 13.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006092/0.006761, allocations: 241.2 kB / 383.2 MB, free: 13.5 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.945e-05/0.0068, allocations: 55.41 kB / 383.2 MB, free: 13.44 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001616/0.006962, allocations: 250.7 kB / 383.5 MB, free: 13.17 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.485e-05/0.006977, allocations: 29.7 kB / 383.5 MB, free: 13.14 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.564e-05/0.007062, allocations: 158.9 kB / 383.7 MB, free: 12.98 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.612e-05/0.007098, allocations: 47.72 kB / 383.7 MB, free: 12.93 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.787e-05/0.007136, allocations: 31.38 kB / 383.8 MB, free: 12.89 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.00726, allocations: 0.504 MB / 384.3 MB, free: 12.38 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.692e-05/0.007297, allocations: 15.98 kB / 384.3 MB, free: 12.36 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.887e-05/0.007326, allocations: 23.23 kB / 384.3 MB, free: 12.34 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.845e-05/0.007394, allocations: 55.61 kB / 384.3 MB, free: 12.28 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.007396, allocations: 4 kB / 384.4 MB, free: 12.28 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000119/0.007515, allocations: 101.6 kB / 384.5 MB, free: 12.17 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/0.007526, allocations: 4 kB / 384.5 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.007531, allocations: 0 / 384.5 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.007546, allocations: 0 / 384.5 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.76e-05/0.007633, allocations: 27.98 kB / 384.5 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.007637, allocations: 0 / 384.5 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.17e-05/0.007659, allocations: 7.984 kB / 384.5 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.694e-06/0.007667, allocations: 4 kB / 384.5 MB, free: 12.13 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 8.01e-05/0.007747, allocations: 172.5 kB / 384.7 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.574e-05/0.007773, allocations: 19.86 kB / 384.7 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001852/0.007958, allocations: 127.8 kB / 384.8 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.007961, allocations: 4 kB / 384.8 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.007969, allocations: 4 kB / 384.8 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.007972, allocations: 0 / 384.8 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004032/0.008375, allocations: 440.8 kB / 385.2 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.008378, allocations: 0 / 385.2 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.739e-05/0.008435, allocations: 23.98 kB / 385.3 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.008439, allocations: 0 / 385.3 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.008448, allocations: 8.031 kB / 385.3 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.00845, allocations: 0 / 385.3 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.008453, allocations: 3.938 kB / 385.3 MB, free: 11.28 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001853/0.008639, allocations: 266.5 kB / 385.5 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.503e-05/0.008654, allocations: 15.91 kB / 385.6 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.37e-05/0.008667, allocations: 0 / 385.6 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.793e-05/0.008705, allocations: 11.98 kB / 385.6 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.216e-05/0.008747, allocations: 11.92 kB / 385.6 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.662e-06/0.008754, allocations: 4 kB / 385.6 MB, free: 10.96 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.271e-05/0.008847, allocations: 181.1 kB / 385.8 MB, free: 10.78 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.008847, allocations: 4 kB / 385.8 MB, free: 10.78 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001846/0.009031, allocations: 31.92 kB / 385.8 MB, free: 10.75 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.0009579/0.009989, allocations: 421.5 kB / 386.2 MB, free: 10.46 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001458/0.01014, allocations: 67.59 kB / 386.3 MB, free: 10.39 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.01014, allocations: 0 / 386.3 MB, free: 10.39 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.656e-05/0.01018, allocations: 47.55 kB / 386.3 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.0002292/0.01041, allocations: 23.92 kB / 386.3 MB, free: 10.32 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004195/0.01083, allocations: 280.8 kB / 386.6 MB, free: 10.01 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.204e-05/0.01088, allocations: 71.33 kB / 386.7 MB, free: 9.922 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.409e-05/0.01093, allocations: 24.47 kB / 386.7 MB, free: 9.898 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.376e-05/0.01097, allocations: 20.5 kB / 386.7 MB, free: 9.879 MB / 362.7 MB Notification: Performance of SimCode: time 1.072e-06/0.01097, allocations: 0 / 386.7 MB, free: 9.879 MB / 362.7 MB Notification: Performance of Templates: time 0.003764/0.01474, allocations: 1.554 MB / 388.3 MB, free: 8.34 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/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.3322711759246886]