Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.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.001107/0.001107, allocations: 91.5 kB / 21.2 MB, free: 3.375 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.00105/0.00105, allocations: 160.5 kB / 24.55 MB, free: 20 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 0.99/0.99, allocations: 177 MB / 204.8 MB, free: 5.578 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.3217/0.3217, allocations: 34.86 MB / 296.3 MB, free: 0.5469 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.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64") translateModel(ModelicaTest.Tables.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 378.8 MB, free: 2.027 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.766e-05/2.95e-05, allocations: 2.312 kB / 378.8 MB, free: 2.023 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.006445/0.006475, allocations: 1.72 MB / 380.6 MB, free: 296 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001498/0.007973, allocations: 1.009 MB / 381.6 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.262e-05/0.008046, allocations: 0 / 381.6 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003605/0.01165, allocations: 47.75 kB / 381.6 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003718/0.01202, allocations: 119.4 kB / 381.7 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001932/0.01222, allocations: 79.61 kB / 381.8 MB, free: 15.03 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001679/0.01238, allocations: 95.69 kB / 381.9 MB, free: 14.94 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.755e-05/0.01243, allocations: 4.234 kB / 381.9 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000103/0.01253, allocations: 51.78 kB / 382 MB, free: 14.88 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.012e-05/0.01261, allocations: 23.91 kB / 382 MB, free: 14.86 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.892e-05/0.01264, allocations: 4 kB / 382 MB, free: 14.86 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.644e-05/0.01274, allocations: 35.98 kB / 382 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.586e-05/0.01281, allocations: 23.86 kB / 382 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.939e-05/0.01285, allocations: 23.91 kB / 382.1 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001987/0.01305, allocations: 103.6 kB / 382.2 MB, free: 14.67 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.01306, allocations: 8 kB / 382.2 MB, free: 14.66 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.01306, allocations: 0 / 382.2 MB, free: 14.66 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.01306, allocations: 0 / 382.2 MB, free: 14.66 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005396/0.0136, allocations: 471.6 kB / 382.6 MB, free: 14.17 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.01364, allocations: 8.031 kB / 382.6 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.376e-05/0.01374, allocations: 16.84 kB / 382.7 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002051/0.01394, allocations: 165.2 kB / 382.8 MB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.054e-05/0.01396, allocations: 4.375 kB / 382.8 MB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.47e-05/0.01398, allocations: 384 / 382.8 MB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001414/0.01412, allocations: 58.94 kB / 382.9 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.01413, allocations: 8.188 kB / 382.9 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.01414, allocations: 384 / 382.9 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.788e-06/0.01415, allocations: 3.938 kB / 382.9 MB, free: 13.87 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.613e-05/0.01418, allocations: 11.92 kB / 382.9 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001822/0.01437, allocations: 152.6 kB / 383.1 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000115/0.01448, allocations: 55.09 kB / 383.1 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001783/0.01466, allocations: 15.69 kB / 383.1 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.893e-05/0.01468, allocations: 0 / 383.1 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001305/0.01481, allocations: 65.05 kB / 383.2 MB, free: 13.51 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.01481, allocations: 4 kB / 383.2 MB, free: 13.51 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002245/0.01503, allocations: 89.52 kB / 383.3 MB, free: 13.41 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.883e-05/0.01507, allocations: 55.34 kB / 383.3 MB, free: 13.35 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002145/0.01529, allocations: 277.6 kB / 383.6 MB, free: 13.06 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.552e-05/0.0153, allocations: 25.7 kB / 383.6 MB, free: 13.03 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.77e-05/0.01538, allocations: 162.9 kB / 383.8 MB, free: 12.86 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.672e-05/0.01542, allocations: 15.91 kB / 383.8 MB, free: 12.85 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.967e-05/0.01546, allocations: 27.36 kB / 383.8 MB, free: 12.81 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.01562, allocations: 0.5001 MB / 384.3 MB, free: 12.3 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.411e-05/0.01564, allocations: 4 kB / 384.3 MB, free: 12.3 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.715e-05/0.01568, allocations: 35.36 kB / 384.4 MB, free: 12.25 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.594e-05/0.01573, allocations: 35.31 kB / 384.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.01574, allocations: 4 kB / 384.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000112/0.01585, allocations: 77.53 kB / 384.5 MB, free: 12.12 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.01586, allocations: 4 kB / 384.5 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.01587, allocations: 0 / 384.5 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.01589, allocations: 3.984 kB / 384.5 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.928e-05/0.01597, allocations: 19.92 kB / 384.5 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.01597, allocations: 32 / 384.5 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.877e-05/0.01601, allocations: 8.312 kB / 384.5 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.01602, allocations: 4 kB / 384.5 MB, free: 12.09 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.844e-05/0.01611, allocations: 158 kB / 384.7 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.215e-05/0.01613, allocations: 19.89 kB / 384.7 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000152/0.01628, allocations: 90.77 kB / 384.8 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.01628, allocations: 4 kB / 384.8 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.01629, allocations: 3.938 kB / 384.8 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.01629, allocations: 0 / 384.8 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001342/0.01643, allocations: 168.5 kB / 385 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.01643, allocations: 0 / 385 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.222e-05/0.01645, allocations: 8 kB / 385 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.01645, allocations: 3.938 kB / 385 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-06/0.01646, allocations: 4 kB / 385 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.01646, allocations: 0 / 385 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.01646, allocations: 4 kB / 385 MB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001281/0.01659, allocations: 124.2 kB / 385.1 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.85e-05/0.01661, allocations: 11.91 kB / 385.1 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.985e-05/0.01663, allocations: 4 kB / 385.1 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.848e-05/0.01666, allocations: 3.984 kB / 385.1 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.079e-05/0.01669, allocations: 7.938 kB / 385.1 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.45e-05/0.0167, allocations: 8 kB / 385.1 MB, free: 11.4 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001187/0.01682, allocations: 192.5 kB / 385.3 MB, free: 11.21 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01682, allocations: 0 / 385.3 MB, free: 11.21 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000212/0.01703, allocations: 19.98 kB / 385.3 MB, free: 11.2 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00407/0.0211, allocations: 380.8 kB / 385.7 MB, free: 10.94 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001221/0.02122, allocations: 39.61 kB / 385.7 MB, free: 10.89 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.02123, allocations: 0 / 385.7 MB, free: 10.89 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.896e-05/0.02127, allocations: 23.67 kB / 385.8 MB, free: 10.87 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002577/0.02384, allocations: 36.17 kB / 385.8 MB, free: 10.83 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004712/0.02431, allocations: 234.5 kB / 386 MB, free: 10.57 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.635e-05/0.02437, allocations: 75.33 kB / 386.1 MB, free: 10.48 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.884e-05/0.02441, allocations: 16.55 kB / 386.1 MB, free: 10.46 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.332e-05/0.02444, allocations: 12.5 kB / 386.1 MB, free: 10.45 MB / 362.7 MB Notification: Performance of SimCode: time 1.152e-06/0.02444, allocations: 0 / 386.1 MB, free: 10.45 MB / 362.7 MB Notification: Performance of Templates: time 0.004152/0.02859, allocations: 1.666 MB / 387.8 MB, free: 8.812 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.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.404276526067406]