Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.CombiTable1Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007626/0.0007626, allocations: 97.97 kB / 18.01 MB, free: 5.602 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.0008349/0.0008351, allocations: 181.9 kB / 18.91 MB, free: 4.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.414/1.414, allocations: 223.3 MB / 242.9 MB, free: 68 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2169/0.2169, allocations: 44.26 MB / 338.3 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003179/0.0003179, allocations: 8 kB / 411 MB, free: 27.31 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1174, allocations: 61.92 MB / 472.9 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test8): time 0.002016/0.1195, allocations: 1.282 MB / 474.2 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008297/0.1203, allocations: 403.4 kB / 474.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.719e-05/0.1204, allocations: 0 / 474.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001845/0.1206, allocations: 19.92 kB / 474.6 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000143/0.1207, allocations: 27.91 kB / 474.6 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003016/0.121, allocations: 98.56 kB / 474.7 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001309/0.1212, allocations: 59.78 kB / 474.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.838e-05/0.1213, allocations: 8 kB / 474.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.8e-05/0.1213, allocations: 15.92 kB / 474.8 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.522e-05/0.1214, allocations: 27.86 kB / 474.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.298e-05/0.1214, allocations: 0 / 474.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.571e-05/0.1215, allocations: 27.98 kB / 474.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.879e-05/0.1216, allocations: 15.92 kB / 474.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.948e-05/0.1216, allocations: 37.58 kB / 474.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001185/0.1218, allocations: 51.92 kB / 475 MB, free: 11.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.1218, allocations: 0 / 475 MB, free: 11.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.965e-06/0.1218, allocations: 4 kB / 475 MB, free: 11.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.1218, allocations: 3.938 kB / 475 MB, free: 11.27 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004999/0.1223, allocations: 387.5 kB / 475.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.1223, allocations: 12.03 kB / 475.4 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.456e-05/0.1224, allocations: 4.844 kB / 475.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001654/0.1225, allocations: 176.3 kB / 475.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.1226, allocations: 12.36 kB / 475.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.747e-05/0.1226, allocations: 384 / 475.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001316/0.1227, allocations: 49.81 kB / 475.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.1227, allocations: 3.906 kB / 475.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.165e-06/0.1228, allocations: 4 kB / 475.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.1228, allocations: 4 kB / 475.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.577e-05/0.1229, allocations: 27.92 kB / 475.6 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004317/0.1233, allocations: 280.9 kB / 475.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002239/0.1236, allocations: 50.56 kB / 476 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.694e-05/0.1236, allocations: 20.94 kB / 476 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.159e-05/0.1237, allocations: 4 kB / 476 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.362e-05/0.1237, allocations: 34.5 kB / 476 MB, free: 10.05 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.1237, allocations: 0 / 476 MB, free: 10.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005817/0.1243, allocations: 169.2 kB / 476.2 MB, free: 9.883 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.837e-05/0.1243, allocations: 55.41 kB / 476.2 MB, free: 9.816 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001457/0.1245, allocations: 148.5 kB / 476.4 MB, free: 9.664 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.464e-05/0.1245, allocations: 29.7 kB / 476.4 MB, free: 9.629 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.103e-05/0.1246, allocations: 96.12 kB / 476.5 MB, free: 9.531 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.288e-05/0.1246, allocations: 19.75 kB / 476.5 MB, free: 9.512 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.594e-05/0.1246, allocations: 9.719 kB / 476.5 MB, free: 9.496 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001281/0.1247, allocations: 330.7 kB / 476.9 MB, free: 9.164 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.532e-05/0.1248, allocations: 23.98 kB / 476.9 MB, free: 9.141 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.985e-05/0.1249, allocations: 27.98 kB / 476.9 MB, free: 9.113 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001545/0.1251, allocations: 56.83 kB / 477 MB, free: 9.055 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1251, allocations: 0 / 477 MB, free: 9.055 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002061/0.1253, allocations: 101.5 kB / 477.1 MB, free: 8.949 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.1253, allocations: 8 kB / 477.1 MB, free: 8.941 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.1253, allocations: 0 / 477.1 MB, free: 8.941 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.1253, allocations: 0 / 477.1 MB, free: 8.941 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.43e-05/0.1254, allocations: 15.98 kB / 477.1 MB, free: 8.926 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.1254, allocations: 0 / 477.1 MB, free: 8.926 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.117e-05/0.1255, allocations: 4.25 kB / 477.1 MB, free: 8.922 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.899e-06/0.1255, allocations: 11.94 kB / 477.1 MB, free: 8.91 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 9.124e-05/0.1256, allocations: 122.3 kB / 477.2 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.952e-05/0.1256, allocations: 8.188 kB / 477.2 MB, free: 8.773 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002512/0.1259, allocations: 105.9 kB / 477.3 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.1259, allocations: 11.98 kB / 477.4 MB, free: 8.652 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.513e-06/0.1259, allocations: 3.984 kB / 477.4 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.1259, allocations: 0 / 477.4 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004277/0.1263, allocations: 358.5 kB / 477.7 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.1264, allocations: 0 / 477.7 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.877e-05/0.1264, allocations: 19.98 kB / 477.7 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.1264, allocations: 0 / 477.7 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.1264, allocations: 0 / 477.7 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.17e-06/0.1265, allocations: 7.875 kB / 477.7 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.1265, allocations: 0 / 477.7 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002434/0.1267, allocations: 195.4 kB / 477.9 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.836e-05/0.1268, allocations: 89 kB / 478 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.437e-05/0.1268, allocations: 0 / 478 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.081e-05/0.1269, allocations: 11.94 kB / 478 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.83e-05/0.1269, allocations: 7.984 kB / 478 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-06/0.1269, allocations: 0 / 478 MB, free: 7.883 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001058/0.127, allocations: 111.3 kB / 478.1 MB, free: 7.773 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.127, allocations: 0 / 478.1 MB, free: 7.773 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002396/0.1273, allocations: 27.89 kB / 478.2 MB, free: 7.746 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0008934/0.1282, allocations: 397.8 kB / 478.6 MB, free: 7.508 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002004/0.1284, allocations: 63.89 kB / 478.6 MB, free: 7.445 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.1284, allocations: 4 kB / 478.6 MB, free: 7.441 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.859e-05/0.1285, allocations: 27.98 kB / 478.7 MB, free: 7.414 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003136/0.1288, allocations: 15.98 kB / 478.7 MB, free: 7.398 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004121/0.1292, allocations: 238.3 kB / 478.9 MB, free: 7.133 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002826/0.1295, allocations: 0.6926 MB / 479.6 MB, free: 6.414 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.488e-05/0.1296, allocations: 15.38 kB / 479.6 MB, free: 6.398 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1296, allocations: 3.938 kB / 479.6 MB, free: 6.395 MB / 350.1 MB Notification: Performance of Templates: time 0.003038/0.1326, allocations: 1.399 MB / 481 MB, free: 4.996 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches