Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.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.001841/0.001841, allocations: 84.95 kB / 20.68 MB, free: 1.035 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.002381/0.002381, allocations: 158.2 kB / 23.95 MB, free: 4.168 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.586/1.586, allocations: 177 MB / 204.1 MB, free: 9.18 MB / 190.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.2139/0.2139, allocations: 34.26 MB / 294.8 MB, free: 14.55 MB / 286.1 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.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68") translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.764e-06/1.764e-06, allocations: 0 / 442.7 MB, free: 5.238 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.163e-05/3.339e-05, allocations: 12.75 kB / 442.7 MB, free: 5.227 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.00359/0.003623, allocations: 1.782 MB / 444.5 MB, free: 3.43 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002193/0.005816, allocations: 1.052 MB / 445.6 MB, free: 2.371 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001168/0.005933, allocations: 0 / 445.6 MB, free: 2.371 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006319/0.006565, allocations: 303 kB / 445.9 MB, free: 2.074 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005497/0.007115, allocations: 255.1 kB / 446.1 MB, free: 1.824 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002618/0.007376, allocations: 111.6 kB / 446.2 MB, free: 1.715 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003896/0.007766, allocations: 267.2 kB / 446.5 MB, free: 1.453 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.002e-05/0.007826, allocations: 9.812 kB / 446.5 MB, free: 1.445 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002264/0.008052, allocations: 151.6 kB / 446.6 MB, free: 1.297 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002763/0.008329, allocations: 212 kB / 446.9 MB, free: 1.09 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.229e-05/0.008361, allocations: 4 kB / 446.9 MB, free: 1.086 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001135/0.008474, allocations: 47.92 kB / 446.9 MB, free: 1.039 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001791/0.008654, allocations: 132.5 kB / 447 MB, free: 0.9102 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001183/0.008772, allocations: 79.64 kB / 447.1 MB, free: 0.832 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005077/0.00928, allocations: 346.8 kB / 447.4 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.009284, allocations: 4 kB / 447.5 MB, free: 500 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.009285, allocations: 0 / 447.5 MB, free: 500 kB / 366.1 MB Notification: Performance of Transformations before backend: time 6.733e-06/0.009292, allocations: 3.938 kB / 447.5 MB, free: 496 kB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.2182/0.2275, allocations: 0.6655 MB / 448.1 MB, free: 19.34 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.2276, allocations: 8.969 kB / 448.1 MB, free: 19.34 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.56e-05/0.2277, allocations: 51.19 kB / 448.2 MB, free: 19.31 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006154/0.2283, allocations: 390 kB / 448.6 MB, free: 19.12 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.864e-05/0.2283, allocations: 6.969 kB / 448.6 MB, free: 19.12 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.891e-05/0.2283, allocations: 2.656 kB / 448.6 MB, free: 19.12 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002389/0.2285, allocations: 94.28 kB / 448.7 MB, free: 19.07 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.2286, allocations: 1.969 kB / 448.7 MB, free: 19.07 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.516e-05/0.2286, allocations: 5.281 kB / 448.7 MB, free: 19.07 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.2286, allocations: 1.094 kB / 448.7 MB, free: 19.07 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000121/0.2287, allocations: 37.69 kB / 448.7 MB, free: 19.07 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003804/0.2291, allocations: 300.3 kB / 449 MB, free: 18.94 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002911/0.2294, allocations: 104.8 kB / 449.1 MB, free: 18.88 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.558e-05/0.2295, allocations: 42.52 kB / 449.1 MB, free: 18.86 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.052e-05/0.2295, allocations: 2.234 kB / 449.1 MB, free: 18.86 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00022/0.2297, allocations: 111.5 kB / 449.3 MB, free: 18.77 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.643e-06/0.2297, allocations: 1.156 kB / 449.3 MB, free: 18.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005293/0.2302, allocations: 209.4 kB / 449.5 MB, free: 18.68 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.976e-05/0.2303, allocations: 84.14 kB / 449.5 MB, free: 18.58 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001128/0.2314, allocations: 1.032 MB / 450.6 MB, free: 18.23 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.639e-05/0.2314, allocations: 34.77 kB / 450.6 MB, free: 18.2 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001426/0.2316, allocations: 232.5 kB / 450.8 MB, free: 18.01 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.385e-05/0.2316, allocations: 28.36 kB / 450.9 MB, free: 17.99 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.685e-05/0.2316, allocations: 29.77 kB / 450.9 MB, free: 17.97 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.501e-05/0.2317, allocations: 369.4 kB / 451.3 MB, free: 17.63 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.38e-05/0.2318, allocations: 29.56 kB / 451.3 MB, free: 17.62 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.302e-05/0.2319, allocations: 59.75 kB / 451.3 MB, free: 17.58 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001829/0.2321, allocations: 97.52 kB / 451.4 MB, free: 17.52 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.2321, allocations: 0.875 kB / 451.4 MB, free: 17.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003127/0.2324, allocations: 181.1 kB / 451.6 MB, free: 17.43 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.2324, allocations: 6.531 kB / 451.6 MB, free: 17.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.2324, allocations: 1.406 kB / 451.6 MB, free: 17.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.2325, allocations: 1.656 kB / 451.6 MB, free: 17.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001546/0.2326, allocations: 25.02 kB / 451.6 MB, free: 17.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.2326, allocations: 6.562 kB / 451.7 MB, free: 17.42 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001025/0.2327, allocations: 12.73 kB / 451.7 MB, free: 17.42 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.334e-05/0.2327, allocations: 5.984 kB / 451.7 MB, free: 17.42 MB / 366.1 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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001976/0.2329, allocations: 227.4 kB / 451.9 MB, free: 17.28 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.472e-05/0.233, allocations: 54.84 kB / 451.9 MB, free: 17.25 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003858/0.2334, allocations: 203.2 kB / 452.1 MB, free: 17.16 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.2334, allocations: 1.375 kB / 452.1 MB, free: 17.16 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.2334, allocations: 1.938 kB / 452.1 MB, free: 17.16 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.2334, allocations: 9.078 kB / 452.2 MB, free: 17.16 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002664/0.2337, allocations: 266.1 kB / 452.4 MB, free: 16.99 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.2337, allocations: 0 / 452.4 MB, free: 16.99 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.468e-05/0.2337, allocations: 10.75 kB / 452.4 MB, free: 16.99 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.566e-06/0.2337, allocations: 2.969 kB / 452.4 MB, free: 16.99 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/0.2337, allocations: 10.73 kB / 452.4 MB, free: 16.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.2337, allocations: 1.375 kB / 452.4 MB, free: 16.98 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2337, allocations: 0 / 452.4 MB, free: 16.98 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003254/0.2341, allocations: 223.7 kB / 452.7 MB, free: 16.85 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.472e-05/0.2342, allocations: 63.61 kB / 452.7 MB, free: 16.82 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.958e-05/0.2342, allocations: 2.078 kB / 452.7 MB, free: 16.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.887e-05/0.2343, allocations: 10.23 kB / 452.7 MB, free: 16.81 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.357e-05/0.2343, allocations: 8.484 kB / 452.7 MB, free: 16.81 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.175e-05/0.2344, allocations: 8.672 kB / 452.8 MB, free: 16.81 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008429/0.2352, allocations: 0.7719 MB / 453.5 MB, free: 16.54 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2352, allocations: 4 kB / 453.5 MB, free: 16.54 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002824/0.2355, allocations: 47.86 kB / 453.6 MB, free: 16.53 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.00169/0.2372, allocations: 431.8 kB / 454 MB, free: 16.35 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002735/0.2375, allocations: 93.83 kB / 454.1 MB, free: 16.32 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.2375, allocations: 0 / 454.1 MB, free: 16.32 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000116/0.2376, allocations: 42.27 kB / 454.1 MB, free: 16.3 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004494/0.238, allocations: 77.17 kB / 454.2 MB, free: 16.28 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00125/0.2393, allocations: 0.8785 MB / 455.1 MB, free: 15.88 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002455/0.2395, allocations: 239.7 kB / 455.3 MB, free: 15.78 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001031/0.2396, allocations: 55.48 kB / 455.4 MB, free: 15.77 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.035e-05/0.2397, allocations: 32.44 kB / 455.4 MB, free: 15.76 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2397, allocations: 4 kB / 455.4 MB, free: 15.76 MB / 366.1 MB Notification: Performance of Templates: time 0.01021/0.2499, allocations: 3.97 MB / 459.4 MB, free: 15.23 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.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.128473408520222]