Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.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.002054/0.002054, allocations: 96.25 kB / 20.96 MB, free: 3.469 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.002591/0.002591, allocations: 156.9 kB / 24.27 MB, free: 172 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.492/1.492, allocations: 177 MB / 204.4 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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.3828/0.3828, allocations: 34.26 MB / 295.2 MB, free: 0.6484 MB / 266.7 MB " [Timeout remaining time 179] 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.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47") translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 377.3 MB, free: 2.812 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.417e-05/2.559e-05, allocations: 2.312 kB / 377.3 MB, free: 2.809 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.003459/0.003484, allocations: 1.717 MB / 379 MB, free: 1.078 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001903/0.005387, allocations: 0.9775 MB / 380 MB, free: 96 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.845e-05/0.005456, allocations: 0 / 380 MB, free: 96 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003206/0.005776, allocations: 63.61 kB / 380.1 MB, free: 32 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003709/0.006147, allocations: 99.64 kB / 380.2 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002339/0.006381, allocations: 83.66 kB / 380.2 MB, free: 15.85 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001892/0.00657, allocations: 111.5 kB / 380.3 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.303e-05/0.006653, allocations: 4 kB / 380.3 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001084/0.006762, allocations: 47.89 kB / 380.4 MB, free: 15.69 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.489e-05/0.006847, allocations: 31.84 kB / 380.4 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.963e-05/0.006866, allocations: 4 kB / 380.4 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001054/0.006972, allocations: 47.91 kB / 380.5 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.892e-05/0.007041, allocations: 31.86 kB / 380.5 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.162e-05/0.007102, allocations: 19.88 kB / 380.5 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000239/0.007341, allocations: 127.6 kB / 380.6 MB, free: 15.43 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.007345, allocations: 4 kB / 380.7 MB, free: 15.43 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.007346, allocations: 3.938 kB / 380.7 MB, free: 15.43 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.698e-06/0.00735, allocations: 0 / 380.7 MB, free: 15.43 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.000626/0.007976, allocations: 377.3 kB / 381 MB, free: 15.03 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.008015, allocations: 12.03 kB / 381 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.355e-05/0.008089, allocations: 16.84 kB / 381.1 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002935/0.008382, allocations: 166.4 kB / 381.2 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.008396, allocations: 384 / 381.2 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.592e-05/0.008422, allocations: 4.375 kB / 381.2 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001642/0.008586, allocations: 66.2 kB / 381.3 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.008598, allocations: 4.188 kB / 381.3 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.008609, allocations: 384 / 381.3 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.008616, allocations: 3.938 kB / 381.3 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.925e-05/0.008695, allocations: 19.98 kB / 381.3 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004195/0.009115, allocations: 240.5 kB / 381.5 MB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001969/0.009312, allocations: 58.61 kB / 381.6 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.619e-05/0.009378, allocations: 20.84 kB / 381.6 MB, free: 14.35 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.762e-05/0.009395, allocations: 4 kB / 381.6 MB, free: 14.35 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001726/0.009568, allocations: 71.33 kB / 381.7 MB, free: 14.27 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.463e-06/0.009569, allocations: 0 / 381.7 MB, free: 14.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006682/0.01024, allocations: 193.2 kB / 381.9 MB, free: 14.07 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.14e-05/0.01029, allocations: 55.41 kB / 381.9 MB, free: 14 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003324/0.01062, allocations: 279 kB / 382.2 MB, free: 13.72 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.343e-05/0.01064, allocations: 29.64 kB / 382.2 MB, free: 13.68 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.838e-05/0.01074, allocations: 116.1 kB / 382.4 MB, free: 13.57 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.757e-05/0.01078, allocations: 23.8 kB / 382.4 MB, free: 13.54 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.75e-05/0.01083, allocations: 25.64 kB / 382.4 MB, free: 13.51 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001966/0.01102, allocations: 330.8 kB / 382.7 MB, free: 13.18 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.681e-05/0.01109, allocations: 27.98 kB / 382.8 MB, free: 13.15 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.292e-05/0.01117, allocations: 33.7 kB / 382.8 MB, free: 13.11 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001396/0.01131, allocations: 61.69 kB / 382.8 MB, free: 13.05 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.01131, allocations: 0 / 382.8 MB, free: 13.05 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002262/0.01154, allocations: 117.5 kB / 383 MB, free: 12.93 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.01156, allocations: 4 kB / 383 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.01156, allocations: 0 / 383 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.2e-05/0.01158, allocations: 4 kB / 383 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/0.01169, allocations: 23.97 kB / 383 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.451e-06/0.01169, allocations: 0 / 383 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.606e-05/0.01175, allocations: 7.984 kB / 383 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.01176, allocations: 160 / 383 MB, free: 12.89 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 0.0001429/0.0119, allocations: 133.8 kB / 383.1 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.726e-05/0.01194, allocations: 23.84 kB / 383.2 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002883/0.01223, allocations: 131 kB / 383.3 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.01223, allocations: 0 / 383.3 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.01223, allocations: 384 / 383.3 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.01223, allocations: 0 / 383.3 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005198/0.01275, allocations: 370.9 kB / 383.6 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.01276, allocations: 4 kB / 383.7 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.439e-05/0.01281, allocations: 8 kB / 383.7 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.01281, allocations: 4 kB / 383.7 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.778e-06/0.01282, allocations: 0 / 383.7 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.01283, allocations: 0 / 383.7 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/0.01283, allocations: 4 kB / 383.7 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003074/0.01314, allocations: 220.2 kB / 383.9 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.525e-05/0.01316, allocations: 11.91 kB / 383.9 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.607e-05/0.01319, allocations: 8 kB / 383.9 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.402e-05/0.01326, allocations: 4.031 kB / 383.9 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.93e-05/0.01331, allocations: 11.92 kB / 383.9 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.945e-05/0.01333, allocations: 8 kB / 383.9 MB, free: 11.89 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002271/0.01356, allocations: 204.6 kB / 384.1 MB, free: 11.7 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01356, allocations: 0 / 384.1 MB, free: 11.7 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002868/0.01385, allocations: 27.94 kB / 384.2 MB, free: 11.67 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.002284/0.01613, allocations: 494.3 kB / 384.6 MB, free: 11.35 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002106/0.01634, allocations: 59.86 kB / 384.7 MB, free: 11.29 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.01634, allocations: 0 / 384.7 MB, free: 11.29 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.596e-05/0.01643, allocations: 31.98 kB / 384.7 MB, free: 11.26 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004012/0.01683, allocations: 38.08 kB / 384.8 MB, free: 11.23 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006793/0.01751, allocations: 302.1 kB / 385.1 MB, free: 10.9 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001523/0.01766, allocations: 112.9 kB / 385.2 MB, free: 10.77 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.009e-05/0.01771, allocations: 13.28 kB / 385.2 MB, free: 10.76 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.061e-05/0.01776, allocations: 20.48 kB / 385.2 MB, free: 10.74 MB / 362.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01776, allocations: 0 / 385.2 MB, free: 10.74 MB / 362.7 MB Notification: Performance of Templates: time 0.005963/0.02372, allocations: 1.882 MB / 387.1 MB, free: 8.875 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.957242288044654]