Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.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.001464/0.001464, 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.001619/0.001619, 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.49/1.49, allocations: 177 MB / 204.4 MB, free: 5.617 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.4144/0.4144, allocations: 34.25 MB / 295.2 MB, free: 0.6797 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.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59") translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.893e-06/1.893e-06, allocations: 0 / 377.3 MB, free: 2.84 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.373e-05/3.563e-05, allocations: 14.25 kB / 377.3 MB, free: 2.824 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.003734/0.00377, allocations: 1.709 MB / 379 MB, free: 1.102 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003044/0.006813, allocations: 1.683 MB / 380.7 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.931e-05/0.006903, allocations: 0 / 380.7 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003623/0.007265, allocations: 47.64 kB / 380.7 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004206/0.007686, allocations: 99.47 kB / 380.8 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002544/0.00794, allocations: 79.61 kB / 380.9 MB, free: 15.19 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002218/0.008162, allocations: 107.6 kB / 381 MB, free: 15.08 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.008267, allocations: 11.98 kB / 381 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001241/0.008391, allocations: 59.77 kB / 381.1 MB, free: 15.01 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001398/0.008531, allocations: 35.89 kB / 381.1 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.268e-05/0.008554, allocations: 8 kB / 381.1 MB, free: 14.97 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000215/0.008769, allocations: 99.88 kB / 381.2 MB, free: 14.87 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.434e-05/0.008833, allocations: 19.92 kB / 381.2 MB, free: 14.85 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.687e-05/0.0089, allocations: 27.91 kB / 381.3 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003725/0.009272, allocations: 179.3 kB / 381.4 MB, free: 14.65 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.009278, allocations: 0 / 381.4 MB, free: 14.65 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.009279, allocations: 0 / 381.4 MB, free: 14.65 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.92e-06/0.009284, allocations: 0 / 381.4 MB, free: 14.65 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007456/0.01003, allocations: 353.5 kB / 381.8 MB, free: 14.27 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.01007, allocations: 8.031 kB / 381.8 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.369e-05/0.01015, allocations: 20.88 kB / 381.8 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003596/0.01051, allocations: 146.2 kB / 382 MB, free: 14.08 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.01052, allocations: 384 / 382 MB, free: 14.08 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.56e-05/0.01056, allocations: 8.312 kB / 382 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002639/0.01082, allocations: 101.6 kB / 382.1 MB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.754e-05/0.01084, allocations: 3.938 kB / 382.1 MB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.094e-05/0.01086, allocations: 4 kB / 382.1 MB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.046e-05/0.01087, allocations: 4 kB / 382.1 MB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001119/0.01098, allocations: 15.98 kB / 382.1 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004406/0.01142, allocations: 240.5 kB / 382.3 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002116/0.01164, allocations: 58.61 kB / 382.4 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.233e-05/0.01171, allocations: 20.8 kB / 382.4 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.687e-05/0.01172, allocations: 0 / 382.4 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001774/0.0119, allocations: 71.38 kB / 382.5 MB, free: 13.49 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.0119, allocations: 0 / 382.5 MB, free: 13.49 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006397/0.01254, allocations: 181.3 kB / 382.7 MB, free: 13.3 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003385/0.01288, allocations: 81.11 kB / 382.7 MB, free: 13.21 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002181/0.0131, allocations: 174.3 kB / 382.9 MB, free: 13.02 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.295e-05/0.01313, allocations: 33.7 kB / 382.9 MB, free: 12.98 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.651e-05/0.01321, allocations: 96.12 kB / 383 MB, free: 12.89 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.583e-05/0.01324, allocations: 27.73 kB / 383.1 MB, free: 12.86 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.221e-05/0.0133, allocations: 25.7 kB / 383.1 MB, free: 12.83 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001852/0.01348, allocations: 322.8 kB / 383.4 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.59e-05/0.01356, allocations: 19.98 kB / 383.4 MB, free: 12.48 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001003/0.01366, allocations: 68.27 kB / 383.5 MB, free: 12.4 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001405/0.0138, allocations: 61.66 kB / 383.5 MB, free: 12.34 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.0138, allocations: 4.031 kB / 383.6 MB, free: 12.33 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002343/0.01403, allocations: 113.5 kB / 383.7 MB, free: 12.21 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/0.01405, allocations: 8 kB / 383.7 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.01406, allocations: 0 / 383.7 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.012e-05/0.01408, allocations: 0 / 383.7 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000106/0.01419, allocations: 19.92 kB / 383.7 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.191e-05/0.0142, allocations: 8.141 kB / 383.7 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.721e-05/0.01426, allocations: 7.938 kB / 383.7 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.439e-05/0.01427, allocations: 4 kB / 383.7 MB, free: 12.17 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 (10): * Single equations (assignments): 10 * 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.0001381/0.01441, allocations: 132 kB / 383.8 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.223e-05/0.01445, allocations: 11.95 kB / 383.9 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003018/0.01475, allocations: 118.4 kB / 384 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.01476, allocations: 4.375 kB / 384 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.01476, allocations: 0 / 384 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.287e-06/0.01477, allocations: 0 / 384 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005584/0.01533, allocations: 350.9 kB / 384.3 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.01533, allocations: 0 / 384.3 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.114e-05/0.01537, allocations: 8 kB / 384.3 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.01537, allocations: 3.984 kB / 384.3 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.957e-05/0.01539, allocations: 8.031 kB / 384.3 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.01539, allocations: 0 / 384.3 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.0154, allocations: 0 / 384.3 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003234/0.01572, allocations: 220.5 kB / 384.5 MB, free: 11.26 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.526e-05/0.01575, allocations: 11.94 kB / 384.6 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.108e-05/0.01578, allocations: 4 kB / 384.6 MB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.234e-05/0.01586, allocations: 4 kB / 384.6 MB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.839e-05/0.01592, allocations: 15.91 kB / 384.6 MB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.089e-05/0.01594, allocations: 4 kB / 384.6 MB, free: 11.22 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001604/0.0161, allocations: 131.2 kB / 384.7 MB, free: 11.09 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.0161, allocations: 4 kB / 384.7 MB, free: 11.09 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003588/0.01646, allocations: 51.86 kB / 384.8 MB, free: 11.04 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 7 * 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.002623/0.01908, allocations: 0.578 MB / 385.3 MB, free: 10.66 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000227/0.01931, allocations: 59.91 kB / 385.4 MB, free: 10.6 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.01931, allocations: 4.062 kB / 385.4 MB, free: 10.59 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.035e-05/0.0194, allocations: 27.98 kB / 385.4 MB, free: 10.57 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003841/0.01978, allocations: 31.97 kB / 385.5 MB, free: 10.54 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005548/0.02034, allocations: 209.3 kB / 385.7 MB, free: 10.3 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001068/0.02045, allocations: 93.44 kB / 385.8 MB, free: 10.19 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.287e-05/0.02052, allocations: 21.33 kB / 385.8 MB, free: 10.17 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.309e-05/0.02058, allocations: 24.48 kB / 385.8 MB, free: 10.14 MB / 362.7 MB Notification: Performance of SimCode: time 7.11e-07/0.02058, allocations: 0 / 385.8 MB, free: 10.14 MB / 362.7 MB Notification: Performance of Templates: time 0.006839/0.02742, allocations: 2.529 MB / 388.3 MB, free: 7.645 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.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: 4.90109543595463]