Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.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.002528/0.002528, allocations: 99.53 kB / 20.96 MB, free: 3.453 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.003082/0.003082, allocations: 160.8 kB / 24.27 MB, free: 152 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.594/1.594, allocations: 177 MB / 204.5 MB, free: 5.609 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.3757/0.3757, allocations: 34.26 MB / 295.2 MB, free: 0.6289 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.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79") translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.814e-06/1.814e-06, allocations: 0 / 377.3 MB, free: 2.809 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.401e-05/3.583e-05, allocations: 3.859 kB / 377.3 MB, free: 2.805 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.003757/0.003793, allocations: 1.913 MB / 379.2 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00227/0.006063, allocations: 1.099 MB / 380.3 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.411e-05/0.006157, allocations: 0 / 380.3 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005422/0.006699, allocations: 231.2 kB / 380.6 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005342/0.007233, allocations: 215.1 kB / 380.8 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003322/0.007566, allocations: 127.5 kB / 380.9 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006309/0.008196, allocations: 263.2 kB / 381.1 MB, free: 14.95 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001271/0.008324, allocations: 17.95 kB / 381.2 MB, free: 14.94 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000242/0.008565, allocations: 147.6 kB / 381.3 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002339/0.008799, allocations: 151.7 kB / 381.5 MB, free: 14.64 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.515e-05/0.008835, allocations: 8 kB / 381.5 MB, free: 14.64 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001516/0.008986, allocations: 63.92 kB / 381.5 MB, free: 14.57 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001169/0.009103, allocations: 71.64 kB / 381.6 MB, free: 14.5 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 8.805e-05/0.009191, allocations: 47.78 kB / 381.6 MB, free: 14.46 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004006/0.009592, allocations: 231.2 kB / 381.9 MB, free: 14.23 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.009595, allocations: 4 kB / 381.9 MB, free: 14.23 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.009597, allocations: 0 / 381.9 MB, free: 14.23 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.762e-06/0.009604, allocations: 4 kB / 381.9 MB, free: 14.22 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.0009437/0.01055, allocations: 0.6153 MB / 382.5 MB, free: 13.57 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.01059, allocations: 12.03 kB / 382.5 MB, free: 13.56 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.925e-05/0.01068, allocations: 40.73 kB / 382.5 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003626/0.01104, allocations: 224.6 kB / 382.8 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.951e-05/0.01106, allocations: 8.312 kB / 382.8 MB, free: 13.26 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.757e-05/0.01109, allocations: 8.375 kB / 382.8 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002479/0.01134, allocations: 113.6 kB / 382.9 MB, free: 13.13 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.01135, allocations: 192 / 382.9 MB, free: 13.13 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.01136, allocations: 4.375 kB / 382.9 MB, free: 13.12 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.321e-05/0.01138, allocations: 7.922 kB / 382.9 MB, free: 13.12 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001315/0.01151, allocations: 39.97 kB / 382.9 MB, free: 13.08 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007671/0.01227, allocations: 0.5413 MB / 383.5 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004202/0.01269, allocations: 138.1 kB / 383.6 MB, free: 12.34 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001113/0.01281, allocations: 47.42 kB / 383.7 MB, free: 12.28 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.58e-05/0.01282, allocations: 4 kB / 383.7 MB, free: 12.28 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000276/0.0131, allocations: 140.3 kB / 383.8 MB, free: 12.12 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.062e-06/0.0131, allocations: 0 / 383.8 MB, free: 12.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.001424/0.01452, allocations: 0.5087 MB / 384.3 MB, free: 11.6 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.135e-05/0.01459, allocations: 81.11 kB / 384.4 MB, free: 11.5 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005253/0.01512, allocations: 442.3 kB / 384.8 MB, free: 11.06 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.725e-05/0.01516, allocations: 33.69 kB / 384.9 MB, free: 11.02 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001997/0.01536, allocations: 227.3 kB / 385.1 MB, free: 10.79 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.431e-05/0.01545, allocations: 75.42 kB / 385.2 MB, free: 10.71 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.801e-05/0.01555, allocations: 59.36 kB / 385.2 MB, free: 10.65 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003459/0.01589, allocations: 0.5468 MB / 385.8 MB, free: 10.09 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001378/0.01603, allocations: 55.97 kB / 385.8 MB, free: 10.04 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001736/0.01621, allocations: 102.7 kB / 385.9 MB, free: 9.918 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000306/0.01651, allocations: 170.6 kB / 386.1 MB, free: 9.734 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.01651, allocations: 0 / 386.1 MB, free: 9.734 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004525/0.01697, allocations: 241.5 kB / 386.3 MB, free: 9.492 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.693e-05/0.01699, allocations: 8 kB / 386.3 MB, free: 9.484 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.017, allocations: 4.062 kB / 386.3 MB, free: 9.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.988e-05/0.01702, allocations: 4 kB / 386.3 MB, free: 9.477 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001556/0.01718, allocations: 43.92 kB / 386.4 MB, free: 9.434 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.01719, allocations: 4 kB / 386.4 MB, free: 9.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.314e-05/0.01728, allocations: 15.92 kB / 386.4 MB, free: 9.414 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.452e-05/0.01729, allocations: 4 kB / 386.4 MB, free: 9.41 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.0001836/0.01748, allocations: 180.5 kB / 386.6 MB, free: 9.223 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.249e-05/0.01755, allocations: 47.75 kB / 386.6 MB, free: 9.176 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005642/0.01811, allocations: 265.3 kB / 386.9 MB, free: 8.914 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.802e-06/0.01812, allocations: 4 kB / 386.9 MB, free: 8.91 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.01812, allocations: 4 kB / 386.9 MB, free: 8.906 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.01813, allocations: 0 / 386.9 MB, free: 8.906 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001187/0.01932, allocations: 0.8192 MB / 387.7 MB, free: 8.027 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.01932, allocations: 0 / 387.7 MB, free: 8.027 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001071/0.01943, allocations: 35.92 kB / 387.7 MB, free: 7.992 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.01943, allocations: 0 / 387.7 MB, free: 7.992 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.411e-05/0.01945, allocations: 12 kB / 387.8 MB, free: 7.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.01946, allocations: 0 / 387.8 MB, free: 7.98 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.01946, allocations: 8.062 kB / 387.8 MB, free: 7.973 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009336/0.02039, allocations: 0.548 MB / 388.3 MB, free: 7.387 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.296e-05/0.02045, allocations: 27.8 kB / 388.3 MB, free: 7.359 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.482e-05/0.02049, allocations: 8 kB / 388.3 MB, free: 7.352 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001358/0.02063, allocations: 8 kB / 388.4 MB, free: 7.344 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.485e-05/0.02069, allocations: 19.91 kB / 388.4 MB, free: 7.324 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.531e-05/0.02073, allocations: 19.98 kB / 388.4 MB, free: 7.305 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003339/0.02106, allocations: 295 kB / 388.7 MB, free: 7.016 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02106, allocations: 0 / 388.7 MB, free: 7.016 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000349/0.02141, allocations: 51.89 kB / 388.7 MB, free: 6.965 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.003825/0.02524, allocations: 0.5491 MB / 389.3 MB, free: 6.609 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004575/0.02569, allocations: 175.2 kB / 389.4 MB, free: 6.434 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.0257, allocations: 0 / 389.4 MB, free: 6.434 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001993/0.0259, allocations: 95.52 kB / 389.5 MB, free: 6.336 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005794/0.02648, allocations: 65.81 kB / 389.6 MB, free: 6.273 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001035/0.02751, allocations: 0.5251 MB / 390.1 MB, free: 5.695 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001906/0.0277, allocations: 161.8 kB / 390.3 MB, free: 5.52 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001155/0.02782, allocations: 41.91 kB / 390.3 MB, free: 5.477 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.944e-05/0.0279, allocations: 32.5 kB / 390.4 MB, free: 5.445 MB / 362.7 MB Notification: Performance of SimCode: time 8.82e-07/0.0279, allocations: 0 / 390.4 MB, free: 5.445 MB / 362.7 MB Notification: Performance of Templates: time 0.008651/0.03655, allocations: 3.33 MB / 393.7 MB, free: 2.156 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.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.152349182986654]