Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.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.0009554/0.0009554, allocations: 77.97 kB / 21.42 MB, free: 3.078 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.00105/0.00105, allocations: 168.5 kB / 24.82 MB, free: 8.938 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.9965/0.9965, allocations: 177.1 MB / 205.3 MB, free: 5.516 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.248/0.248, allocations: 32.81 MB / 294.6 MB, free: 1.246 MB / 266.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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 376.6 MB, free: 4.348 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.373e-05/2.55e-05, allocations: 10.25 kB / 376.6 MB, free: 4.336 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.002918/0.002944, allocations: 1.762 MB / 378.3 MB, free: 2.559 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001396/0.00434, allocations: 0.9971 MB / 379.3 MB, free: 1.559 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.183e-05/0.004412, allocations: 0 / 379.3 MB, free: 1.559 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002942/0.004706, allocations: 83.62 kB / 379.4 MB, free: 1.477 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002845/0.00499, allocations: 119.4 kB / 379.5 MB, free: 1.359 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001853/0.005175, allocations: 83.55 kB / 379.6 MB, free: 1.277 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001682/0.005344, allocations: 119.7 kB / 379.7 MB, free: 1.16 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.218e-05/0.005426, allocations: 8 kB / 379.7 MB, free: 1.152 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000102/0.005528, allocations: 67.75 kB / 379.8 MB, free: 1.086 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001002/0.005628, allocations: 59.86 kB / 379.9 MB, free: 1.027 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.474e-05/0.005643, allocations: 4 kB / 379.9 MB, free: 1.023 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.897e-05/0.005732, allocations: 43.92 kB / 379.9 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.755e-05/0.005779, allocations: 27.86 kB / 379.9 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.821e-05/0.005817, allocations: 19.92 kB / 379.9 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001747/0.005992, allocations: 107.6 kB / 380 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.005994, allocations: 0 / 380 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.005995, allocations: 0 / 380 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.377e-06/0.005999, allocations: 0 / 380 MB, free: 0.8281 MB / 346.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.0004376/0.006436, allocations: 463.7 kB / 380.5 MB, free: 348 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.006474, allocations: 12.03 kB / 380.5 MB, free: 336 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.004e-05/0.006514, allocations: 16.84 kB / 380.5 MB, free: 320 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001509/0.006665, allocations: 144.4 kB / 380.7 MB, free: 148 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.643e-05/0.006682, allocations: 4.375 kB / 380.7 MB, free: 144 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.563e-05/0.006697, allocations: 4.328 kB / 380.7 MB, free: 140 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001082/0.006805, allocations: 62.94 kB / 380.7 MB, free: 68 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.006817, allocations: 7.875 kB / 380.7 MB, free: 60 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.294e-06/0.006824, allocations: 0 / 380.7 MB, free: 60 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.006829, allocations: 0 / 380.7 MB, free: 60 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.003e-05/0.006859, allocations: 15.98 kB / 380.8 MB, free: 44 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002785/0.007138, allocations: 256.4 kB / 381 MB, free: 15.77 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.65e-05/0.007234, allocations: 59.14 kB / 381.1 MB, free: 15.7 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.227e-05/0.007257, allocations: 15.62 kB / 381.1 MB, free: 15.68 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.587e-05/0.007273, allocations: 3.984 kB / 381.1 MB, free: 15.67 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.46e-05/0.007367, allocations: 64.98 kB / 381.2 MB, free: 15.59 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.031e-06/0.007368, allocations: 0 / 381.2 MB, free: 15.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003333/0.007701, allocations: 141.7 kB / 381.3 MB, free: 15.45 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.842e-05/0.00773, allocations: 63.41 kB / 381.4 MB, free: 15.38 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001509/0.007881, allocations: 234.7 kB / 381.6 MB, free: 15.12 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.507e-05/0.007896, allocations: 29.7 kB / 381.6 MB, free: 15.09 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.913e-05/0.007965, allocations: 158.8 kB / 381.8 MB, free: 14.93 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.111e-05/0.007996, allocations: 27.78 kB / 381.8 MB, free: 14.9 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.386e-05/0.00804, allocations: 31.36 kB / 381.8 MB, free: 14.86 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003868/0.008427, allocations: 0.4962 MB / 382.3 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.623e-05/0.008453, allocations: 12.06 kB / 382.3 MB, free: 14.34 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.45e-05/0.008488, allocations: 31.3 kB / 382.4 MB, free: 14.3 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.989e-05/0.008547, allocations: 59.28 kB / 382.4 MB, free: 14.24 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.008548, allocations: 0 / 382.4 MB, free: 14.24 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001176/0.008666, allocations: 85.47 kB / 382.5 MB, free: 14.15 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.008678, allocations: 8 kB / 382.5 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.008684, allocations: 0 / 382.5 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.008695, allocations: 0 / 382.5 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.981e-05/0.008765, allocations: 19.98 kB / 382.5 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.906e-06/0.008768, allocations: 4 kB / 382.5 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.33e-05/0.008801, allocations: 0 / 382.5 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.008807, allocations: 4 kB / 382.5 MB, free: 14.11 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 8.565e-05/0.008893, allocations: 168.5 kB / 382.7 MB, free: 13.94 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.187e-05/0.008915, allocations: 15.89 kB / 382.7 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001562/0.009071, allocations: 103.2 kB / 382.8 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.009073, allocations: 3.938 kB / 382.8 MB, free: 13.81 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/0.009074, allocations: 0 / 382.8 MB, free: 13.81 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.009078, allocations: 0 / 382.8 MB, free: 13.81 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003047/0.009383, allocations: 369.6 kB / 383.2 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.009385, allocations: 0 / 383.2 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.42e-05/0.009419, allocations: 12 kB / 383.2 MB, free: 13.4 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.009421, allocations: 0 / 383.2 MB, free: 13.4 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.213e-06/0.009429, allocations: 8.016 kB / 383.2 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.00943, allocations: 0 / 383.2 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.009432, allocations: 4 kB / 383.2 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001582/0.00959, allocations: 255.4 kB / 383.5 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.395e-05/0.009604, allocations: 7.953 kB / 383.5 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.977e-05/0.009624, allocations: 8 kB / 383.5 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.122e-05/0.009685, allocations: 0 / 383.5 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.583e-05/0.009711, allocations: 7.984 kB / 383.5 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.307e-05/0.009724, allocations: 4 kB / 383.5 MB, free: 13.09 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.869e-05/0.009812, allocations: 177 kB / 383.7 MB, free: 12.92 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.009812, allocations: 4 kB / 383.7 MB, free: 12.91 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002487/0.01006, allocations: 23.94 kB / 383.7 MB, free: 12.89 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.001054/0.01111, allocations: 443.9 kB / 384.1 MB, free: 12.62 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001063/0.01122, allocations: 47.64 kB / 384.2 MB, free: 12.57 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.01122, allocations: 0 / 384.2 MB, free: 12.57 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.284e-05/0.01127, allocations: 31.61 kB / 384.2 MB, free: 12.53 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003039/0.01157, allocations: 35.86 kB / 384.2 MB, free: 12.5 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003748/0.01194, allocations: 240.7 kB / 384.5 MB, free: 12.23 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.097e-05/0.012, allocations: 75.33 kB / 384.5 MB, free: 12.14 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.184e-05/0.01204, allocations: 13.28 kB / 384.6 MB, free: 12.12 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.952e-05/0.01212, allocations: 90.19 kB / 384.6 MB, free: 12.03 MB / 362.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01212, allocations: 3.938 kB / 384.6 MB, free: 12.03 MB / 362.7 MB Notification: Performance of Templates: time 0.004271/0.01639, allocations: 2.056 MB / 386.7 MB, free: 10 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.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.0452182912267745]