Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.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.0009757/0.0009757, allocations: 91.5 kB / 21.19 MB, free: 3.398 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.001297/0.001297, allocations: 160.5 kB / 24.56 MB, free: 40 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.069/1.069, allocations: 177 MB / 204.8 MB, free: 5.582 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.3135/0.3135, allocations: 34.86 MB / 296.3 MB, free: 0.4922 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.Test88,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.[0-9,]+.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.[0-9,]+.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88") translateModel(ModelicaTest.Tables.CombiTimeTable.Test88,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.[0-9,]+.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.[0-9,]+.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 378.9 MB, free: 1.969 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.508e-05/1.626e-05, allocations: 6.25 kB / 378.9 MB, free: 1.961 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.002597/0.002613, allocations: 2.258 MB / 381.1 MB, free: 15.69 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001544/0.004157, allocations: 1.302 MB / 382.4 MB, free: 14.38 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001121/0.004269, allocations: 4 kB / 382.4 MB, free: 14.38 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003557/0.004625, allocations: 135.2 kB / 382.6 MB, free: 14.24 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003847/0.00501, allocations: 246.8 kB / 382.8 MB, free: 14 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002468/0.005257, allocations: 199.4 kB / 383 MB, free: 13.8 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003523/0.005609, allocations: 474.4 kB / 383.5 MB, free: 13.34 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001182/0.005727, allocations: 37.27 kB / 383.5 MB, free: 13.3 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002988/0.006026, allocations: 351.1 kB / 383.8 MB, free: 12.96 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001315/0.006157, allocations: 139.5 kB / 384 MB, free: 12.82 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.276e-05/0.00619, allocations: 20 kB / 384 MB, free: 12.8 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001113/0.006301, allocations: 71.92 kB / 384.1 MB, free: 12.73 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001067/0.006408, allocations: 139.5 kB / 384.2 MB, free: 12.59 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 8.071e-05/0.006489, allocations: 91.58 kB / 384.3 MB, free: 12.5 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003182/0.006807, allocations: 350.4 kB / 384.6 MB, free: 12.16 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.873e-06/0.006809, allocations: 0 / 384.6 MB, free: 12.16 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.12e-07/0.00681, allocations: 0 / 384.6 MB, free: 12.16 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.259e-06/0.006815, allocations: 0 / 384.6 MB, free: 12.16 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0007013/0.007516, allocations: 0.8759 MB / 385.5 MB, free: 11.24 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.00755, allocations: 12.03 kB / 385.5 MB, free: 11.23 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.141e-05/0.007631, allocations: 76.52 kB / 385.6 MB, free: 11.16 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003049/0.007936, allocations: 353.2 kB / 385.9 MB, free: 10.79 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.276e-05/0.007959, allocations: 12.38 kB / 386 MB, free: 10.77 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.326e-05/0.007992, allocations: 16.36 kB / 386 MB, free: 10.76 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002333/0.008225, allocations: 189.6 kB / 386.2 MB, free: 10.55 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.00824, allocations: 12.14 kB / 386.2 MB, free: 10.54 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.507e-05/0.008255, allocations: 8.359 kB / 386.2 MB, free: 10.53 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.367e-06/0.008265, allocations: 7.938 kB / 386.2 MB, free: 10.52 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.286e-05/0.008358, allocations: 63.88 kB / 386.2 MB, free: 10.46 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006138/0.008971, allocations: 0.922 MB / 387.2 MB, free: 9.484 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003444/0.009316, allocations: 240.4 kB / 387.4 MB, free: 9.199 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.325e-05/0.009399, allocations: 74.84 kB / 387.5 MB, free: 9.109 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.705e-05/0.009416, allocations: 8 kB / 387.5 MB, free: 9.102 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001984/0.009615, allocations: 197.3 kB / 387.7 MB, free: 8.879 MB / 362.7 MB Notification: Performance of pre-optimization done (n=28): time 1.142e-06/0.009616, allocations: 0 / 387.7 MB, free: 8.879 MB / 362.7 MB Notification: Performance of matching and sorting (n=44): time 0.001408/0.01102, allocations: 1.059 MB / 388.7 MB, free: 7.812 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.033e-05/0.01107, allocations: 140.5 kB / 388.9 MB, free: 7.645 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004461/0.01152, allocations: 0.6559 MB / 389.5 MB, free: 6.973 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.32e-05/0.01154, allocations: 37.7 kB / 389.6 MB, free: 6.93 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001598/0.0117, allocations: 311.7 kB / 389.9 MB, free: 6.621 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.921e-05/0.01178, allocations: 146.8 kB / 390 MB, free: 6.477 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.393e-05/0.01186, allocations: 87.8 kB / 390.1 MB, free: 6.383 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001619/0.01202, allocations: 0.5586 MB / 390.7 MB, free: 5.812 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.713e-05/0.01211, allocations: 64.95 kB / 390.7 MB, free: 5.75 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001305/0.01224, allocations: 162.8 kB / 390.9 MB, free: 5.559 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002284/0.01246, allocations: 253.3 kB / 391.1 MB, free: 5.277 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.01247, allocations: 0 / 391.1 MB, free: 5.277 MB / 362.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0003562/0.01282, allocations: 376.8 kB / 391.5 MB, free: 4.902 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.01283, allocations: 8 kB / 391.5 MB, free: 4.895 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.01284, allocations: 0 / 391.5 MB, free: 4.895 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.277e-06/0.01285, allocations: 4 kB / 391.5 MB, free: 4.891 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001453/0.01299, allocations: 91.97 kB / 391.6 MB, free: 4.801 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.313e-06/0.013, allocations: 11.97 kB / 391.6 MB, free: 4.789 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.518e-05/0.01307, allocations: 16 kB / 391.6 MB, free: 4.773 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.64e-05/0.01309, allocations: 16 kB / 391.6 MB, free: 4.758 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0001057/0.0132, allocations: 190.9 kB / 391.8 MB, free: 4.562 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.447e-05/0.01326, allocations: 83.52 kB / 391.9 MB, free: 4.48 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004441/0.01371, allocations: 442.7 kB / 392.3 MB, free: 4.035 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-06/0.01371, allocations: 4 kB / 392.3 MB, free: 4.031 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.01371, allocations: 8 kB / 392.3 MB, free: 4.023 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.01372, allocations: 3.984 kB / 392.4 MB, free: 4.02 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009222/0.01464, allocations: 1.386 MB / 393.7 MB, free: 2.555 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.093e-06/0.01464, allocations: 7.938 kB / 393.7 MB, free: 2.547 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.626e-05/0.01474, allocations: 63.86 kB / 393.8 MB, free: 2.484 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.01474, allocations: 4 kB / 393.8 MB, free: 2.48 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.972e-05/0.01476, allocations: 28.23 kB / 393.8 MB, free: 2.453 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.01476, allocations: 4 kB / 393.8 MB, free: 2.449 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.01477, allocations: 4 kB / 393.8 MB, free: 2.445 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005228/0.01529, allocations: 0.9613 MB / 394.8 MB, free: 1.422 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001812/0.01547, allocations: 99.45 kB / 394.9 MB, free: 1.324 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.833e-05/0.01551, allocations: 23.94 kB / 394.9 MB, free: 1.301 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001436/0.01565, allocations: 23.97 kB / 395 MB, free: 1.277 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.889e-05/0.0157, allocations: 35.94 kB / 395 MB, free: 1.242 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.5e-05/0.01573, allocations: 27.92 kB / 395 MB, free: 1.215 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002737/0.016, allocations: 447 kB / 395.5 MB, free: 0.7852 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.016, allocations: 0 / 395.5 MB, free: 0.7852 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003111/0.01631, allocations: 91.94 kB / 395.5 MB, free: 0.6953 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001004/0.01731, allocations: 496.3 kB / 396 MB, free: 368 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002821/0.0176, allocations: 251.8 kB / 396.3 MB, free: 112 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.072e-06/0.0176, allocations: 0 / 396.3 MB, free: 112 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001478/0.01775, allocations: 144.9 kB / 396.4 MB, free: 15.96 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005303/0.01828, allocations: 152.3 kB / 396.6 MB, free: 15.82 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008268/0.0191, allocations: 0.9445 MB / 397.5 MB, free: 14.8 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.8e-05/0.0192, allocations: 154.2 kB / 397.7 MB, free: 14.63 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001103/0.01931, allocations: 75.25 kB / 397.7 MB, free: 14.56 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.734e-05/0.01939, allocations: 56.47 kB / 397.8 MB, free: 14.5 MB / 378.7 MB Notification: Performance of SimCode: time 7.32e-07/0.01939, allocations: 0 / 397.8 MB, free: 14.5 MB / 378.7 MB Notification: Performance of Templates: time 0.007362/0.02675, allocations: 5.755 MB / 403.5 MB, free: 8.832 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test88/Test88.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.453767426777631]