Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59") translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 111.6 kB / 17.04 MB, free: 5.812 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001158/0.001158, allocations: 195 kB / 17.98 MB, free: 5.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.414/1.414, allocations: 205.1 MB / 223.8 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2148/0.2148, allocations: 43.52 MB / 314.7 MB, free: 480 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001464/0.001464, allocations: 69.53 kB / 384.2 MB, free: 56.4 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.1229, allocations: 57.79 MB / 442 MB, free: 6.141 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.00306/0.126, allocations: 1.688 MB / 443.7 MB, free: 4.441 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001611/0.1277, allocations: 1.399 MB / 445.1 MB, free: 3.031 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.39e-05/0.1278, allocations: 7.938 kB / 445.1 MB, free: 3.023 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002774/0.1281, allocations: 43.7 kB / 445.1 MB, free: 2.98 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002031/0.1283, allocations: 59.7 kB / 445.2 MB, free: 2.922 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002094/0.1285, allocations: 91.75 kB / 445.3 MB, free: 2.832 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001474/0.1287, allocations: 91.75 kB / 445.4 MB, free: 2.742 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.962e-05/0.1288, allocations: 16.2 kB / 445.4 MB, free: 2.727 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.273e-05/0.1288, allocations: 43.78 kB / 445.4 MB, free: 2.684 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001409/0.129, allocations: 31.84 kB / 445.4 MB, free: 2.652 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.747e-05/0.129, allocations: 7.938 kB / 445.5 MB, free: 2.645 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001025/0.1291, allocations: 63.97 kB / 445.5 MB, free: 2.582 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.651e-05/0.1292, allocations: 19.92 kB / 445.5 MB, free: 2.562 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.436e-05/0.1292, allocations: 31.8 kB / 445.6 MB, free: 2.531 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001786/0.1294, allocations: 119.6 kB / 445.7 MB, free: 2.414 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.1294, allocations: 0 / 445.7 MB, free: 2.414 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1294, allocations: 0 / 445.7 MB, free: 2.414 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.215e-05/0.1295, allocations: 0 / 445.7 MB, free: 2.414 MB / 318.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.0004664/0.1299, allocations: 403 kB / 446.1 MB, free: 1.973 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.214e-05/0.13, allocations: 15.89 kB / 446.1 MB, free: 1.957 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.352e-05/0.13, allocations: 12.84 kB / 446.1 MB, free: 1.945 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002294/0.1302, allocations: 205.3 kB / 446.3 MB, free: 1.707 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/0.1303, allocations: 384 / 446.3 MB, free: 1.707 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.313e-05/0.1303, allocations: 8.125 kB / 446.3 MB, free: 1.699 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00016/0.1305, allocations: 71.39 kB / 446.4 MB, free: 1.617 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.1305, allocations: 3.906 kB / 446.4 MB, free: 1.613 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.1305, allocations: 3.984 kB / 446.4 MB, free: 1.609 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.1305, allocations: 0 / 446.4 MB, free: 1.609 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.165e-05/0.1306, allocations: 23.98 kB / 446.4 MB, free: 1.586 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003006/0.1309, allocations: 288.8 kB / 446.7 MB, free: 1.254 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001477/0.1311, allocations: 50.67 kB / 446.7 MB, free: 1.195 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.752e-05/0.1311, allocations: 28.84 kB / 446.8 MB, free: 1.164 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.737e-05/0.1311, allocations: 4 kB / 446.8 MB, free: 1.16 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001281/0.1313, allocations: 67.33 kB / 446.8 MB, free: 1.082 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.483e-06/0.1313, allocations: 0 / 446.8 MB, free: 1.082 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005008/0.1318, allocations: 161.7 kB / 447 MB, free: 0.918 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.824e-05/0.1318, allocations: 85.05 kB / 447.1 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001212/0.132, allocations: 148.9 kB / 447.2 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.515e-05/0.132, allocations: 33.7 kB / 447.3 MB, free: 0.625 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.773e-05/0.132, allocations: 100.1 kB / 447.4 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.454e-05/0.1321, allocations: 23.64 kB / 447.4 MB, free: 0.5 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.395e-05/0.1321, allocations: 21.72 kB / 447.4 MB, free: 484 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.976e-05/0.1322, allocations: 330.8 kB / 447.7 MB, free: 144 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.286e-05/0.1322, allocations: 24.06 kB / 447.8 MB, free: 120 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.437e-05/0.1323, allocations: 46.48 kB / 447.8 MB, free: 64 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001211/0.1324, allocations: 73.81 kB / 447.9 MB, free: 15.98 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1324, allocations: 0 / 447.9 MB, free: 15.98 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001851/0.1326, allocations: 93.58 kB / 448 MB, free: 15.88 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.1326, allocations: 5.25 kB / 448 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.1326, allocations: 4 kB / 448 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.1327, allocations: 0 / 448 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.816e-05/0.1328, allocations: 15.94 kB / 448 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.1328, allocations: 0 / 448 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.306e-05/0.1328, allocations: 23.86 kB / 448 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.112e-05/0.1328, allocations: 4 kB / 448 MB, free: 15.83 MB / 334.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 9e-05/0.1329, allocations: 121.7 kB / 448.1 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.152e-05/0.133, allocations: 7.906 kB / 448.1 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.545e-05/0.133, allocations: 16.7 kB / 448.2 MB, free: 15.67 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.133, allocations: 4 kB / 448.2 MB, free: 15.67 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.133, allocations: 0 / 448.2 MB, free: 15.67 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/0.1331, allocations: 7.922 kB / 448.2 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004003/0.1335, allocations: 391.2 kB / 448.6 MB, free: 15.22 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.1335, allocations: 0 / 448.6 MB, free: 15.22 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.34e-05/0.1335, allocations: 11.98 kB / 448.6 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.1335, allocations: 0 / 448.6 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/0.1335, allocations: 3.938 kB / 448.6 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.1335, allocations: 4 kB / 448.6 MB, free: 15.2 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1335, allocations: 3.938 kB / 448.6 MB, free: 15.2 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002153/0.1338, allocations: 200.3 kB / 448.8 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.655e-05/0.1338, allocations: 81.02 kB / 448.8 MB, free: 14.89 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.566e-05/0.1339, allocations: 7.938 kB / 448.9 MB, free: 14.88 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.334e-05/0.1339, allocations: 7.984 kB / 448.9 MB, free: 14.87 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.068e-05/0.134, allocations: 4 kB / 448.9 MB, free: 14.87 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.57e-05/0.134, allocations: 4 kB / 448.9 MB, free: 14.86 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.354e-05/0.1341, allocations: 115.2 kB / 449 MB, free: 14.75 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1341, allocations: 0 / 449 MB, free: 14.75 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002683/0.1344, allocations: 39.98 kB / 449 MB, free: 14.71 MB / 334.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 (8): * Single equations (assignments): 6 * 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.001142/0.1355, allocations: 0.5038 MB / 449.5 MB, free: 14.3 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002034/0.1357, allocations: 51.97 kB / 449.6 MB, free: 14.25 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.1357, allocations: 4 kB / 449.6 MB, free: 14.24 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.215e-05/0.1358, allocations: 31.92 kB / 449.6 MB, free: 14.21 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003216/0.1361, allocations: 27.58 kB / 449.6 MB, free: 14.19 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003816/0.1365, allocations: 199 kB / 449.8 MB, free: 13.96 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002429/0.1368, allocations: 0.6963 MB / 450.5 MB, free: 13.24 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.405e-05/0.1369, allocations: 16.81 kB / 450.5 MB, free: 13.22 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.204e-05/0.1369, allocations: 27.36 kB / 450.6 MB, free: 13.2 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1369, allocations: 0 / 450.6 MB, free: 13.2 MB / 334.1 MB Notification: Performance of Templates: time 0.005335/0.1423, allocations: 1.946 MB / 452.5 MB, free: 11.26 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches