Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.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.001269/0.001269, allocations: 84.55 kB / 20.68 MB, free: 1.012 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.001405/0.001405, allocations: 167.6 kB / 23.96 MB, free: 4.125 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.395/1.395, allocations: 177.1 MB / 204.3 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1968/0.1968, allocations: 32.81 MB / 293.5 MB, free: 36 kB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23") translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 440.2 MB, free: 8.07 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.612e-05/2.751e-05, allocations: 2.281 kB / 440.2 MB, free: 8.066 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.002995/0.003023, allocations: 1.711 MB / 441.9 MB, free: 6.344 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001744/0.004766, allocations: 0.9742 MB / 442.9 MB, free: 5.363 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.984e-05/0.004826, allocations: 0 / 442.9 MB, free: 5.363 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000254/0.00508, allocations: 43.78 kB / 442.9 MB, free: 5.32 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003153/0.005395, allocations: 99.47 kB / 443 MB, free: 5.223 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000199/0.005594, allocations: 83.53 kB / 443.1 MB, free: 5.141 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001887/0.005783, allocations: 107.7 kB / 443.2 MB, free: 5.035 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.891e-05/0.005882, allocations: 7.984 kB / 443.2 MB, free: 5.027 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000105/0.005987, allocations: 51.78 kB / 443.2 MB, free: 4.977 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.716e-05/0.006064, allocations: 31.89 kB / 443.3 MB, free: 4.945 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.048e-05/0.006085, allocations: 4 kB / 443.3 MB, free: 4.941 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.352e-05/0.006178, allocations: 43.98 kB / 443.3 MB, free: 4.898 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.932e-05/0.006238, allocations: 27.86 kB / 443.4 MB, free: 4.871 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.638e-05/0.006284, allocations: 19.92 kB / 443.4 MB, free: 4.852 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002179/0.006502, allocations: 123.5 kB / 443.5 MB, free: 4.73 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.006505, allocations: 3.938 kB / 443.5 MB, free: 4.727 MB / 366.1 MB Notification: Performance of FrontEnd: time 6.11e-07/0.006506, allocations: 0 / 443.5 MB, free: 4.727 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.007e-06/0.00651, allocations: 0 / 443.5 MB, free: 4.727 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000546/0.007056, allocations: 349.5 kB / 443.8 MB, free: 4.355 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.337e-05/0.007089, allocations: 8.031 kB / 443.8 MB, free: 4.348 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.852e-05/0.007138, allocations: 16.89 kB / 443.9 MB, free: 4.332 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002297/0.007368, allocations: 165.4 kB / 444 MB, free: 4.145 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.00738, allocations: 384 / 444 MB, free: 4.145 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.55e-05/0.007405, allocations: 8.375 kB / 444 MB, free: 4.137 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001569/0.007562, allocations: 50.23 kB / 444.1 MB, free: 4.082 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.007575, allocations: 3.938 kB / 444.1 MB, free: 4.078 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.007586, allocations: 4 kB / 444.1 MB, free: 4.074 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.00759, allocations: 0 / 444.1 MB, free: 4.074 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.697e-05/0.007667, allocations: 19.98 kB / 444.1 MB, free: 4.055 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003613/0.008028, allocations: 236.5 kB / 444.3 MB, free: 3.793 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001873/0.008216, allocations: 58.67 kB / 444.4 MB, free: 3.727 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.478e-05/0.00828, allocations: 24.78 kB / 444.4 MB, free: 3.699 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.466e-05/0.008295, allocations: 4 kB / 444.4 MB, free: 3.695 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001479/0.008443, allocations: 63.39 kB / 444.5 MB, free: 3.621 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.332e-06/0.008444, allocations: 0 / 444.5 MB, free: 3.621 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005548/0.008999, allocations: 181.3 kB / 444.7 MB, free: 3.438 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.704e-05/0.009046, allocations: 55.41 kB / 444.7 MB, free: 3.371 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002326/0.009279, allocations: 215 kB / 444.9 MB, free: 3.152 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.866e-05/0.009297, allocations: 25.7 kB / 445 MB, free: 3.121 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.208e-05/0.009369, allocations: 116.1 kB / 445.1 MB, free: 3.004 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.42e-05/0.009404, allocations: 31.72 kB / 445.1 MB, free: 2.973 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.28e-05/0.009446, allocations: 21.7 kB / 445.1 MB, free: 2.945 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001621/0.009608, allocations: 326.8 kB / 445.4 MB, free: 2.617 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.103e-05/0.009669, allocations: 19.98 kB / 445.5 MB, free: 2.598 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.228e-05/0.009742, allocations: 37.7 kB / 445.5 MB, free: 2.555 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001326/0.009874, allocations: 69.7 kB / 445.6 MB, free: 2.48 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.009875, allocations: 0 / 445.6 MB, free: 2.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002144/0.01009, allocations: 109.5 kB / 445.7 MB, free: 2.367 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.0101, allocations: 4 kB / 445.7 MB, free: 2.363 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.01011, allocations: 0 / 445.7 MB, free: 2.363 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.01012, allocations: 0 / 445.7 MB, free: 2.363 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.744e-05/0.01021, allocations: 20.17 kB / 445.7 MB, free: 2.344 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.047e-06/0.01021, allocations: 3.938 kB / 445.7 MB, free: 2.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.649e-05/0.01026, allocations: 12.25 kB / 445.7 MB, free: 2.328 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.01026, allocations: 0 / 445.7 MB, free: 2.328 MB / 366.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 (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.0001197/0.01038, allocations: 134.4 kB / 445.8 MB, free: 2.188 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.358e-05/0.01041, allocations: 7.953 kB / 445.8 MB, free: 2.18 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002741/0.01068, allocations: 131.1 kB / 446 MB, free: 2.047 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.01068, allocations: 0 / 446 MB, free: 2.047 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.01069, allocations: 0 / 446 MB, free: 2.047 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.01069, allocations: 3.984 kB / 446 MB, free: 2.043 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004707/0.01116, allocations: 358.9 kB / 446.3 MB, free: 1.652 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.01117, allocations: 0 / 446.3 MB, free: 1.652 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.212e-05/0.01121, allocations: 11.98 kB / 446.3 MB, free: 1.641 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.01121, allocations: 4 kB / 446.3 MB, free: 1.637 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/0.01122, allocations: 0 / 446.3 MB, free: 1.637 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.01122, allocations: 0 / 446.3 MB, free: 1.637 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.01122, allocations: 4.031 kB / 446.3 MB, free: 1.633 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002714/0.01149, allocations: 216.2 kB / 446.6 MB, free: 1.402 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.006e-05/0.01151, allocations: 11.94 kB / 446.6 MB, free: 1.391 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.739e-05/0.01154, allocations: 8 kB / 446.6 MB, free: 1.383 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.198e-05/0.01161, allocations: 0 / 446.6 MB, free: 1.383 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.971e-05/0.01165, allocations: 7.984 kB / 446.6 MB, free: 1.375 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.576e-05/0.01167, allocations: 4 kB / 446.6 MB, free: 1.371 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001557/0.01182, allocations: 163.2 kB / 446.7 MB, free: 1.211 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01182, allocations: 0 / 446.7 MB, free: 1.211 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002664/0.01209, allocations: 35.86 kB / 446.8 MB, free: 1.176 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: 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.001808/0.0139, allocations: 497.2 kB / 447.3 MB, free: 0.9023 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001932/0.01409, allocations: 63.91 kB / 447.3 MB, free: 0.8398 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.01409, allocations: 64 / 447.3 MB, free: 0.8398 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.239e-05/0.01418, allocations: 32.12 kB / 447.4 MB, free: 0.8086 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003511/0.01453, allocations: 34.97 kB / 447.4 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004796/0.01501, allocations: 250 kB / 447.6 MB, free: 0.5 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.816e-05/0.01511, allocations: 88.81 kB / 447.7 MB, free: 400 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.139e-05/0.01517, allocations: 21.03 kB / 447.7 MB, free: 376 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.296e-05/0.01521, allocations: 24.47 kB / 447.8 MB, free: 352 kB / 366.1 MB Notification: Performance of SimCode: time 3.4e-07/0.01521, allocations: 0 / 447.8 MB, free: 352 kB / 366.1 MB Notification: Performance of Templates: time 0.1691/0.1843, allocations: 1.849 MB / 449.6 MB, free: 21.13 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test23/Test23.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.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.527460515499115]