Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.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.0008932/0.0008932, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.001206/0.001206, allocations: 171.8 kB / 24.82 MB, free: 9.254 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.9214/0.9214, allocations: 177 MB / 205.1 MB, free: 5.469 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.2544/0.2544, allocations: 34.86 MB / 296.6 MB, free: 428 kB / 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.Test4,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.Test4") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test4,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.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 379.2 MB, free: 1.766 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.251e-05/1.391e-05, allocations: 3.297 kB / 379.3 MB, free: 1.762 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.002058/0.002072, allocations: 1.674 MB / 380.9 MB, free: 76 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007323/0.002804, allocations: 0.5331 MB / 381.5 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.62e-05/0.002871, allocations: 3.938 kB / 381.5 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002503/0.003121, allocations: 103.6 kB / 381.6 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002451/0.003366, allocations: 115.5 kB / 381.7 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002094/0.003575, allocations: 95.62 kB / 381.8 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001517/0.003727, allocations: 91.81 kB / 381.9 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.003832, allocations: 31.91 kB / 381.9 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.928e-05/0.003911, allocations: 55.88 kB / 381.9 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.757e-05/0.004008, allocations: 59.86 kB / 382 MB, free: 14.99 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.673e-05/0.004025, allocations: 4 kB / 382 MB, free: 14.99 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.719e-05/0.004112, allocations: 47.86 kB / 382.1 MB, free: 14.94 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.128e-05/0.004164, allocations: 31.86 kB / 382.1 MB, free: 14.91 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.807e-05/0.004192, allocations: 23.91 kB / 382.1 MB, free: 14.89 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001535/0.004345, allocations: 99.59 kB / 382.2 MB, free: 14.79 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.603e-06/0.004347, allocations: 0 / 382.2 MB, free: 14.79 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.004348, allocations: 0 / 382.2 MB, free: 14.79 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.017e-06/0.004352, allocations: 0 / 382.2 MB, free: 14.79 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.000357/0.004709, allocations: 471.7 kB / 382.7 MB, free: 14.29 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.049e-05/0.004739, allocations: 12.03 kB / 382.7 MB, free: 14.28 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.327e-05/0.004773, allocations: 20.84 kB / 382.7 MB, free: 14.26 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/0.004883, allocations: 152.4 kB / 382.8 MB, free: 14.08 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.306e-06/0.004891, allocations: 8.375 kB / 382.9 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.609e-05/0.004907, allocations: 4.375 kB / 382.9 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.859e-05/0.004996, allocations: 62.94 kB / 382.9 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.005005, allocations: 4.188 kB / 382.9 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.215e-06/0.005013, allocations: 4.375 kB / 382.9 MB, free: 13.99 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.005017, allocations: 4.312 kB / 382.9 MB, free: 13.99 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.052e-05/0.005047, allocations: 27.84 kB / 383 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002494/0.005297, allocations: 292.2 kB / 383.2 MB, free: 13.65 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.996e-05/0.005357, allocations: 54.98 kB / 383.3 MB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.724e-05/0.005374, allocations: 15.83 kB / 383.3 MB, free: 13.56 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.357e-05/0.005397, allocations: 4 kB / 383.3 MB, free: 13.56 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.984e-05/0.005417, allocations: 45.31 kB / 383.4 MB, free: 13.5 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.005418, allocations: 112 / 383.4 MB, free: 13.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004526/0.005871, allocations: 217.2 kB / 383.6 MB, free: 13.29 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.798e-05/0.005899, allocations: 59.41 kB / 383.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001357/0.006035, allocations: 250.6 kB / 383.9 MB, free: 12.95 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.149e-05/0.006046, allocations: 25.7 kB / 383.9 MB, free: 12.92 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.334e-05/0.006109, allocations: 162.8 kB / 384.1 MB, free: 12.75 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.978e-05/0.006139, allocations: 43.58 kB / 384.1 MB, free: 12.71 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.547e-05/0.006175, allocations: 39.36 kB / 384.1 MB, free: 12.66 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001231/0.006298, allocations: 0.4962 MB / 384.6 MB, free: 12.16 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.942e-05/0.006317, allocations: 11.98 kB / 384.7 MB, free: 12.14 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.038e-05/0.006338, allocations: 19.11 kB / 384.7 MB, free: 12.13 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.951e-05/0.006387, allocations: 47.61 kB / 384.7 MB, free: 12.08 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.006388, allocations: 0 / 384.7 MB, free: 12.08 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 9.76e-05/0.006486, allocations: 105.5 kB / 384.8 MB, free: 11.97 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.01e-05/0.006496, allocations: 8 kB / 384.8 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.006499, allocations: 0.7031 kB / 384.8 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.415e-06/0.006508, allocations: 0 / 384.8 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.585e-05/0.006573, allocations: 23.98 kB / 384.9 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.966e-06/0.006576, allocations: 0 / 384.9 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.044e-05/0.006597, allocations: 8 kB / 384.9 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.65e-06/0.006603, allocations: 3.984 kB / 384.9 MB, free: 11.93 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 6.562e-05/0.006668, allocations: 168.5 kB / 385 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.274e-05/0.006691, allocations: 23.86 kB / 385.1 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001302/0.006821, allocations: 118.2 kB / 385.2 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.006823, allocations: 0 / 385.2 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.006825, allocations: 0 / 385.2 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.006828, allocations: 3.984 kB / 385.2 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003455/0.007174, allocations: 397.5 kB / 385.6 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.007176, allocations: 0 / 385.6 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.048e-05/0.007236, allocations: 27.92 kB / 385.6 MB, free: 11.15 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.007238, allocations: 0 / 385.6 MB, free: 11.15 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.695e-06/0.007246, allocations: 11.98 kB / 385.6 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.007248, allocations: 4.031 kB / 385.6 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.007249, allocations: 0 / 385.6 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001256/0.007375, allocations: 259.4 kB / 385.9 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.03e-05/0.007385, allocations: 11.91 kB / 385.9 MB, free: 10.85 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.075e-05/0.007396, allocations: 7.938 kB / 385.9 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.318e-05/0.007439, allocations: 8 kB / 385.9 MB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.177e-05/0.007461, allocations: 7.984 kB / 385.9 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.203e-06/0.007468, allocations: 7.938 kB / 385.9 MB, free: 10.82 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.106e-05/0.007529, allocations: 177 kB / 386.1 MB, free: 10.64 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007529, allocations: 0 / 386.1 MB, free: 10.64 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001593/0.007688, allocations: 35.94 kB / 386.1 MB, free: 10.61 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.0007745/0.008463, allocations: 422.1 kB / 386.5 MB, free: 10.32 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.644e-05/0.008559, allocations: 66.97 kB / 386.6 MB, free: 10.25 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.008561, allocations: 0 / 386.6 MB, free: 10.25 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.418e-05/0.008595, allocations: 43.58 kB / 386.6 MB, free: 10.21 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001963/0.008791, allocations: 23.98 kB / 386.6 MB, free: 10.18 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000308/0.009099, allocations: 264.8 kB / 386.9 MB, free: 9.895 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.941e-05/0.009139, allocations: 75.33 kB / 387 MB, free: 9.801 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.676e-05/0.009175, allocations: 12.48 kB / 387 MB, free: 9.789 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.815e-05/0.009233, allocations: 90.19 kB / 387.1 MB, free: 9.699 MB / 362.7 MB Notification: Performance of SimCode: time 4.81e-07/0.009234, allocations: 0 / 387.1 MB, free: 9.699 MB / 362.7 MB Notification: Performance of Templates: time 0.003144/0.01238, allocations: 1.726 MB / 388.8 MB, free: 7.996 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.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.884944435674697]