Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.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.001436/0.001436, 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.001629/0.001629, 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.01/1.01, allocations: 177 MB / 204.8 MB, free: 5.586 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.2672/0.2672, allocations: 34.86 MB / 296.3 MB, free: 0.5273 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.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 378.9 MB, free: 1.996 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.697e-05/2.863e-05, allocations: 4.422 kB / 378.9 MB, free: 1.992 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.007915/0.007944, allocations: 1.945 MB / 380.8 MB, free: 32 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001738/0.009682, allocations: 1.106 MB / 381.9 MB, free: 14.92 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001104/0.009792, allocations: 4 kB / 381.9 MB, free: 14.91 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00342/0.01321, allocations: 175.2 kB / 382.1 MB, free: 14.74 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004135/0.01363, allocations: 183.2 kB / 382.3 MB, free: 14.56 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002336/0.01386, allocations: 119.5 kB / 382.4 MB, free: 14.45 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002717/0.01413, allocations: 251.2 kB / 382.6 MB, free: 14.2 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.01424, allocations: 21.95 kB / 382.7 MB, free: 14.18 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001579/0.0144, allocations: 135.6 kB / 382.8 MB, free: 14.05 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001878/0.01458, allocations: 123.7 kB / 382.9 MB, free: 13.93 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.54e-05/0.01461, allocations: 11.98 kB / 382.9 MB, free: 13.91 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001176/0.01473, allocations: 71.91 kB / 383 MB, free: 13.84 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.351e-05/0.0148, allocations: 55.77 kB / 383 MB, free: 13.79 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.552e-05/0.01486, allocations: 47.8 kB / 383.1 MB, free: 13.74 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002556/0.01512, allocations: 175.3 kB / 383.3 MB, free: 13.57 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.01512, allocations: 0 / 383.3 MB, free: 13.57 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.163e-06/0.01513, allocations: 0 / 383.3 MB, free: 13.57 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.01513, allocations: 0 / 383.3 MB, free: 13.57 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.000584/0.01571, allocations: 0.5808 MB / 383.8 MB, free: 12.95 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.01575, allocations: 8.031 kB / 383.9 MB, free: 12.95 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.109e-05/0.01581, allocations: 28.8 kB / 383.9 MB, free: 12.92 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003264/0.01908, allocations: 220.6 kB / 384.1 MB, free: 12.67 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.191e-05/0.0191, allocations: 8.359 kB / 384.1 MB, free: 12.66 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.072e-05/0.01913, allocations: 12.36 kB / 384.1 MB, free: 12.65 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001869/0.01932, allocations: 120.4 kB / 384.2 MB, free: 12.52 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.01933, allocations: 4.188 kB / 384.2 MB, free: 12.52 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.01934, allocations: 384 / 384.2 MB, free: 12.52 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/0.01935, allocations: 7.938 kB / 384.2 MB, free: 12.51 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.581e-05/0.01942, allocations: 27.97 kB / 384.3 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004567/0.01987, allocations: 0.4946 MB / 384.8 MB, free: 11.95 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002558/0.02013, allocations: 118.1 kB / 384.9 MB, free: 11.8 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.698e-05/0.02019, allocations: 43.36 kB / 384.9 MB, free: 11.75 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.775e-05/0.0202, allocations: 4 kB / 384.9 MB, free: 11.75 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001484/0.02035, allocations: 112.4 kB / 385 MB, free: 11.62 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.192e-06/0.02035, allocations: 3.938 kB / 385 MB, free: 11.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.0009103/0.02126, allocations: 453.9 kB / 385.5 MB, free: 11.16 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.605e-05/0.0213, allocations: 81.11 kB / 385.6 MB, free: 11.07 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002615/0.02156, allocations: 358.3 kB / 385.9 MB, free: 10.7 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.987e-05/0.02158, allocations: 33.7 kB / 385.9 MB, free: 10.66 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.17e-05/0.02167, allocations: 199.3 kB / 386.1 MB, free: 10.46 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.613e-05/0.02173, allocations: 71.42 kB / 386.2 MB, free: 10.39 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003057/0.02479, allocations: 55.3 kB / 386.3 MB, free: 10.33 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001982/0.02498, allocations: 0.5195 MB / 386.8 MB, free: 9.797 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.159e-05/0.02505, allocations: 31.98 kB / 386.8 MB, free: 9.766 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.546e-05/0.02513, allocations: 84.84 kB / 386.9 MB, free: 9.668 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001514/0.02528, allocations: 130.8 kB / 387 MB, free: 9.523 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.02529, allocations: 4 kB / 387 MB, free: 9.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002526/0.02554, allocations: 193.3 kB / 387.2 MB, free: 9.324 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.02555, allocations: 8 kB / 387.2 MB, free: 9.316 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.02556, allocations: 80 / 387.2 MB, free: 9.316 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.02558, allocations: 4 kB / 387.2 MB, free: 9.312 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001165/0.02569, allocations: 47.91 kB / 387.3 MB, free: 9.266 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/0.0257, allocations: 8.047 kB / 387.3 MB, free: 9.258 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.871e-05/0.02576, allocations: 11.94 kB / 387.3 MB, free: 9.246 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.292e-05/0.02577, allocations: 8 kB / 387.3 MB, free: 9.238 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.499e-05/0.02587, allocations: 176.5 kB / 387.5 MB, free: 9.055 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.171e-05/0.02591, allocations: 35.77 kB / 387.5 MB, free: 9.02 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003249/0.02623, allocations: 227.4 kB / 387.7 MB, free: 8.789 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.02624, allocations: 4 kB / 387.7 MB, free: 8.785 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.02624, allocations: 0 / 387.7 MB, free: 8.785 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.02625, allocations: 0 / 387.7 MB, free: 8.785 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006266/0.02687, allocations: 0.741 MB / 388.5 MB, free: 7.984 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.02688, allocations: 7.938 kB / 388.5 MB, free: 7.977 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.407e-05/0.02695, allocations: 35.92 kB / 388.5 MB, free: 7.941 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.02695, allocations: 4 kB / 388.5 MB, free: 7.938 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/0.02697, allocations: 4 kB / 388.5 MB, free: 7.934 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.057e-06/0.02697, allocations: 4 kB / 388.5 MB, free: 7.93 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/0.02697, allocations: 7.922 kB / 388.5 MB, free: 7.922 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000343/0.02732, allocations: 0.4989 MB / 389 MB, free: 7.387 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.839e-05/0.02735, allocations: 35.92 kB / 389.1 MB, free: 7.352 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.208e-05/0.02738, allocations: 8 kB / 389.1 MB, free: 7.344 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/0.02749, allocations: 7.984 kB / 389.1 MB, free: 7.336 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.165e-05/0.02754, allocations: 27.91 kB / 389.1 MB, free: 7.309 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.047e-05/0.02756, allocations: 8 kB / 389.1 MB, free: 7.301 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.003177/0.03074, allocations: 251 kB / 389.4 MB, free: 7.055 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.03074, allocations: 0 / 389.4 MB, free: 7.055 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003379/0.03108, allocations: 47.94 kB / 389.4 MB, free: 7.008 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001163/0.03224, allocations: 490.8 kB / 389.9 MB, free: 6.68 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002212/0.03246, allocations: 131.4 kB / 390 MB, free: 6.547 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.03247, allocations: 4 kB / 390 MB, free: 6.543 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.55e-05/0.03256, allocations: 67.84 kB / 390.1 MB, free: 6.473 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004674/0.03303, allocations: 70.05 kB / 390.2 MB, free: 6.406 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000617/0.03365, allocations: 465.5 kB / 390.6 MB, free: 5.902 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.662e-05/0.03372, allocations: 104.2 kB / 390.7 MB, free: 5.781 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.267e-05/0.0338, allocations: 41.91 kB / 390.8 MB, free: 5.742 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.918e-05/0.03386, allocations: 32.48 kB / 390.8 MB, free: 5.711 MB / 362.7 MB Notification: Performance of SimCode: time 8.01e-07/0.03386, allocations: 0 / 390.8 MB, free: 5.711 MB / 362.7 MB Notification: Performance of Templates: time 0.006196/0.04006, allocations: 3.333 MB / 394.1 MB, free: 2.43 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.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.359134792815894]