Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.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.001058/0.001058, allocations: 95.5 kB / 21.2 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.001378/0.001378, allocations: 160.5 kB / 24.55 MB, free: 16 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.051/1.051, allocations: 177 MB / 204.8 MB, free: 5.562 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.2902/0.2902, allocations: 34.86 MB / 296.3 MB, free: 0.5391 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.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61") translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 378.8 MB, free: 2.023 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.143e-05/3.303e-05, allocations: 8.781 kB / 378.9 MB, free: 2.016 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.002765/0.002798, allocations: 1.719 MB / 380.6 MB, free: 288 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001444/0.004242, allocations: 1.001 MB / 381.6 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.875e-05/0.00433, allocations: 0 / 381.6 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000314/0.004644, allocations: 51.75 kB / 381.6 MB, free: 15.22 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003796/0.005024, allocations: 115.5 kB / 381.7 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002186/0.005243, allocations: 67.69 kB / 381.8 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001793/0.005422, allocations: 107.5 kB / 381.9 MB, free: 14.94 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.858e-05/0.00546, allocations: 4.234 kB / 381.9 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001075/0.005568, allocations: 55.78 kB / 382 MB, free: 14.88 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.094e-05/0.005649, allocations: 27.89 kB / 382 MB, free: 14.85 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.777e-05/0.005667, allocations: 4 kB / 382 MB, free: 14.85 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.71e-05/0.005754, allocations: 24 kB / 382 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.89e-05/0.005813, allocations: 27.92 kB / 382 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.042e-05/0.005863, allocations: 31.84 kB / 382.1 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002043/0.006067, allocations: 95.66 kB / 382.2 MB, free: 14.67 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.00607, allocations: 0 / 382.2 MB, free: 14.67 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.006071, allocations: 4 kB / 382.2 MB, free: 14.67 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.006075, allocations: 0 / 382.2 MB, free: 14.67 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.0005246/0.0066, allocations: 471.6 kB / 382.6 MB, free: 14.17 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.006641, allocations: 8.031 kB / 382.6 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.355e-05/0.006694, allocations: 20.78 kB / 382.7 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002178/0.006912, allocations: 165.2 kB / 382.8 MB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.671e-05/0.006929, allocations: 384 / 382.8 MB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.274e-05/0.006942, allocations: 4.375 kB / 382.8 MB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001256/0.007067, allocations: 58.94 kB / 382.9 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.007078, allocations: 192 / 382.9 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-06/0.007087, allocations: 4.375 kB / 382.9 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.007097, allocations: 3.938 kB / 382.9 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.651e-05/0.007133, allocations: 7.984 kB / 382.9 MB, free: 13.87 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000182/0.007315, allocations: 156.6 kB / 383.1 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001136/0.007429, allocations: 51.05 kB / 383.1 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.153e-05/0.00746, allocations: 11.69 kB / 383.1 MB, free: 13.6 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.52e-05/0.007475, allocations: 8 kB / 383.1 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001057/0.007581, allocations: 69.05 kB / 383.2 MB, free: 13.51 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.007582, allocations: 0 / 383.2 MB, free: 13.51 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002031/0.007785, allocations: 89.52 kB / 383.3 MB, free: 13.42 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.606e-05/0.007821, allocations: 59.34 kB / 383.3 MB, free: 13.35 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002053/0.008027, allocations: 273.6 kB / 383.6 MB, free: 13.06 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.452e-05/0.008041, allocations: 25.7 kB / 383.6 MB, free: 13.03 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.221e-05/0.008113, allocations: 162.9 kB / 383.8 MB, free: 12.87 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.487e-05/0.008148, allocations: 19.89 kB / 383.8 MB, free: 12.85 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.61e-05/0.008184, allocations: 23.38 kB / 383.8 MB, free: 12.82 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.00833, allocations: 0.504 MB / 384.3 MB, free: 12.3 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.687e-05/0.008356, allocations: 4 kB / 384.3 MB, free: 12.3 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.607e-05/0.008392, allocations: 31.36 kB / 384.4 MB, free: 12.26 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.701e-05/0.008449, allocations: 39.31 kB / 384.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.008452, allocations: 0 / 384.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001122/0.008564, allocations: 77.59 kB / 384.5 MB, free: 12.13 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.008578, allocations: 4 kB / 384.5 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.008584, allocations: 7.922 kB / 384.5 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.008602, allocations: 3.938 kB / 384.5 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.382e-05/0.008676, allocations: 19.97 kB / 384.5 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.008682, allocations: 0 / 384.5 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.649e-05/0.008718, allocations: 0 / 384.5 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.008725, 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 9.955e-05/0.008825, allocations: 164.6 kB / 384.7 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000282/0.009107, allocations: 15.91 kB / 384.7 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001525/0.009259, allocations: 86.75 kB / 384.8 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.009264, allocations: 4.375 kB / 384.8 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.009268, allocations: 3.938 kB / 384.8 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.009272, allocations: 0 / 384.8 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001284/0.009401, allocations: 176.5 kB / 385 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.009403, allocations: 0 / 385 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.283e-05/0.009425, allocations: 4 kB / 385 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.009427, allocations: 0 / 385 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.009435, allocations: 0 / 385 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.009436, allocations: 0 / 385 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.009439, allocations: 4 kB / 385 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001218/0.00956, allocations: 120.3 kB / 385.1 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.938e-05/0.00958, allocations: 15.91 kB / 385.1 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.943e-05/0.009599, allocations: 0 / 385.1 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.044e-05/0.00963, allocations: 11.92 kB / 385.1 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.32e-05/0.009663, allocations: 7.938 kB / 385.1 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.363e-05/0.009676, allocations: 4 kB / 385.1 MB, free: 11.41 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001246/0.009801, allocations: 200.5 kB / 385.3 MB, free: 11.21 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.009801, allocations: 0 / 385.3 MB, free: 11.21 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002071/0.01001, allocations: 12 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.0009188/0.01093, allocations: 376.4 kB / 385.7 MB, free: 10.95 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001105/0.01104, allocations: 35.67 kB / 385.7 MB, free: 10.91 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.01104, allocations: 0 / 385.7 MB, free: 10.91 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.777e-05/0.01108, allocations: 35.55 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.0002277/0.0113, allocations: 31.42 kB / 385.8 MB, free: 10.84 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003845/0.01169, allocations: 242.6 kB / 386 MB, free: 10.57 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.551e-05/0.01173, allocations: 71.33 kB / 386.1 MB, free: 10.48 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.933e-05/0.01177, allocations: 16.72 kB / 386.1 MB, free: 10.47 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.122e-05/0.01181, allocations: 20.48 kB / 386.1 MB, free: 10.45 MB / 362.7 MB Notification: Performance of SimCode: time 9.62e-07/0.01181, allocations: 0 / 386.1 MB, free: 10.45 MB / 362.7 MB Notification: Performance of Templates: time 0.004036/0.01584, allocations: 1.668 MB / 387.8 MB, free: 8.809 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.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.4693469731137156]