Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.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.001018/0.001018, 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.001118/0.001118, 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.088/1.088, allocations: 177 MB / 204.8 MB, free: 5.59 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.3142/0.3142, allocations: 34.87 MB / 296.3 MB, free: 0.5469 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.Test87,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.Test87") translateModel(ModelicaTest.Tables.CombiTimeTable.Test87,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.Test87") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.935e-06/2.935e-06, allocations: 3.984 kB / 378.9 MB, free: 2 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.321e-05/2.615e-05, allocations: 2.312 kB / 378.9 MB, free: 1.996 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.002735/0.002761, allocations: 2.265 MB / 381.1 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002181/0.004942, allocations: 1.308 MB / 382.4 MB, free: 14.4 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002204/0.005162, allocations: 7.938 kB / 382.5 MB, free: 14.39 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004118/0.005574, allocations: 135.3 kB / 382.6 MB, free: 14.26 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000554/0.006128, allocations: 270.6 kB / 382.9 MB, free: 14 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003899/0.006518, allocations: 195.4 kB / 383 MB, free: 13.8 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005067/0.007025, allocations: 470.5 kB / 383.5 MB, free: 13.34 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000149/0.007174, allocations: 45.25 kB / 383.5 MB, free: 13.3 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003865/0.00756, allocations: 391.1 kB / 383.9 MB, free: 12.91 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001586/0.007719, allocations: 139.5 kB / 384.1 MB, free: 12.78 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.66e-05/0.007755, allocations: 20 kB / 384.1 MB, free: 12.76 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001428/0.007898, allocations: 75.84 kB / 384.2 MB, free: 12.68 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001784/0.008077, allocations: 167.3 kB / 384.3 MB, free: 12.52 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001013/0.008178, allocations: 103.5 kB / 384.4 MB, free: 12.42 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004019/0.00858, allocations: 370.4 kB / 384.8 MB, free: 12.05 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.008584, allocations: 0 / 384.8 MB, free: 12.05 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.008585, allocations: 0 / 384.8 MB, free: 12.05 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.434e-06/0.008593, allocations: 4 kB / 384.8 MB, free: 12.05 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.001103/0.009696, allocations: 0.9496 MB / 385.7 MB, free: 11.06 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/0.009744, allocations: 8.031 kB / 385.7 MB, free: 11.05 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001612/0.009905, allocations: 88.42 kB / 385.8 MB, free: 10.96 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005407/0.01045, allocations: 377.1 kB / 386.2 MB, free: 10.57 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.525e-05/0.01048, allocations: 8.375 kB / 386.2 MB, free: 10.56 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.113e-05/0.01053, allocations: 20.36 kB / 386.2 MB, free: 10.54 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003739/0.01091, allocations: 189.5 kB / 386.4 MB, free: 10.33 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.731e-05/0.01093, allocations: 16.12 kB / 386.4 MB, free: 10.32 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.171e-05/0.01096, allocations: 4.375 kB / 386.4 MB, free: 10.31 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.435e-05/0.01097, allocations: 7.938 kB / 386.4 MB, free: 10.3 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001221/0.01109, allocations: 67.84 kB / 386.5 MB, free: 10.24 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001106/0.0122, allocations: 0.9648 MB / 387.5 MB, free: 9.223 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005764/0.01277, allocations: 228.4 kB / 387.7 MB, free: 8.949 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001241/0.0129, allocations: 78.84 kB / 387.8 MB, free: 8.855 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.905e-05/0.01292, allocations: 4 kB / 387.8 MB, free: 8.852 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003055/0.01322, allocations: 197.3 kB / 388 MB, free: 8.629 MB / 362.7 MB Notification: Performance of pre-optimization done (n=28): time 2.565e-06/0.01323, allocations: 0 / 388 MB, free: 8.629 MB / 362.7 MB Notification: Performance of matching and sorting (n=44): time 0.002043/0.01527, allocations: 1.12 MB / 389.1 MB, free: 7.5 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.258e-05/0.01534, allocations: 132.5 kB / 389.2 MB, free: 7.34 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00074/0.01608, allocations: 0.7574 MB / 390 MB, free: 6.566 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.776e-05/0.01612, allocations: 41.7 kB / 390 MB, free: 6.52 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001824/0.0163, allocations: 343.7 kB / 390.4 MB, free: 6.18 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.996e-05/0.0164, allocations: 150.8 kB / 390.5 MB, free: 6.031 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.752e-05/0.01649, allocations: 87.8 kB / 390.6 MB, free: 5.938 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.01661, allocations: 0.4887 MB / 391.1 MB, free: 5.441 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001156/0.01672, allocations: 68.95 kB / 391.1 MB, free: 5.375 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000194/0.01692, allocations: 166.4 kB / 391.3 MB, free: 5.18 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003078/0.01722, allocations: 253.6 kB / 391.6 MB, free: 4.898 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.01723, allocations: 0 / 391.6 MB, free: 4.898 MB / 362.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004362/0.01766, allocations: 380.7 kB / 391.9 MB, free: 4.52 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.511e-05/0.01769, allocations: 16.11 kB / 391.9 MB, free: 4.504 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.0177, allocations: 0 / 391.9 MB, free: 4.504 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.019e-05/0.01772, allocations: 4 kB / 391.9 MB, free: 4.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001719/0.01789, allocations: 83.91 kB / 392 MB, free: 4.418 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.166e-05/0.0179, allocations: 8.172 kB / 392 MB, free: 4.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.473e-05/0.01799, allocations: 15.98 kB / 392 MB, free: 4.395 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.315e-05/0.01802, allocations: 23.98 kB / 392.1 MB, free: 4.371 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.0001346/0.01815, allocations: 187 kB / 392.3 MB, free: 4.18 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.646e-05/0.01823, allocations: 95.42 kB / 392.3 MB, free: 4.086 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005074/0.01874, allocations: 451.6 kB / 392.8 MB, free: 3.633 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/0.01874, allocations: 4 kB / 392.8 MB, free: 3.629 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.01875, allocations: 0 / 392.8 MB, free: 3.629 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.092e-05/0.01876, allocations: 4 kB / 392.8 MB, free: 3.625 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001143/0.0199, allocations: 1.429 MB / 394.2 MB, free: 2.117 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.01991, allocations: 256 / 394.2 MB, free: 2.117 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001108/0.02002, allocations: 71.84 kB / 394.3 MB, free: 2.047 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.021e-06/0.02002, allocations: 4 kB / 394.3 MB, free: 2.043 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.371e-05/0.02005, allocations: 27.97 kB / 394.3 MB, free: 2.016 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.552e-06/0.02005, allocations: 7.938 kB / 394.3 MB, free: 2.008 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.02006, allocations: 4 kB / 394.3 MB, free: 2.004 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006859/0.02074, allocations: 0.9691 MB / 395.3 MB, free: 0.9727 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001229/0.02087, allocations: 103.4 kB / 395.4 MB, free: 0.8711 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.243e-05/0.02092, allocations: 23.98 kB / 395.4 MB, free: 0.8477 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001495/0.02107, allocations: 19.98 kB / 395.5 MB, free: 0.8281 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.338e-05/0.02115, allocations: 43.88 kB / 395.5 MB, free: 0.7852 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.822e-05/0.02119, allocations: 23.94 kB / 395.5 MB, free: 0.7617 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004116/0.0216, allocations: 0.4951 MB / 396 MB, free: 280 kB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0216, allocations: 0 / 396 MB, free: 280 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004376/0.02204, allocations: 99.89 kB / 396.1 MB, free: 180 kB / 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.00129/0.02333, allocations: 489.5 kB / 396.6 MB, free: 15.85 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003843/0.02371, allocations: 256.1 kB / 396.8 MB, free: 15.59 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.02372, allocations: 0 / 396.8 MB, free: 15.59 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001689/0.02389, allocations: 144.9 kB / 397 MB, free: 15.45 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006399/0.02453, allocations: 147.3 kB / 397.1 MB, free: 15.31 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001321/0.02585, allocations: 1.042 MB / 398.2 MB, free: 14.19 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001315/0.02598, allocations: 162.1 kB / 398.3 MB, free: 14.01 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001586/0.02614, allocations: 75.25 kB / 398.4 MB, free: 13.94 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.857e-05/0.02624, allocations: 56.48 kB / 398.5 MB, free: 13.88 MB / 378.7 MB Notification: Performance of SimCode: time 1.172e-06/0.02624, allocations: 4 kB / 398.5 MB, free: 13.88 MB / 378.7 MB Notification: Performance of Templates: time 0.01015/0.03639, allocations: 6.254 MB / 404.7 MB, free: 7.719 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test87/Test87.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.434575033839792]