Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.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.00109/0.00109, allocations: 91.5 kB / 21.19 MB, free: 3.375 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.001074/0.001074, allocations: 156.5 kB / 24.55 MB, free: 20 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.055/1.055, 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.2949/0.2949, allocations: 34.86 MB / 296.3 MB, free: 0.543 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.Test77,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.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,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.Test77") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 378.9 MB, free: 1.992 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.736e-05/2.919e-05, allocations: 3.016 kB / 378.9 MB, free: 1.988 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.004089/0.004118, allocations: 1.945 MB / 380.8 MB, free: 32 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002102/0.00622, allocations: 1.106 MB / 381.9 MB, free: 14.92 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001397/0.00636, allocations: 7.938 kB / 381.9 MB, free: 14.91 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004906/0.006851, allocations: 159.4 kB / 382.1 MB, free: 14.75 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006349/0.007486, allocations: 187.2 kB / 382.3 MB, free: 14.57 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003618/0.007847, allocations: 127.5 kB / 382.4 MB, free: 14.45 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003702/0.008218, allocations: 251.2 kB / 382.6 MB, free: 14.2 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001262/0.008344, allocations: 21.94 kB / 382.7 MB, free: 14.18 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002403/0.008584, allocations: 135.6 kB / 382.8 MB, free: 14.05 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000217/0.008801, allocations: 123.7 kB / 382.9 MB, free: 13.93 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.31e-05/0.008834, allocations: 12 kB / 382.9 MB, free: 13.91 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001578/0.008992, allocations: 67.86 kB / 383 MB, free: 13.85 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.521e-05/0.009087, allocations: 55.77 kB / 383 MB, free: 13.79 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.515e-05/0.009162, allocations: 43.78 kB / 383.1 MB, free: 13.75 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003691/0.009531, allocations: 187.2 kB / 383.3 MB, free: 13.57 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.009535, allocations: 0 / 383.3 MB, free: 13.57 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.009537, allocations: 0 / 383.3 MB, free: 13.57 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.009542, 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.0007814/0.01032, allocations: 0.573 MB / 383.8 MB, free: 12.96 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.01037, allocations: 8.031 kB / 383.8 MB, free: 12.95 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001069/0.01048, allocations: 36.8 kB / 383.9 MB, free: 12.91 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003202/0.0108, allocations: 220.5 kB / 384.1 MB, free: 12.67 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.659e-05/0.01082, allocations: 4.375 kB / 384.1 MB, free: 12.66 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.37e-05/0.01086, allocations: 8.375 kB / 384.1 MB, free: 12.66 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002515/0.01111, allocations: 118.2 kB / 384.2 MB, free: 12.52 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.597e-05/0.01112, allocations: 4.188 kB / 384.2 MB, free: 12.52 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.552e-05/0.01114, allocations: 4.375 kB / 384.2 MB, free: 12.52 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.172e-05/0.01115, allocations: 7.938 kB / 384.2 MB, free: 12.51 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.734e-05/0.01124, allocations: 31.89 kB / 384.3 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005958/0.01183, allocations: 0.4947 MB / 384.8 MB, free: 11.94 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003416/0.01218, allocations: 114.1 kB / 384.9 MB, free: 11.8 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.746e-05/0.01224, allocations: 43.42 kB / 384.9 MB, free: 11.75 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.493e-05/0.01226, allocations: 4 kB / 384.9 MB, free: 11.75 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002051/0.01246, allocations: 120.3 kB / 385 MB, free: 11.61 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 2.274e-06/0.01247, allocations: 0 / 385 MB, free: 11.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.001139/0.01361, allocations: 449.6 kB / 385.5 MB, free: 11.16 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.393e-05/0.01366, allocations: 89.09 kB / 385.6 MB, free: 11.06 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003386/0.014, allocations: 354.3 kB / 385.9 MB, free: 10.7 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.521e-05/0.01402, allocations: 29.7 kB / 385.9 MB, free: 10.66 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001194/0.01414, allocations: 203.3 kB / 386.1 MB, free: 10.46 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.485e-05/0.01422, allocations: 75.42 kB / 386.2 MB, free: 10.38 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.575e-05/0.0143, allocations: 51.36 kB / 386.3 MB, free: 10.32 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001757/0.01448, allocations: 0.5157 MB / 386.8 MB, free: 9.797 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.495e-05/0.01456, allocations: 35.97 kB / 386.8 MB, free: 9.762 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001073/0.01467, allocations: 84.91 kB / 386.9 MB, free: 9.664 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001936/0.01486, allocations: 122.8 kB / 387 MB, free: 9.527 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.01487, allocations: 3.938 kB / 387 MB, free: 9.523 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003307/0.0152, allocations: 197.3 kB / 387.2 MB, free: 9.324 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.501e-05/0.01522, allocations: 8 kB / 387.2 MB, free: 9.316 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.443e-06/0.01523, allocations: 0 / 387.2 MB, free: 9.316 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.01525, allocations: 3.938 kB / 387.2 MB, free: 9.312 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001444/0.01539, allocations: 43.97 kB / 387.3 MB, free: 9.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.0154, allocations: 4.062 kB / 387.3 MB, free: 9.266 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.746e-05/0.01547, allocations: 11.94 kB / 387.3 MB, free: 9.254 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.748e-05/0.01549, allocations: 12 kB / 387.3 MB, free: 9.242 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 0.0001254/0.01562, allocations: 172.5 kB / 387.5 MB, free: 9.062 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.743e-05/0.01568, allocations: 43.75 kB / 387.5 MB, free: 9.02 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004183/0.01609, allocations: 231.6 kB / 387.7 MB, free: 8.785 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.012e-06/0.0161, allocations: 4 kB / 387.7 MB, free: 8.781 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.0161, allocations: 0 / 387.7 MB, free: 8.781 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.01611, allocations: 0 / 387.7 MB, free: 8.781 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007905/0.0169, allocations: 0.7526 MB / 388.5 MB, free: 7.969 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.01691, allocations: 4 kB / 388.5 MB, free: 7.965 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.154e-05/0.017, allocations: 31.92 kB / 388.5 MB, free: 7.934 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.017, allocations: 4 kB / 388.5 MB, free: 7.93 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.795e-05/0.01702, allocations: 8 kB / 388.5 MB, free: 7.922 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.791e-06/0.01703, allocations: 7.938 kB / 388.5 MB, free: 7.914 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.01703, allocations: 0 / 388.5 MB, free: 7.914 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004435/0.01747, allocations: 0.5068 MB / 389.1 MB, free: 7.371 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.397e-05/0.01751, allocations: 27.75 kB / 389.1 MB, free: 7.344 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.823e-05/0.01754, allocations: 8 kB / 389.1 MB, free: 7.336 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001385/0.01768, allocations: 11.98 kB / 389.1 MB, free: 7.324 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.08e-05/0.01774, allocations: 19.97 kB / 389.1 MB, free: 7.305 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.65e-05/0.01777, allocations: 12 kB / 389.1 MB, free: 7.293 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002035/0.01797, allocations: 247 kB / 389.4 MB, free: 7.051 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01797, allocations: 0 / 389.4 MB, free: 7.051 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003932/0.01837, allocations: 51.92 kB / 389.4 MB, free: 7 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.001476/0.01984, allocations: 493 kB / 389.9 MB, free: 6.668 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003075/0.02015, allocations: 131.4 kB / 390 MB, free: 6.535 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/0.02015, allocations: 0 / 390 MB, free: 6.535 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001261/0.02028, allocations: 75.91 kB / 390.1 MB, free: 6.457 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005687/0.02085, allocations: 73.48 kB / 390.2 MB, free: 6.391 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008524/0.0217, allocations: 465.5 kB / 390.6 MB, free: 5.887 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.275e-05/0.02178, allocations: 88.31 kB / 390.7 MB, free: 5.781 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001109/0.02189, allocations: 41.92 kB / 390.8 MB, free: 5.742 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.902e-05/0.02197, allocations: 36.48 kB / 390.8 MB, free: 5.707 MB / 362.7 MB Notification: Performance of SimCode: time 1.232e-06/0.02198, allocations: 0 / 390.8 MB, free: 5.707 MB / 362.7 MB Notification: Performance of Templates: time 0.007869/0.02984, allocations: 3.594 MB / 394.4 MB, free: 2.168 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.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.220929672010243]