Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001746/0.001746, allocations: 84.84 kB / 20.68 MB, free: 1.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002008/0.002008, allocations: 165.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 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.51/1.51, allocations: 177.1 MB / 204.3 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2139/0.2139, allocations: 34.27 MB / 295 MB, free: 14.58 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 442.7 MB, free: 5.336 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.726e-05/2.847e-05, allocations: 2.281 kB / 442.8 MB, free: 5.332 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.003689/0.003718, allocations: 1.921 MB / 444.7 MB, free: 3.398 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002096/0.005814, allocations: 1.001 MB / 445.7 MB, free: 2.391 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000114/0.005928, allocations: 4 kB / 445.7 MB, free: 2.387 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003748/0.006303, allocations: 43.64 kB / 445.7 MB, free: 2.344 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003855/0.006688, allocations: 99.42 kB / 445.8 MB, free: 2.246 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002419/0.00693, allocations: 103.5 kB / 445.9 MB, free: 2.145 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002578/0.007188, allocations: 159.5 kB / 446.1 MB, free: 1.988 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002129/0.007401, allocations: 13.81 kB / 446.1 MB, free: 1.977 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001403/0.007541, allocations: 75.73 kB / 446.2 MB, free: 1.902 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001218/0.007663, allocations: 47.83 kB / 446.2 MB, free: 1.855 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.977e-05/0.007693, allocations: 8 kB / 446.2 MB, free: 1.848 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001118/0.007805, allocations: 43.92 kB / 446.3 MB, free: 1.805 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.911e-05/0.007884, allocations: 31.84 kB / 446.3 MB, free: 1.773 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.563e-05/0.007959, allocations: 27.92 kB / 446.3 MB, free: 1.746 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002843/0.008244, allocations: 155.4 kB / 446.5 MB, free: 1.594 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.008249, allocations: 3.984 kB / 446.5 MB, free: 1.59 MB / 366.1 MB Notification: Performance of FrontEnd: time 6.01e-07/0.008249, allocations: 0 / 446.5 MB, free: 1.59 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.016e-05/0.00826, allocations: 0 / 446.5 MB, free: 1.59 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007413/0.009001, allocations: 415 kB / 446.9 MB, free: 1.148 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.009039, allocations: 8.031 kB / 446.9 MB, free: 1.141 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.638e-05/0.009095, allocations: 20.84 kB / 446.9 MB, free: 1.121 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000319/0.009414, allocations: 166.3 kB / 447.1 MB, free: 0.9297 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/0.009429, allocations: 4.375 kB / 447.1 MB, free: 0.9258 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.586e-05/0.009465, allocations: 8.375 kB / 447.1 MB, free: 0.918 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003327/0.009798, allocations: 134.4 kB / 447.2 MB, free: 0.7656 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.757e-05/0.009815, allocations: 3.938 kB / 447.2 MB, free: 0.7617 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.008e-05/0.009836, allocations: 8 kB / 447.2 MB, free: 0.7539 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.009842, allocations: 4 kB / 447.2 MB, free: 0.75 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001726/0.01001, allocations: 51.89 kB / 447.3 MB, free: 0.6992 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007111/0.01073, allocations: 452.7 kB / 447.7 MB, free: 224 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003872/0.01111, allocations: 82.66 kB / 447.8 MB, free: 132 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001222/0.01123, allocations: 32.84 kB / 447.8 MB, free: 96 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.713e-05/0.01125, allocations: 3.984 kB / 447.8 MB, free: 92 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.1981/0.2094, allocations: 121 kB / 448 MB, free: 19.31 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 4.289e-06/0.2094, allocations: 0 / 448 MB, free: 19.31 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.000533/0.2099, allocations: 146.2 kB / 448.1 MB, free: 19.28 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.017e-05/0.2099, allocations: 53.75 kB / 448.2 MB, free: 19.21 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002203/0.2101, allocations: 206.3 kB / 448.4 MB, free: 19.11 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.2102, allocations: 31.73 kB / 448.4 MB, free: 19.08 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.526e-05/0.2102, allocations: 117.6 kB / 448.5 MB, free: 19 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.705e-05/0.2103, allocations: 28.48 kB / 448.5 MB, free: 18.99 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.926e-05/0.2103, allocations: 32.17 kB / 448.6 MB, free: 18.98 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.665e-05/0.2104, allocations: 331.4 kB / 448.9 MB, free: 18.66 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.375e-05/0.2105, allocations: 28.73 kB / 448.9 MB, free: 18.66 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001023/0.2106, allocations: 67.11 kB / 449 MB, free: 18.62 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001878/0.2108, allocations: 95.52 kB / 449.1 MB, free: 18.59 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.083e-06/0.2108, allocations: 2.062 kB / 449.1 MB, free: 18.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002841/0.211, allocations: 145.1 kB / 449.2 MB, free: 18.54 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.2111, allocations: 9.938 kB / 449.2 MB, free: 18.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.2111, allocations: 1.062 kB / 449.2 MB, free: 18.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.227e-05/0.2111, allocations: 2.922 kB / 449.2 MB, free: 18.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.2112, allocations: 21.19 kB / 449.2 MB, free: 18.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/0.2112, allocations: 5.125 kB / 449.3 MB, free: 18.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.534e-05/0.2113, allocations: 17.36 kB / 449.3 MB, free: 18.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.281e-05/0.2113, allocations: 7.938 kB / 449.3 MB, free: 18.54 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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 8.771e-05/0.2114, allocations: 128.5 kB / 449.4 MB, free: 18.42 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.854e-05/0.2114, allocations: 22.19 kB / 449.4 MB, free: 18.41 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003191/0.2117, allocations: 134.2 kB / 449.6 MB, free: 18.37 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.2117, allocations: 0 / 449.6 MB, free: 18.37 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.2118, allocations: 2.078 kB / 449.6 MB, free: 18.37 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.2118, allocations: 0.75 kB / 449.6 MB, free: 18.37 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001482/0.2119, allocations: 148.6 kB / 449.7 MB, free: 18.24 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2119, allocations: 0 / 449.7 MB, free: 18.24 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.992e-05/0.212, allocations: 17.52 kB / 449.7 MB, free: 18.24 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.212, allocations: 1.922 kB / 449.7 MB, free: 18.24 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/0.212, allocations: 9.828 kB / 449.7 MB, free: 18.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.212, allocations: 2.562 kB / 449.7 MB, free: 18.23 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.212, allocations: 0.5625 kB / 449.7 MB, free: 18.23 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000392/0.2124, allocations: 197.3 kB / 449.9 MB, free: 18.12 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.502e-05/0.2124, allocations: 19.45 kB / 449.9 MB, free: 18.11 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.765e-05/0.2125, allocations: 2.078 kB / 449.9 MB, free: 18.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.5e-05/0.2125, allocations: 5.516 kB / 450 MB, free: 18.11 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.645e-05/0.2126, allocations: 12.58 kB / 450 MB, free: 18.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.037e-05/0.2126, allocations: 7.25 kB / 450 MB, free: 18.11 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000121/0.2127, allocations: 147.2 kB / 450.1 MB, free: 18.01 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2127, allocations: 0 / 450.1 MB, free: 18.01 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002481/0.213, allocations: 29.36 kB / 450.1 MB, free: 18 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.001614/0.2146, allocations: 447.2 kB / 450.6 MB, free: 17.86 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002804/0.2149, allocations: 81.95 kB / 450.7 MB, free: 17.84 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2149, allocations: 5.438 kB / 450.7 MB, free: 17.84 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000107/0.215, allocations: 39.03 kB / 450.7 MB, free: 17.83 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003314/0.2153, allocations: 42.94 kB / 450.7 MB, free: 17.82 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005429/0.2158, allocations: 256.5 kB / 451 MB, free: 17.64 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.273e-05/0.2159, allocations: 104.5 kB / 451.1 MB, free: 17.56 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.356e-05/0.216, allocations: 22.31 kB / 451.1 MB, free: 17.55 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.726e-05/0.216, allocations: 16.92 kB / 451.1 MB, free: 17.55 MB / 366.1 MB Notification: Performance of SimCode: time 2.81e-07/0.216, allocations: 1.312 kB / 451.1 MB, free: 17.55 MB / 366.1 MB Notification: Performance of Templates: time 0.005923/0.2219, allocations: 2.034 MB / 453.2 MB, free: 17.29 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.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.887188412249088]