Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.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.001097/0.001097, allocations: 95.5 kB / 21.2 MB, free: 3.363 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.000991/0.000991, allocations: 156.5 kB / 24.55 MB, free: 8 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.05/1.05, allocations: 177 MB / 204.8 MB, free: 5.223 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.2573/0.2573, allocations: 34.87 MB / 296.3 MB, free: 488 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.CombiTimeTable.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33") translateModel(ModelicaTest.Tables.CombiTimeTable.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.384e-06/2.384e-06, allocations: 0 / 378.8 MB, free: 2.039 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.531e-05/3.769e-05, allocations: 8.281 kB / 378.8 MB, free: 2.031 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.002774/0.002812, allocations: 1.762 MB / 380.6 MB, free: 264 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001354/0.004165, allocations: 1.016 MB / 381.6 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001097/0.004275, allocations: 7.938 kB / 381.6 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003012/0.004576, allocations: 39.7 kB / 381.7 MB, free: 15.19 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003352/0.004912, allocations: 99.48 kB / 381.8 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00022/0.005132, allocations: 75.66 kB / 381.8 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001826/0.005314, allocations: 115.5 kB / 382 MB, free: 14.9 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.85e-05/0.005413, allocations: 4 kB / 382 MB, free: 14.9 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.699e-05/0.0055, allocations: 51.89 kB / 382 MB, free: 14.85 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.694e-05/0.005577, allocations: 31.84 kB / 382 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.767e-05/0.005594, allocations: 4 kB / 382 MB, free: 14.81 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.042e-05/0.005685, allocations: 51.86 kB / 382.1 MB, free: 14.76 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.672e-05/0.005741, allocations: 23.92 kB / 382.1 MB, free: 14.74 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.076e-05/0.005782, allocations: 19.92 kB / 382.1 MB, free: 14.72 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001839/0.005966, allocations: 95.64 kB / 382.2 MB, free: 14.62 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.005969, allocations: 7.938 kB / 382.2 MB, free: 14.62 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.203e-06/0.00597, allocations: 0 / 382.2 MB, free: 14.62 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.005975, allocations: 0 / 382.2 MB, free: 14.62 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004659/0.006441, allocations: 443.9 kB / 382.7 MB, free: 14.15 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.00648, allocations: 16.02 kB / 382.7 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.559e-05/0.006526, allocations: 12.84 kB / 382.7 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004443/0.00697, allocations: 157.1 kB / 382.9 MB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.369e-05/0.006994, allocations: 8.359 kB / 382.9 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.424e-05/0.007018, allocations: 384 / 382.9 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001201/0.007138, allocations: 62.94 kB / 382.9 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.007146, allocations: 192 / 382.9 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.007156, allocations: 4.375 kB / 382.9 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/0.007167, allocations: 3.938 kB / 382.9 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.747e-05/0.007204, allocations: 15.98 kB / 382.9 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003087/0.007513, allocations: 287.8 kB / 383.2 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001043/0.007617, allocations: 51.11 kB / 383.3 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.084e-05/0.007648, allocations: 23.69 kB / 383.3 MB, free: 13.43 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.427e-05/0.007662, allocations: 0 / 383.3 MB, free: 13.43 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.912e-05/0.007761, allocations: 68.98 kB / 383.4 MB, free: 13.35 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.753e-06/0.007763, allocations: 0 / 383.4 MB, free: 13.35 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003958/0.008159, allocations: 153.4 kB / 383.5 MB, free: 13.2 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.053e-05/0.008189, allocations: 55.41 kB / 383.6 MB, free: 13.13 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001346/0.008324, allocations: 242.3 kB / 383.8 MB, free: 12.88 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.248e-05/0.008336, allocations: 25.7 kB / 383.8 MB, free: 12.84 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.664e-05/0.008393, allocations: 150.9 kB / 384 MB, free: 12.69 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.514e-05/0.008418, allocations: 31.72 kB / 384 MB, free: 12.66 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.359e-05/0.008452, allocations: 27.38 kB / 384 MB, free: 12.62 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.008563, allocations: 0.4962 MB / 384.5 MB, free: 12.12 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.454e-05/0.008588, allocations: 11.98 kB / 384.5 MB, free: 12.11 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.872e-05/0.008627, allocations: 35.36 kB / 384.6 MB, free: 12.06 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.665e-05/0.008683, allocations: 47.36 kB / 384.6 MB, free: 12.01 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.008685, allocations: 4 kB / 384.6 MB, free: 12 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001215/0.008807, allocations: 101.5 kB / 384.7 MB, free: 11.9 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.008821, allocations: 4 kB / 384.7 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.008825, allocations: 4.031 kB / 384.7 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.008839, allocations: 0 / 384.7 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.367e-05/0.008923, allocations: 19.94 kB / 384.8 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.008929, allocations: 0 / 384.8 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.917e-05/0.008958, allocations: 3.984 kB / 384.8 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.008965, allocations: 4 kB / 384.8 MB, free: 11.86 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 (10): * Single equations (assignments): 10 * 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.687e-05/0.009042, allocations: 162.5 kB / 384.9 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.723e-05/0.009059, allocations: 15.89 kB / 384.9 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001517/0.009211, allocations: 103.1 kB / 385 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.009214, allocations: 8 kB / 385.1 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.009218, allocations: 0 / 385.1 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.009222, allocations: 0 / 385.1 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002877/0.009509, allocations: 396.9 kB / 385.4 MB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.009511, allocations: 384 / 385.4 MB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.032e-05/0.009542, allocations: 11.98 kB / 385.5 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.02e-06/0.009547, allocations: 8 kB / 385.5 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.009555, allocations: 0 / 385.5 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.009556, allocations: 0 / 385.5 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.009557, allocations: 0 / 385.5 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001459/0.009703, allocations: 259.5 kB / 385.7 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.229e-05/0.009716, allocations: 11.91 kB / 385.7 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.747e-05/0.009733, allocations: 8 kB / 385.7 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.105e-05/0.009774, allocations: 3.984 kB / 385.7 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.403e-05/0.009808, allocations: 7.938 kB / 385.7 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.548e-05/0.009824, allocations: 7.984 kB / 385.8 MB, free: 10.8 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.146e-05/0.009905, allocations: 171.2 kB / 385.9 MB, free: 10.63 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009905, allocations: 0 / 385.9 MB, free: 10.63 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000184/0.01009, allocations: 27.88 kB / 385.9 MB, free: 10.6 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: 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 (9): * Single equations (assignments): 7 * 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.0009466/0.01104, allocations: 439.1 kB / 386.4 MB, free: 10.3 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001276/0.01116, allocations: 55.55 kB / 386.4 MB, free: 10.24 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.253e-06/0.01116, allocations: 0 / 386.4 MB, free: 10.24 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.858e-05/0.0112, allocations: 31.61 kB / 386.5 MB, free: 10.2 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002363/0.01144, allocations: 31.97 kB / 386.5 MB, free: 10.17 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003579/0.0118, allocations: 218 kB / 386.7 MB, free: 9.926 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.853e-05/0.01185, allocations: 67.34 kB / 386.8 MB, free: 9.84 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.498e-05/0.01188, allocations: 21.39 kB / 386.8 MB, free: 9.816 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.179e-05/0.01191, allocations: 16.5 kB / 386.8 MB, free: 9.801 MB / 362.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01191, allocations: 0 / 386.8 MB, free: 9.801 MB / 362.7 MB Notification: Performance of Templates: time 0.003756/0.01567, allocations: 1.874 MB / 388.7 MB, free: 7.957 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test33/Test33.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.4723847317509353]