Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.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.002005/0.002005, allocations: 96.25 kB / 20.96 MB, free: 3.469 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.002046/0.002046, allocations: 156.9 kB / 24.27 MB, free: 172 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.596/1.596, allocations: 177 MB / 204.5 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 178] 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.374/0.374, allocations: 34.25 MB / 295.2 MB, free: 0.6562 MB / 266.7 MB " [Timeout remaining time 179] 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.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85") translateModel(ModelicaTest.Tables.CombiTimeTable.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.953e-06/1.953e-06, allocations: 0 / 377.3 MB, free: 2.84 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.055e-05/3.25e-05, allocations: 4.844 kB / 377.3 MB, free: 2.836 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.003933/0.003966, allocations: 1.68 MB / 379 MB, free: 1.141 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002053/0.006018, allocations: 0.9581 MB / 379.9 MB, free: 180 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001087/0.006127, allocations: 3.938 kB / 379.9 MB, free: 176 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004301/0.006557, allocations: 51.81 kB / 380 MB, free: 124 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000575/0.007132, allocations: 115.4 kB / 380.1 MB, free: 8 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003625/0.007495, allocations: 75.61 kB / 380.2 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003015/0.007796, allocations: 103.7 kB / 380.3 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.001e-05/0.007856, allocations: 4.234 kB / 380.3 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002024/0.008059, allocations: 55.78 kB / 380.3 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002017/0.00826, allocations: 43.88 kB / 380.4 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.188e-05/0.008292, allocations: 4 kB / 380.4 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001571/0.008449, allocations: 31.94 kB / 380.4 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.308e-05/0.008543, allocations: 23.86 kB / 380.4 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.024e-05/0.008613, allocations: 19.91 kB / 380.4 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003099/0.008923, allocations: 95.72 kB / 380.5 MB, free: 15.56 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.008927, allocations: 0 / 380.5 MB, free: 15.56 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.008929, allocations: 0 / 380.5 MB, free: 15.56 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.144e-06/0.008936, allocations: 4 kB / 380.5 MB, free: 15.55 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0008065/0.009742, allocations: 333.6 kB / 380.9 MB, free: 15.2 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.897e-05/0.009801, allocations: 12.03 kB / 380.9 MB, free: 15.19 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.251e-05/0.009894, allocations: 8.891 kB / 380.9 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004281/0.01032, allocations: 145.6 kB / 381 MB, free: 15.01 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.961e-05/0.01034, allocations: 384 / 381 MB, free: 15.01 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.621e-05/0.01036, allocations: 4.375 kB / 381 MB, free: 15.01 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001941/0.01055, allocations: 50.23 kB / 381.1 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.01056, allocations: 4.188 kB / 381.1 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.01058, allocations: 384 / 381.1 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.277e-06/0.01059, allocations: 3.938 kB / 381.1 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001161/0.0107, allocations: 15.98 kB / 381.1 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002728/0.01097, allocations: 137.3 kB / 381.2 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002078/0.01118, allocations: 54.55 kB / 381.3 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.801e-05/0.01125, allocations: 16.86 kB / 381.3 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.569e-05/0.01129, allocations: 3.984 kB / 381.3 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002006/0.01149, allocations: 71.33 kB / 381.4 MB, free: 14.6 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.593e-06/0.01149, allocations: 4 kB / 381.4 MB, free: 14.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003878/0.01188, allocations: 97.56 kB / 381.5 MB, free: 14.49 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.506e-05/0.01194, allocations: 59.34 kB / 381.5 MB, free: 14.42 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002407/0.01218, allocations: 183.3 kB / 381.7 MB, free: 14.23 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.095e-05/0.01222, allocations: 29.7 kB / 381.8 MB, free: 14.19 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.387e-05/0.01231, allocations: 104.1 kB / 381.9 MB, free: 14.09 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.308e-05/0.01235, allocations: 19.83 kB / 381.9 MB, free: 14.07 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.706e-05/0.0124, allocations: 21.72 kB / 381.9 MB, free: 14.04 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001894/0.01259, allocations: 322.8 kB / 382.2 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.865e-05/0.01265, allocations: 19.98 kB / 382.2 MB, free: 13.7 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.199e-05/0.01272, allocations: 29.7 kB / 382.3 MB, free: 13.66 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001212/0.01284, allocations: 49.64 kB / 382.3 MB, free: 13.61 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.01284, allocations: 0 / 382.3 MB, free: 13.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001975/0.01304, allocations: 81.58 kB / 382.4 MB, free: 13.52 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.01306, allocations: 8 kB / 382.4 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.01306, allocations: 0 / 382.4 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/0.01308, allocations: 32 / 382.4 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.651e-05/0.01318, allocations: 19.92 kB / 382.4 MB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.01318, allocations: 0 / 382.4 MB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.465e-05/0.01324, allocations: 7.953 kB / 382.4 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.328e-05/0.01325, allocations: 8 kB / 382.4 MB, free: 13.48 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001247/0.01338, allocations: 121.8 kB / 382.5 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.607e-05/0.0134, allocations: 7.953 kB / 382.6 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002409/0.01364, allocations: 103.1 kB / 382.7 MB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.01365, allocations: 3.984 kB / 382.7 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/0.01366, allocations: 8 kB / 382.7 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.01366, allocations: 4 kB / 382.7 MB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001508/0.01381, allocations: 125.3 kB / 382.8 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.01381, allocations: 0 / 382.8 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.991e-05/0.01384, allocations: 4 kB / 382.8 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.608e-06/0.01385, allocations: 4 kB / 382.8 MB, free: 13.06 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.01386, allocations: 0 / 382.8 MB, free: 13.06 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.01386, allocations: 0 / 382.8 MB, free: 13.06 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.01386, allocations: 0 / 382.8 MB, free: 13.06 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002574/0.01412, allocations: 124.9 kB / 382.9 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.009e-05/0.01415, allocations: 23.81 kB / 382.9 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.143e-05/0.01417, allocations: 0 / 382.9 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.271e-05/0.01421, allocations: 8 kB / 383 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.555e-05/0.01426, allocations: 7.922 kB / 383 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-05/0.01427, allocations: 4 kB / 383 MB, free: 12.88 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000155/0.01443, allocations: 140 kB / 383.1 MB, free: 12.74 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01443, allocations: 0 / 383.1 MB, free: 12.74 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002299/0.01466, allocations: 15.98 kB / 383.1 MB, free: 12.73 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002045/0.0167, allocations: 424.4 kB / 383.5 MB, free: 12.46 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00019/0.01689, allocations: 39.92 kB / 383.6 MB, free: 12.42 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.01689, allocations: 4.062 kB / 383.6 MB, free: 12.41 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.434e-05/0.01698, allocations: 19.98 kB / 383.6 MB, free: 12.39 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000322/0.0173, allocations: 39.66 kB / 383.6 MB, free: 12.36 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005541/0.01785, allocations: 208.2 kB / 383.8 MB, free: 12.13 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001228/0.01798, allocations: 89.38 kB / 383.9 MB, free: 12.02 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.352e-05/0.01803, allocations: 8.5 kB / 383.9 MB, free: 12.02 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.472e-05/0.01808, allocations: 24.5 kB / 384 MB, free: 11.99 MB / 362.7 MB Notification: Performance of SimCode: time 6.91e-07/0.01808, allocations: 0 / 384 MB, free: 11.99 MB / 362.7 MB Notification: Performance of Templates: time 0.005539/0.02362, allocations: 1.65 MB / 385.6 MB, free: 10.36 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.135478361975402]