Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.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.001431/0.001431, allocations: 80.41 kB / 22.21 MB, free: 2.289 MB / 18.57 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.001407/0.001407, allocations: 169.4 kB / 25.61 MB, free: 8.902 MB / 18.57 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 0.928/0.928, allocations: 177.1 MB / 206 MB, free: 4.504 MB / 186.7 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.1502/0.1502, allocations: 32.8 MB / 295.4 MB, free: 15.39 MB / 282.7 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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18") translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 377.3 MB, free: 25.52 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.101e-05/2.274e-05, allocations: 2.312 kB / 377.3 MB, free: 25.52 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.002145/0.002168, allocations: 1.765 MB / 379.1 MB, free: 23.74 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001064/0.003232, allocations: 0.9897 MB / 380.1 MB, free: 22.75 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.656e-05/0.003318, allocations: 0 / 380.1 MB, free: 22.75 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002737/0.003592, allocations: 35.78 kB / 380.1 MB, free: 22.71 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003018/0.003894, allocations: 99.47 kB / 380.2 MB, free: 22.61 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001939/0.004088, allocations: 87.53 kB / 380.3 MB, free: 22.53 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001351/0.004223, allocations: 103.7 kB / 380.4 MB, free: 22.43 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.043e-05/0.004303, allocations: 15.92 kB / 380.4 MB, free: 22.41 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.61e-05/0.00438, allocations: 51.84 kB / 380.5 MB, free: 22.36 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.254e-05/0.004442, allocations: 27.89 kB / 380.5 MB, free: 22.33 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.355e-05/0.004456, allocations: 8 kB / 380.5 MB, free: 22.32 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.055e-05/0.004526, allocations: 43.92 kB / 380.6 MB, free: 22.28 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.078e-05/0.004567, allocations: 15.94 kB / 380.6 MB, free: 22.27 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.256e-05/0.0046, allocations: 23.91 kB / 380.6 MB, free: 22.24 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001362/0.004736, allocations: 103.5 kB / 380.7 MB, free: 22.14 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.004739, allocations: 4 kB / 380.7 MB, free: 22.14 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.00474, allocations: 0 / 380.7 MB, free: 22.14 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.446e-06/0.004743, allocations: 0 / 380.7 MB, free: 22.14 MB / 314.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.0003364/0.00508, allocations: 443.9 kB / 381.1 MB, free: 21.67 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.092e-05/0.005111, allocations: 11.98 kB / 381.2 MB, free: 21.66 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.48e-05/0.005145, allocations: 12.89 kB / 381.2 MB, free: 21.64 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001188/0.005264, allocations: 148.4 kB / 381.3 MB, free: 21.47 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.005278, allocations: 384 / 381.3 MB, free: 21.47 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.59e-05/0.005294, allocations: 12.33 kB / 381.3 MB, free: 21.46 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.139e-05/0.005385, allocations: 62.88 kB / 381.4 MB, free: 21.39 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.005396, allocations: 3.938 kB / 381.4 MB, free: 21.39 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.432e-06/0.005402, allocations: 0 / 381.4 MB, free: 21.39 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.005408, allocations: 4 kB / 381.4 MB, free: 21.38 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.3e-05/0.005431, allocations: 11.98 kB / 381.4 MB, free: 21.37 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001952/0.005626, allocations: 256.4 kB / 381.7 MB, free: 21.09 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.316e-05/0.005699, allocations: 51.11 kB / 381.7 MB, free: 21.03 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.828e-05/0.005717, allocations: 23.67 kB / 381.7 MB, free: 21 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.047e-05/0.005728, allocations: 0 / 381.7 MB, free: 21 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.674e-05/0.005805, allocations: 68.97 kB / 381.8 MB, free: 20.92 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 8.62e-07/0.005806, allocations: 0 / 381.8 MB, free: 20.92 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002794/0.006085, allocations: 129.5 kB / 381.9 MB, free: 20.79 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.048e-05/0.006105, allocations: 55.41 kB / 382 MB, free: 20.72 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.47e-05/0.00618, allocations: 223.2 kB / 382.2 MB, free: 20.49 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.106e-06/0.006188, allocations: 33.64 kB / 382.2 MB, free: 20.45 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.265e-05/0.006221, allocations: 150.8 kB / 382.4 MB, free: 20.3 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.05e-05/0.006241, allocations: 19.84 kB / 382.4 MB, free: 20.28 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.841e-05/0.00627, allocations: 35.36 kB / 382.4 MB, free: 20.23 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.123e-05/0.006311, allocations: 0.4962 MB / 382.9 MB, free: 19.73 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.497e-05/0.006326, allocations: 11.94 kB / 382.9 MB, free: 19.71 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.077e-05/0.006347, allocations: 27.36 kB / 383 MB, free: 19.68 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.574e-05/0.006383, allocations: 47.36 kB / 383 MB, free: 19.62 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.006384, allocations: 3.984 kB / 383 MB, free: 19.62 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.373e-05/0.006468, allocations: 85.47 kB / 383.1 MB, free: 19.53 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.006479, allocations: 8 kB / 383.1 MB, free: 19.52 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.006484, allocations: 0 / 383.1 MB, free: 19.52 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.927e-06/0.006493, allocations: 4.031 kB / 383.1 MB, free: 19.52 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.812e-05/0.006551, allocations: 16 kB / 383.1 MB, free: 19.5 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.186e-06/0.006554, allocations: 3.984 kB / 383.1 MB, free: 19.5 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.601e-05/0.00658, allocations: 4 kB / 383.1 MB, free: 19.5 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-06/0.006585, allocations: 4 kB / 383.1 MB, free: 19.49 MB / 314.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 4.737e-05/0.006632, allocations: 164.5 kB / 383.3 MB, free: 19.32 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.469e-05/0.006647, allocations: 19.84 kB / 383.3 MB, free: 19.3 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001118/0.006759, allocations: 103.2 kB / 383.4 MB, free: 19.19 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-06/0.00676, allocations: 0 / 383.4 MB, free: 19.19 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.006762, allocations: 4 kB / 383.4 MB, free: 19.19 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.006765, allocations: 4 kB / 383.4 MB, free: 19.18 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001839/0.006949, allocations: 361.9 kB / 383.8 MB, free: 18.79 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.006951, allocations: 3.984 kB / 383.8 MB, free: 18.79 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.319e-05/0.006974, allocations: 12 kB / 383.8 MB, free: 18.78 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.006977, allocations: 4 kB / 383.8 MB, free: 18.77 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.006984, allocations: 4 kB / 383.8 MB, free: 18.77 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.006985, allocations: 0 / 383.8 MB, free: 18.77 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.006986, allocations: 4 kB / 383.8 MB, free: 18.77 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.306e-05/0.007079, allocations: 255.4 kB / 384.1 MB, free: 18.49 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.027e-05/0.00709, allocations: 11.98 kB / 384.1 MB, free: 18.48 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.485e-05/0.007105, allocations: 3.984 kB / 384.1 MB, free: 18.48 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.876e-05/0.007143, allocations: 8 kB / 384.1 MB, free: 18.47 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.326e-05/0.007167, allocations: 7.984 kB / 384.1 MB, free: 18.46 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.064e-05/0.007177, allocations: 0 / 384.1 MB, free: 18.46 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.727e-05/0.007214, allocations: 168 kB / 384.2 MB, free: 18.3 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007214, allocations: 0 / 384.2 MB, free: 18.3 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001692/0.007384, allocations: 24 kB / 384.3 MB, free: 18.27 MB / 314.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.0008967/0.00828, allocations: 432.5 kB / 384.7 MB, free: 18.02 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.729e-05/0.008378, allocations: 51.55 kB / 384.7 MB, free: 17.97 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.00838, allocations: 4 kB / 384.7 MB, free: 17.96 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.876e-05/0.008408, allocations: 27.66 kB / 384.8 MB, free: 17.93 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002222/0.008631, allocations: 41.52 kB / 384.8 MB, free: 17.9 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002642/0.008895, allocations: 216.1 kB / 385 MB, free: 17.65 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.409e-05/0.008919, allocations: 67.2 kB / 385.1 MB, free: 17.57 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.337e-05/0.008952, allocations: 25.08 kB / 385.1 MB, free: 17.54 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.961e-05/0.009012, allocations: 86.19 kB / 385.2 MB, free: 17.46 MB / 314.7 MB Notification: Performance of SimCode: time 8.31e-07/0.009013, allocations: 0 / 385.2 MB, free: 17.46 MB / 314.7 MB Notification: Performance of Templates: time 0.003342/0.01235, allocations: 2.055 MB / 387.3 MB, free: 15.43 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.312068159226328]