Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.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.00109/0.00109, allocations: 80.31 kB / 22.21 MB, free: 2.285 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.00116/0.00116, allocations: 168.3 kB / 25.61 MB, free: 8.602 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.95/0.95, allocations: 177.1 MB / 206.1 MB, free: 4.477 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.1539/0.1539, allocations: 32.8 MB / 295.4 MB, free: 15.35 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.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31") translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 377.4 MB, free: 25.5 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.138e-05/2.257e-05, allocations: 6.312 kB / 377.4 MB, free: 25.49 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.002105/0.002128, allocations: 1.746 MB / 379.1 MB, free: 23.73 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009971/0.003125, allocations: 0.9974 MB / 380.1 MB, free: 22.73 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.11e-05/0.003196, allocations: 0 / 380.1 MB, free: 22.73 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002566/0.003453, allocations: 39.77 kB / 380.1 MB, free: 22.69 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002375/0.00369, allocations: 103.5 kB / 380.2 MB, free: 22.59 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001428/0.003833, allocations: 75.67 kB / 380.3 MB, free: 22.51 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001958/0.004029, allocations: 111.6 kB / 380.4 MB, free: 22.4 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.523e-05/0.004124, allocations: 8 kB / 380.4 MB, free: 22.39 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.187e-05/0.004216, allocations: 51.81 kB / 380.5 MB, free: 22.34 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.51e-05/0.004281, allocations: 23.92 kB / 380.5 MB, free: 22.32 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.357e-05/0.004294, allocations: 4 kB / 380.5 MB, free: 22.32 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.575e-05/0.00436, allocations: 55.84 kB / 380.6 MB, free: 22.26 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.355e-05/0.004404, allocations: 23.92 kB / 380.6 MB, free: 22.24 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.801e-05/0.004432, allocations: 15.94 kB / 380.6 MB, free: 22.22 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001422/0.004574, allocations: 107.6 kB / 380.7 MB, free: 22.12 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.004576, allocations: 0 / 380.7 MB, free: 22.12 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.004576, allocations: 0 / 380.7 MB, free: 22.12 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.458e-06/0.004581, allocations: 0 / 380.7 MB, free: 22.12 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.0003737/0.004954, allocations: 443.9 kB / 381.1 MB, free: 21.65 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.00499, allocations: 15.98 kB / 381.2 MB, free: 21.63 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.157e-05/0.005032, allocations: 12.84 kB / 381.2 MB, free: 21.62 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001264/0.005158, allocations: 157.1 kB / 381.3 MB, free: 21.44 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.788e-05/0.005176, allocations: 4.375 kB / 381.3 MB, free: 21.44 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.595e-05/0.005192, allocations: 4.359 kB / 381.3 MB, free: 21.43 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.913e-05/0.005291, allocations: 62.94 kB / 381.4 MB, free: 21.36 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.005302, allocations: 3.938 kB / 381.4 MB, free: 21.36 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.153e-06/0.005309, allocations: 0 / 381.4 MB, free: 21.36 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.321e-06/0.005316, allocations: 0 / 381.4 MB, free: 21.36 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.333e-05/0.005349, allocations: 11.98 kB / 381.4 MB, free: 21.35 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002394/0.005588, allocations: 268.3 kB / 381.7 MB, free: 21.06 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.054e-05/0.005669, allocations: 43.17 kB / 381.7 MB, free: 21 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.111e-05/0.00569, allocations: 27.67 kB / 381.7 MB, free: 20.97 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.098e-05/0.005701, allocations: 0 / 381.7 MB, free: 20.97 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001058/0.005807, allocations: 72.91 kB / 381.8 MB, free: 20.89 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 9.92e-07/0.005808, allocations: 3.938 kB / 381.8 MB, free: 20.88 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002873/0.006095, allocations: 133.5 kB / 381.9 MB, free: 20.75 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.139e-05/0.006117, allocations: 51.41 kB / 382 MB, free: 20.68 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.584e-05/0.006193, allocations: 233.8 kB / 382.2 MB, free: 20.44 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.184e-06/0.0062, allocations: 25.7 kB / 382.2 MB, free: 20.41 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.156e-05/0.006231, allocations: 154.8 kB / 382.4 MB, free: 20.25 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.039e-05/0.006252, allocations: 27.8 kB / 382.4 MB, free: 20.22 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.646e-05/0.006278, allocations: 35.34 kB / 382.5 MB, free: 20.18 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.505e-05/0.006323, allocations: 0.4923 MB / 383 MB, free: 19.68 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.364e-05/0.006337, allocations: 8 kB / 383 MB, free: 19.67 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.274e-05/0.00636, allocations: 31.34 kB / 383 MB, free: 19.63 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.81e-05/0.006398, allocations: 47.3 kB / 383 MB, free: 19.57 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.006399, allocations: 0 / 383 MB, free: 19.57 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.889e-05/0.006477, allocations: 89.52 kB / 383.1 MB, free: 19.48 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.015e-05/0.006488, allocations: 8 kB / 383.1 MB, free: 19.47 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.006492, allocations: 4.406 kB / 383.1 MB, free: 19.47 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.118e-06/0.006501, allocations: 0 / 383.1 MB, free: 19.47 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.573e-05/0.006557, allocations: 19.92 kB / 383.2 MB, free: 19.45 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.957e-06/0.006561, allocations: 8 kB / 383.2 MB, free: 19.44 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.428e-05/0.006585, allocations: 0 / 383.2 MB, free: 19.44 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.643e-06/0.006592, allocations: 8 kB / 383.2 MB, free: 19.43 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 5.766e-05/0.00665, allocations: 156.6 kB / 383.3 MB, free: 19.27 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.491e-05/0.006664, allocations: 15.84 kB / 383.3 MB, free: 19.25 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001134/0.006778, allocations: 107.2 kB / 383.4 MB, free: 19.14 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-06/0.006781, allocations: 4 kB / 383.4 MB, free: 19.14 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.804e-06/0.006783, allocations: 4 kB / 383.5 MB, free: 19.13 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.006786, allocations: 0 / 383.5 MB, free: 19.13 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001847/0.006971, allocations: 365.6 kB / 383.8 MB, free: 18.74 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.006973, allocations: 0 / 383.8 MB, free: 18.74 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.071e-05/0.006993, allocations: 8 kB / 383.8 MB, free: 18.73 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.522e-06/0.006995, allocations: 0 / 383.8 MB, free: 18.73 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.501e-06/0.007, allocations: 4 kB / 383.8 MB, free: 18.73 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.007001, allocations: 0 / 383.8 MB, free: 18.73 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.007002, allocations: 3.938 kB / 383.8 MB, free: 18.72 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.785e-05/0.00709, allocations: 255.7 kB / 384.1 MB, free: 18.45 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.718e-06/0.0071, allocations: 15.94 kB / 384.1 MB, free: 18.43 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.424e-05/0.007114, allocations: 7.938 kB / 384.1 MB, free: 18.43 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.782e-05/0.007152, allocations: 0 / 384.1 MB, free: 18.43 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.321e-05/0.007175, allocations: 7.984 kB / 384.1 MB, free: 18.42 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.368e-05/0.007189, allocations: 8 kB / 384.1 MB, free: 18.41 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.55e-05/0.007234, allocations: 159.1 kB / 384.3 MB, free: 18.25 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007235, allocations: 4 kB / 384.3 MB, free: 18.25 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00016/0.007394, allocations: 27.92 kB / 384.3 MB, free: 18.22 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.0008732/0.008268, allocations: 443.6 kB / 384.7 MB, free: 17.95 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.266e-05/0.00836, allocations: 51.53 kB / 384.8 MB, free: 17.89 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.002e-06/0.008361, allocations: 0 / 384.8 MB, free: 17.89 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.981e-05/0.008391, allocations: 31.62 kB / 384.8 MB, free: 17.86 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002171/0.008608, allocations: 37.05 kB / 384.9 MB, free: 17.83 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002929/0.008901, allocations: 219.9 kB / 385.1 MB, free: 17.59 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.196e-05/0.008933, allocations: 71.19 kB / 385.1 MB, free: 17.5 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.321e-05/0.008966, allocations: 17.09 kB / 385.2 MB, free: 17.48 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.348e-05/0.00902, allocations: 94.19 kB / 385.2 MB, free: 17.38 MB / 314.7 MB Notification: Performance of SimCode: time 7.52e-07/0.009021, allocations: 0 / 385.2 MB, free: 17.38 MB / 314.7 MB Notification: Performance of Templates: time 0.003191/0.01221, allocations: 2.054 MB / 387.3 MB, free: 15.36 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test31/Test31.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.3359573702327907]