Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.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.00143/0.00143, 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.001618/0.001618, 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.069/1.069, allocations: 177 MB / 204.8 MB, free: 5.574 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.2911/0.2911, allocations: 34.86 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.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86") translateModel(ModelicaTest.Tables.CombiTimeTable.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 378.9 MB, free: 2.008 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.353e-05/2.492e-05, allocations: 3.156 kB / 378.9 MB, free: 2.004 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.005556/0.005581, allocations: 1.714 MB / 380.6 MB, free: 284 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004377/0.009959, allocations: 0.993 MB / 381.6 MB, free: 15.28 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.881e-05/0.01004, allocations: 0 / 381.6 MB, free: 15.28 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000298/0.01034, allocations: 75.64 kB / 381.6 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003388/0.01067, allocations: 107.5 kB / 381.7 MB, free: 15.1 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001822/0.01086, allocations: 71.69 kB / 381.8 MB, free: 15.03 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001726/0.01103, allocations: 111.6 kB / 381.9 MB, free: 14.92 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.831e-05/0.01107, allocations: 12.22 kB / 381.9 MB, free: 14.91 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.254e-05/0.01116, allocations: 51.84 kB / 382 MB, free: 14.86 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.036e-05/0.01125, allocations: 47.81 kB / 382 MB, free: 14.81 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.553e-05/0.01127, allocations: 4 kB / 382 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.046e-05/0.01135, allocations: 35.92 kB / 382.1 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.091e-05/0.0114, allocations: 27.84 kB / 382.1 MB, free: 14.74 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.609e-05/0.01143, allocations: 11.94 kB / 382.1 MB, free: 14.73 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001733/0.01161, allocations: 87.72 kB / 382.2 MB, free: 14.64 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.01161, allocations: 0 / 382.2 MB, free: 14.64 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.01161, allocations: 0 / 382.2 MB, free: 14.64 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.168e-06/0.01162, allocations: 4 kB / 382.2 MB, free: 14.64 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.0004619/0.01208, allocations: 435.9 kB / 382.6 MB, free: 14.18 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.419e-05/0.01211, allocations: 8.031 kB / 382.6 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.078e-05/0.01216, allocations: 20.83 kB / 382.6 MB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001751/0.01234, allocations: 157.1 kB / 382.8 MB, free: 13.97 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.01235, allocations: 384 / 382.8 MB, free: 13.97 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.196e-05/0.01236, allocations: 4.375 kB / 382.8 MB, free: 13.97 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001185/0.01248, allocations: 58.94 kB / 382.9 MB, free: 13.9 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.01249, allocations: 4.125 kB / 382.9 MB, free: 13.9 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.268e-06/0.0125, allocations: 384 / 382.9 MB, free: 13.9 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.01251, allocations: 7.938 kB / 382.9 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.113e-05/0.01254, allocations: 7.984 kB / 382.9 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001524/0.01269, allocations: 144.6 kB / 383 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001044/0.0128, allocations: 51.05 kB / 383.1 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003038/0.01583, allocations: 15.67 kB / 383.1 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.238e-05/0.01585, allocations: 0 / 383.1 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001036/0.01595, allocations: 69.05 kB / 383.2 MB, free: 13.54 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 9.22e-07/0.01595, allocations: 0 / 383.2 MB, free: 13.54 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002001/0.01615, allocations: 93.52 kB / 383.2 MB, free: 13.45 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.624e-05/0.01619, allocations: 55.34 kB / 383.3 MB, free: 13.38 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001499/0.01634, allocations: 230.4 kB / 383.5 MB, free: 13.14 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.204e-05/0.01635, allocations: 29.7 kB / 383.6 MB, free: 13.1 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.699e-05/0.01641, allocations: 150.9 kB / 383.7 MB, free: 12.95 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.26e-05/0.01644, allocations: 23.83 kB / 383.7 MB, free: 12.93 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.797e-05/0.01648, allocations: 23.38 kB / 383.8 MB, free: 12.89 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.0166, allocations: 0.4923 MB / 384.2 MB, free: 12.39 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.476e-05/0.01663, allocations: 4 kB / 384.2 MB, free: 12.39 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.377e-05/0.01666, allocations: 31.36 kB / 384.3 MB, free: 12.35 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.826e-05/0.01672, allocations: 47.31 kB / 384.3 MB, free: 12.29 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.01672, allocations: 0 / 384.3 MB, free: 12.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001109/0.01683, allocations: 65.64 kB / 384.4 MB, free: 12.22 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.01684, allocations: 8 kB / 384.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.01685, allocations: 0 / 384.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.01686, allocations: 0 / 384.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.111e-05/0.01693, allocations: 19.86 kB / 384.4 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.01694, allocations: 4 kB / 384.4 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.556e-05/0.01697, allocations: 3.953 kB / 384.4 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-06/0.01698, allocations: 4 kB / 384.4 MB, free: 12.18 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 7.706e-05/0.01706, allocations: 164.6 kB / 384.6 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.691e-05/0.01708, allocations: 7.953 kB / 384.6 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001392/0.01721, allocations: 90.75 kB / 384.7 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.01722, allocations: 384 / 384.7 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.01722, allocations: 3.938 kB / 384.7 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.01722, allocations: 0 / 384.7 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001032/0.01733, allocations: 148.5 kB / 384.8 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.01733, allocations: 0 / 384.8 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.069e-05/0.01735, allocations: 4 kB / 384.8 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.01735, allocations: 0 / 384.8 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.223e-06/0.01736, allocations: 8 kB / 384.8 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.01736, allocations: 0 / 384.8 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.01736, allocations: 0 / 384.8 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000115/0.01748, allocations: 124.3 kB / 385 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.394e-05/0.01749, allocations: 7.953 kB / 385 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.773e-05/0.01751, allocations: 0 / 385 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.505e-05/0.01753, allocations: 3.984 kB / 385 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.319e-05/0.01757, allocations: 15.88 kB / 385 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.169e-05/0.01758, allocations: 0 / 385 MB, free: 11.54 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.777e-05/0.01766, allocations: 171.1 kB / 385.2 MB, free: 11.38 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01766, allocations: 0 / 385.2 MB, free: 11.38 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000208/0.01787, allocations: 23.94 kB / 385.2 MB, free: 11.35 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.004066/0.02194, allocations: 373.6 kB / 385.5 MB, free: 11.1 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001185/0.02206, allocations: 39.67 kB / 385.6 MB, free: 11.05 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.02206, allocations: 4 kB / 385.6 MB, free: 11.05 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.766e-05/0.0221, allocations: 27.61 kB / 385.6 MB, free: 11.02 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002301/0.02233, allocations: 23.98 kB / 385.6 MB, free: 11 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003751/0.0227, allocations: 198.1 kB / 385.8 MB, free: 10.77 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.934e-05/0.02274, allocations: 71.33 kB / 385.9 MB, free: 10.68 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.837e-05/0.02278, allocations: 12.73 kB / 385.9 MB, free: 10.67 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.104e-05/0.02281, allocations: 12.5 kB / 385.9 MB, free: 10.66 MB / 362.7 MB Notification: Performance of SimCode: time 6.92e-07/0.02281, allocations: 4.062 kB / 385.9 MB, free: 10.66 MB / 362.7 MB Notification: Performance of Templates: time 0.006995/0.02981, allocations: 1.764 MB / 387.7 MB, free: 8.922 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test86/Test86.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.3316782796755433]