Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.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.001719/0.001719, allocations: 79.75 kB / 20.51 MB, free: 1.121 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.002159/0.002159, allocations: 169 kB / 23.76 MB, free: 4.195 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.506/1.506, allocations: 158.6 MB / 185.5 MB, free: 6.234 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.21/0.21, allocations: 32.37 MB / 270.1 MB, free: 2.711 MB / 254.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41") translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002445/0.002445, allocations: 68.42 kB / 407.8 MB, free: 5.48 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1191, allocations: 61.04 MB / 468.9 MB, free: 8.25 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.003736/0.1228, allocations: 1.684 MB / 470.5 MB, free: 6.555 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001508/0.1244, allocations: 0.7649 MB / 471.3 MB, free: 5.781 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.522e-05/0.1244, allocations: 11.94 kB / 471.3 MB, free: 5.77 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003499/0.1248, allocations: 87.69 kB / 471.4 MB, free: 5.684 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000268/0.1251, allocations: 75.72 kB / 471.5 MB, free: 5.609 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002803/0.1253, allocations: 87.7 kB / 471.6 MB, free: 5.523 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002147/0.1256, allocations: 103.7 kB / 471.7 MB, free: 5.422 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.208e-05/0.1256, allocations: 8.234 kB / 471.7 MB, free: 5.414 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001149/0.1258, allocations: 55.77 kB / 471.7 MB, free: 5.359 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001336/0.1259, allocations: 63.73 kB / 471.8 MB, free: 5.297 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.365e-05/0.1259, allocations: 8 kB / 471.8 MB, free: 5.289 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001211/0.126, allocations: 47.92 kB / 471.8 MB, free: 5.242 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.747e-05/0.1261, allocations: 23.86 kB / 471.9 MB, free: 5.219 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.798e-05/0.1262, allocations: 27.8 kB / 471.9 MB, free: 5.191 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002336/0.1264, allocations: 119.5 kB / 472 MB, free: 5.074 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.1264, allocations: 0 / 472 MB, free: 5.074 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1264, allocations: 0 / 472 MB, free: 5.074 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.6e-06/0.1264, allocations: 0 / 472 MB, free: 5.074 MB / 446.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.0006026/0.127, allocations: 345.6 kB / 472.3 MB, free: 4.707 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.1271, allocations: 12.03 kB / 472.4 MB, free: 4.695 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.598e-05/0.1271, allocations: 20.83 kB / 472.4 MB, free: 4.676 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002856/0.1274, allocations: 150.8 kB / 472.5 MB, free: 4.504 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.1274, allocations: 384 / 472.5 MB, free: 4.504 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.436e-05/0.1274, allocations: 12.08 kB / 472.5 MB, free: 4.492 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001641/0.1276, allocations: 53.67 kB / 472.6 MB, free: 4.434 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.1276, allocations: 0 / 472.6 MB, free: 4.434 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.1276, allocations: 4 kB / 472.6 MB, free: 4.43 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.1276, allocations: 0 / 472.6 MB, free: 4.43 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.831e-05/0.1277, allocations: 19.98 kB / 472.6 MB, free: 4.41 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000363/0.1281, allocations: 244.4 kB / 472.9 MB, free: 4.141 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002241/0.1283, allocations: 58.67 kB / 472.9 MB, free: 4.074 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.832e-05/0.1284, allocations: 20.84 kB / 472.9 MB, free: 4.051 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.816e-05/0.1284, allocations: 4 kB / 472.9 MB, free: 4.047 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001548/0.1285, allocations: 63.39 kB / 473 MB, free: 3.973 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.1285, allocations: 3.938 kB / 473 MB, free: 3.969 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005589/0.1291, allocations: 181.4 kB / 473.2 MB, free: 3.785 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.54e-05/0.1291, allocations: 55.41 kB / 473.2 MB, free: 3.719 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002202/0.1294, allocations: 222.2 kB / 473.4 MB, free: 3.492 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.25e-05/0.1294, allocations: 29.7 kB / 473.5 MB, free: 3.457 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.273e-05/0.1294, allocations: 104.1 kB / 473.6 MB, free: 3.352 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.28e-05/0.1295, allocations: 23.8 kB / 473.6 MB, free: 3.328 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.525e-05/0.1295, allocations: 25.7 kB / 473.6 MB, free: 3.297 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.1297, allocations: 326.8 kB / 473.9 MB, free: 2.969 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.179e-05/0.1297, allocations: 20 kB / 474 MB, free: 2.949 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.303e-05/0.1298, allocations: 37.7 kB / 474 MB, free: 2.906 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001244/0.1299, allocations: 57.7 kB / 474.1 MB, free: 2.844 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1299, allocations: 7.938 kB / 474.1 MB, free: 2.836 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002112/0.1301, allocations: 109.6 kB / 474.2 MB, free: 2.723 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.1302, allocations: 8.188 kB / 474.2 MB, free: 2.715 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.1302, allocations: 0 / 474.2 MB, free: 2.715 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.1302, allocations: 3.938 kB / 474.2 MB, free: 2.711 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.846e-05/0.1303, allocations: 23.92 kB / 474.2 MB, free: 2.688 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.1303, allocations: 0 / 474.2 MB, free: 2.688 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.373e-05/0.1303, allocations: 3.938 kB / 474.2 MB, free: 2.684 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.206e-05/0.1303, allocations: 4.375 kB / 474.2 MB, free: 2.68 MB / 446.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.0001126/0.1304, allocations: 137.8 kB / 474.3 MB, free: 2.535 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.425e-05/0.1305, allocations: 15.94 kB / 474.4 MB, free: 2.52 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002692/0.1307, allocations: 123.1 kB / 474.5 MB, free: 2.398 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.1307, allocations: 0 / 474.5 MB, free: 2.398 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.1307, allocations: 4 kB / 474.5 MB, free: 2.395 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.1307, allocations: 0 / 474.5 MB, free: 2.395 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004648/0.1312, allocations: 350.9 kB / 474.8 MB, free: 2.012 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1312, allocations: 0 / 474.8 MB, free: 2.012 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.328e-05/0.1313, allocations: 8 kB / 474.8 MB, free: 2.004 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.071e-06/0.1313, allocations: 4 kB / 474.8 MB, free: 2 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.021e-05/0.1313, allocations: 12.02 kB / 474.9 MB, free: 1.988 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1313, allocations: 0 / 474.9 MB, free: 1.988 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.287e-06/0.1313, allocations: 3.938 kB / 474.9 MB, free: 1.984 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002754/0.1316, allocations: 212.2 kB / 475.1 MB, free: 1.758 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.08e-05/0.1316, allocations: 7.953 kB / 475.1 MB, free: 1.75 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.641e-05/0.1316, allocations: 8 kB / 475.1 MB, free: 1.742 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.381e-05/0.1317, allocations: 3.984 kB / 475.1 MB, free: 1.738 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.857e-05/0.1317, allocations: 15.86 kB / 475.1 MB, free: 1.723 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.742e-05/0.1318, allocations: 4 kB / 475.1 MB, free: 1.719 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001497/0.1319, allocations: 164.2 kB / 475.3 MB, free: 1.559 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1319, allocations: 4 kB / 475.3 MB, free: 1.555 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002695/0.1322, allocations: 23.94 kB / 475.3 MB, free: 1.531 MB / 446.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.002021/0.1342, allocations: 0.4913 MB / 475.8 MB, free: 1.047 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002114/0.1344, allocations: 59.92 kB / 475.8 MB, free: 0.9883 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1344, allocations: 0 / 475.8 MB, free: 0.9883 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.51e-05/0.1345, allocations: 31.92 kB / 475.9 MB, free: 0.957 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003463/0.1348, allocations: 27.97 kB / 475.9 MB, free: 0.9297 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005392/0.1354, allocations: 254.7 kB / 476.1 MB, free: 0.6523 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000109/0.1355, allocations: 92.81 kB / 476.2 MB, free: 0.5391 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.236e-05/0.1355, allocations: 16.61 kB / 476.3 MB, free: 0.5234 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.963e-05/0.1356, allocations: 16.5 kB / 476.3 MB, free: 0.5078 MB / 446.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1356, allocations: 0 / 476.3 MB, free: 0.5078 MB / 446.1 MB Notification: Performance of Templates: time 0.2113/0.3469, allocations: 1.809 MB / 478.1 MB, free: 50 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.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: 5.209405240952037]