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.001465/0.001465, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 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.001524/0.001524, allocations: 210.9 kB / 23.73 MB, free: 4.16 MB / 14.72 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.538/1.538, allocations: 230.5 MB / 257.4 MB, free: 7.805 MB / 206.1 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.2387/0.2387, allocations: 46.95 MB / 360.8 MB, free: 3.926 MB / 286.1 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 0.00249/0.00249, allocations: 87.81 kB / 0.4967 GB, free: 6.984 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4267/0.4292, allocations: 66.09 MB / 0.5612 GB, free: 3.957 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.004318/0.4335, allocations: 1.669 MB / 0.5629 GB, free: 2.277 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00189/0.4354, allocations: 0.9515 MB / 0.5638 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.326e-05/0.4354, allocations: 0 / 0.5638 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003468/0.4358, allocations: 59.73 kB / 0.5639 GB, free: 1.262 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003496/0.4361, allocations: 99.59 kB / 0.5639 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001771/0.4363, allocations: 79.67 kB / 0.564 GB, free: 1.086 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000187/0.4365, allocations: 99.69 kB / 0.5641 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.764e-05/0.4366, allocations: 8.219 kB / 0.5641 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.666e-05/0.4366, allocations: 47.78 kB / 0.5642 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001039/0.4367, allocations: 35.84 kB / 0.5642 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.4368, allocations: 4 kB / 0.5642 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.786e-05/0.4368, allocations: 39.92 kB / 0.5642 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.441e-05/0.4369, allocations: 19.91 kB / 0.5643 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.493e-05/0.437, allocations: 31.8 kB / 0.5643 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002192/0.4372, allocations: 102 kB / 0.5644 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.4372, allocations: 0 / 0.5644 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.4372, allocations: 0 / 0.5644 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.4372, allocations: 0 / 0.5644 GB, free: 0.7109 MB / 398.1 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.000587/0.4378, allocations: 337.7 kB / 0.5647 GB, free: 360 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.4378, allocations: 11.97 kB / 0.5647 GB, free: 348 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.053e-05/0.4379, allocations: 8.891 kB / 0.5647 GB, free: 340 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000275/0.4382, allocations: 150.2 kB / 0.5649 GB, free: 164 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.628e-05/0.4382, allocations: 4.375 kB / 0.5649 GB, free: 160 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.042e-05/0.4382, allocations: 8.312 kB / 0.5649 GB, free: 152 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001458/0.4383, allocations: 53.98 kB / 0.5649 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.4383, allocations: 0 / 0.5649 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.936e-06/0.4383, allocations: 0 / 0.5649 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.4383, allocations: 0 / 0.5649 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.576e-05/0.4384, allocations: 19.98 kB / 0.565 GB, free: 72 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001944/0.4386, allocations: 129.3 kB / 0.5651 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001673/0.4388, allocations: 54.55 kB / 0.5651 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.456e-05/0.4388, allocations: 16.86 kB / 0.5652 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.544e-05/0.4389, allocations: 7.938 kB / 0.5652 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001515/0.439, allocations: 67.39 kB / 0.5652 GB, free: 15.75 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.352e-06/0.439, allocations: 0 / 0.5652 GB, free: 15.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003054/0.4393, allocations: 105.5 kB / 0.5653 GB, free: 15.64 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.409e-05/0.4394, allocations: 51.41 kB / 0.5654 GB, free: 15.57 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001936/0.4396, allocations: 187.2 kB / 0.5656 GB, free: 15.38 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.234e-05/0.4396, allocations: 29.7 kB / 0.5656 GB, free: 15.34 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.331e-05/0.4397, allocations: 104.1 kB / 0.5657 GB, free: 15.24 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.12e-05/0.4397, allocations: 7.891 kB / 0.5657 GB, free: 15.23 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-05/0.4397, allocations: 25.72 kB / 0.5657 GB, free: 15.2 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.4399, allocations: 322.8 kB / 0.566 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.155e-05/0.4399, allocations: 19.98 kB / 0.566 GB, free: 14.86 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.801e-05/0.44, allocations: 25.7 kB / 0.5661 GB, free: 14.82 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001018/0.4401, allocations: 45.91 kB / 0.5661 GB, free: 14.77 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.4401, allocations: 0 / 0.5661 GB, free: 14.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001694/0.4403, allocations: 89.58 kB / 0.5662 GB, free: 14.68 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.4403, allocations: 10.12 kB / 0.5662 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.4403, allocations: 0 / 0.5662 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.006e-05/0.4403, allocations: 8.031 kB / 0.5662 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.002e-05/0.4404, allocations: 19.92 kB / 0.5662 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.4404, allocations: 0 / 0.5662 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.459e-05/0.4404, allocations: 4 kB / 0.5662 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.4404, allocations: 0 / 0.5662 GB, free: 14.64 MB / 414.1 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.0001073/0.4405, allocations: 121.8 kB / 0.5663 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.453e-05/0.4406, allocations: 15.88 kB / 0.5664 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002377/0.4408, allocations: 102.7 kB / 0.5665 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.4408, allocations: 0 / 0.5665 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.4408, allocations: 8 kB / 0.5665 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.4408, allocations: 0 / 0.5665 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001306/0.441, allocations: 125.3 kB / 0.5666 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.441, allocations: 0 / 0.5666 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.031e-05/0.441, allocations: 7.984 kB / 0.5666 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.441, allocations: 0 / 0.5666 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/0.441, allocations: 11.88 kB / 0.5666 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.441, allocations: 0 / 0.5666 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.441, allocations: 160 / 0.5666 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001919/0.4412, allocations: 117 kB / 0.5667 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.135e-05/0.4412, allocations: 15.84 kB / 0.5667 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.251e-05/0.4412, allocations: 7.938 kB / 0.5667 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.942e-05/0.4413, allocations: 8.172 kB / 0.5668 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.379e-05/0.4413, allocations: 7.938 kB / 0.5668 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.736e-05/0.4413, allocations: 8 kB / 0.5668 GB, free: 14.02 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001279/0.4415, allocations: 140.9 kB / 0.5669 GB, free: 13.88 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4415, allocations: 0 / 0.5669 GB, free: 13.88 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002103/0.4417, allocations: 16 kB / 0.5669 GB, free: 13.87 MB / 414.1 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.001685/0.4433, allocations: 422.5 kB / 0.5673 GB, free: 13.59 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001945/0.4435, allocations: 43.97 kB / 0.5674 GB, free: 13.55 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.131e-06/0.4436, allocations: 4 kB / 0.5674 GB, free: 13.55 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.215e-05/0.4436, allocations: 23.92 kB / 0.5674 GB, free: 13.52 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000309/0.4439, allocations: 28.17 kB / 0.5674 GB, free: 13.5 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005478/0.4445, allocations: 201.9 kB / 0.5676 GB, free: 13.27 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001224/0.4446, allocations: 93.25 kB / 0.5677 GB, free: 13.16 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.41e-05/0.4447, allocations: 20.55 kB / 0.5677 GB, free: 13.14 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.046e-05/0.4447, allocations: 15.44 kB / 0.5677 GB, free: 13.12 MB / 414.1 MB Notification: Performance of SimCode: time 9.52e-07/0.4447, allocations: 3.938 kB / 0.5677 GB, free: 13.12 MB / 414.1 MB Notification: Performance of Templates: time 0.005298/0.45, allocations: 1.672 MB / 0.5694 GB, free: 11.47 MB / 414.1 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.3326087556779385]