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.001042/0.001042, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.001098/0.001098, allocations: 167.7 kB / 24.99 MB, free: 8.219 MB / 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 0.9773/0.9773, allocations: 177 MB / 205.2 MB, free: 5.523 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.267/0.267, allocations: 34.87 MB / 296.6 MB, free: 444 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.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 1.443e-06/1.443e-06, allocations: 0 / 378.9 MB, free: 2.293 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.707e-05/1.852e-05, allocations: 2.312 kB / 378.9 MB, free: 2.289 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.002848/0.002866, allocations: 2.25 MB / 381.1 MB, free: 24 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001799/0.004665, allocations: 1.3 MB / 382.4 MB, free: 14.72 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001255/0.004791, allocations: 4 kB / 382.4 MB, free: 14.71 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003667/0.005158, allocations: 151.1 kB / 382.6 MB, free: 14.57 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004646/0.005622, allocations: 262.8 kB / 382.8 MB, free: 14.31 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003092/0.005931, allocations: 195.4 kB / 383 MB, free: 14.12 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004391/0.00637, allocations: 478.4 kB / 383.5 MB, free: 13.65 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001214/0.006492, allocations: 37.27 kB / 383.5 MB, free: 13.61 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003628/0.006855, allocations: 391.1 kB / 383.9 MB, free: 13.23 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001601/0.007015, allocations: 143.5 kB / 384 MB, free: 13.09 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.344e-05/0.007048, allocations: 16 kB / 384 MB, free: 13.07 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001301/0.007178, allocations: 75.86 kB / 384.1 MB, free: 13 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001402/0.007319, allocations: 171.3 kB / 384.3 MB, free: 12.83 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000102/0.007421, allocations: 95.52 kB / 384.4 MB, free: 12.73 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003973/0.007818, allocations: 374.3 kB / 384.7 MB, free: 12.37 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.00782, allocations: 0 / 384.7 MB, free: 12.37 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.62e-07/0.007821, allocations: 0 / 384.7 MB, free: 12.37 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.007826, allocations: 0 / 384.7 MB, free: 12.37 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.0009526/0.008778, allocations: 0.9535 MB / 385.7 MB, free: 11.37 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.298e-05/0.008811, allocations: 12.02 kB / 385.7 MB, free: 11.36 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001096/0.008921, allocations: 92.42 kB / 385.8 MB, free: 11.27 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003838/0.009305, allocations: 377.1 kB / 386.2 MB, free: 10.88 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.415e-05/0.009329, allocations: 8.375 kB / 386.2 MB, free: 10.87 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.361e-05/0.009362, allocations: 20.36 kB / 386.2 MB, free: 10.85 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002714/0.009634, allocations: 185.6 kB / 386.4 MB, free: 10.64 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.57e-05/0.009649, allocations: 8.078 kB / 386.4 MB, free: 10.63 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.039e-05/0.00967, allocations: 12.36 kB / 386.4 MB, free: 10.62 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.047e-05/0.00968, allocations: 11.92 kB / 386.4 MB, free: 10.61 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001154/0.009796, allocations: 55.94 kB / 386.5 MB, free: 10.55 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007666/0.01056, allocations: 0.9727 MB / 387.4 MB, free: 9.531 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003886/0.01095, allocations: 228.4 kB / 387.7 MB, free: 9.258 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001029/0.01105, allocations: 78.84 kB / 387.7 MB, free: 9.164 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.74e-05/0.01107, allocations: 8 kB / 387.7 MB, free: 9.156 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002302/0.0113, allocations: 189.2 kB / 387.9 MB, free: 8.941 MB / 362.7 MB Notification: Performance of pre-optimization done (n=28): time 1.503e-06/0.0113, allocations: 0 / 387.9 MB, free: 8.941 MB / 362.7 MB Notification: Performance of matching and sorting (n=44): time 0.001639/0.01294, allocations: 1.116 MB / 389 MB, free: 7.816 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.973e-05/0.013, allocations: 136.5 kB / 389.2 MB, free: 7.652 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006657/0.01367, allocations: 0.7613 MB / 389.9 MB, free: 6.875 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.809e-05/0.0137, allocations: 37.7 kB / 390 MB, free: 6.832 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002115/0.01391, allocations: 351.7 kB / 390.3 MB, free: 6.484 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001073/0.01401, allocations: 146.8 kB / 390.5 MB, free: 6.34 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.49e-05/0.01411, allocations: 87.8 kB / 390.6 MB, free: 6.246 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.01422, allocations: 496.4 kB / 391 MB, free: 5.754 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001197/0.01434, allocations: 68.95 kB / 391.1 MB, free: 5.688 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001672/0.01451, allocations: 162.4 kB / 391.3 MB, free: 5.496 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002996/0.01481, allocations: 253.7 kB / 391.5 MB, free: 5.215 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.01481, allocations: 0 / 391.5 MB, free: 5.215 MB / 362.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004855/0.01529, allocations: 388.7 kB / 391.9 MB, free: 4.828 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.01531, allocations: 4 kB / 391.9 MB, free: 4.824 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-06/0.01531, allocations: 4 kB / 391.9 MB, free: 4.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.01533, allocations: 12.11 kB / 391.9 MB, free: 4.809 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002122/0.01554, allocations: 83.84 kB / 392 MB, free: 4.727 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.01555, allocations: 4.234 kB / 392 MB, free: 4.723 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001139/0.01566, allocations: 23.92 kB / 392 MB, free: 4.699 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.326e-05/0.01569, allocations: 19.98 kB / 392 MB, free: 4.68 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.000204/0.01589, allocations: 190.9 kB / 392.2 MB, free: 4.484 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.863e-05/0.01599, allocations: 95.42 kB / 392.3 MB, free: 4.391 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006015/0.01659, allocations: 447.6 kB / 392.8 MB, free: 3.941 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.0166, allocations: 8 kB / 392.8 MB, free: 3.934 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.0166, allocations: 0 / 392.8 MB, free: 3.934 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.755e-06/0.01661, allocations: 4 kB / 392.8 MB, free: 3.93 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001254/0.01786, allocations: 1.429 MB / 394.2 MB, free: 2.422 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.01786, allocations: 0 / 394.2 MB, free: 2.422 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001511/0.01802, allocations: 71.84 kB / 394.3 MB, free: 2.352 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.753e-06/0.01802, allocations: 12.25 kB / 394.3 MB, free: 2.34 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.289e-05/0.01805, allocations: 15.98 kB / 394.3 MB, free: 2.324 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.013e-06/0.01805, allocations: 8 kB / 394.3 MB, free: 2.316 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.96e-06/0.01806, allocations: 7.938 kB / 394.3 MB, free: 2.309 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006595/0.01872, allocations: 0.9656 MB / 395.3 MB, free: 1.281 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001369/0.01885, allocations: 107.4 kB / 395.4 MB, free: 1.176 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.076e-05/0.01891, allocations: 15.98 kB / 395.4 MB, free: 1.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002326/0.01915, allocations: 19.98 kB / 395.4 MB, free: 1.141 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.367e-05/0.01922, allocations: 39.94 kB / 395.5 MB, free: 1.102 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.387e-05/0.01925, allocations: 27.94 kB / 395.5 MB, free: 1.074 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004193/0.01967, allocations: 0.4912 MB / 396 MB, free: 0.5898 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01967, allocations: 4 kB / 396 MB, free: 0.5859 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004818/0.02016, allocations: 95.88 kB / 396.1 MB, free: 0.4922 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.001164/0.02132, allocations: 0.4953 MB / 396.6 MB, free: 144 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003819/0.0217, allocations: 243.8 kB / 396.8 MB, free: 15.9 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.0217, allocations: 0 / 396.8 MB, free: 15.9 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001872/0.02189, allocations: 145.1 kB / 396.9 MB, free: 15.75 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007895/0.02268, allocations: 145.3 kB / 397.1 MB, free: 15.62 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001188/0.02387, allocations: 1.038 MB / 398.1 MB, free: 14.5 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001416/0.02401, allocations: 166.1 kB / 398.3 MB, free: 14.32 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001536/0.02416, allocations: 75.25 kB / 398.4 MB, free: 14.24 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001019/0.02427, allocations: 56.48 kB / 398.4 MB, free: 14.19 MB / 378.7 MB Notification: Performance of SimCode: time 7.52e-07/0.02427, allocations: 0 / 398.4 MB, free: 14.19 MB / 378.7 MB Notification: Performance of Templates: time 0.009198/0.03346, allocations: 5.811 MB / 404.2 MB, free: 8.465 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.1591628140304238]