Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.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.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001369/0.001369, allocations: 105.4 kB / 18.4 MB, free: 4.699 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.001584/0.001584, allocations: 188 kB / 19.34 MB, free: 3.77 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.341/1.341, allocations: 222.9 MB / 243 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2089/0.2089, allocations: 44.19 MB / 337.4 MB, free: 2.707 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 74.11 kB / 409.9 MB, free: 26.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.102, allocations: 60.82 MB / 470.7 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.00283/0.1048, allocations: 1.61 MB / 472.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007514/0.1056, allocations: 455.1 kB / 472.8 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.81e-05/0.1057, allocations: 4 kB / 472.8 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005276/0.1062, allocations: 455.1 kB / 473.2 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003344/0.1066, allocations: 247.4 kB / 473.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003968/0.107, allocations: 174.7 kB / 473.6 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002212/0.1072, allocations: 167.6 kB / 473.8 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001307/0.1073, allocations: 20.17 kB / 473.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001125/0.1075, allocations: 107.8 kB / 473.9 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002188/0.1077, allocations: 203.6 kB / 474.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.939e-05/0.1077, allocations: 4 kB / 474.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.081e-05/0.1078, allocations: 35.92 kB / 474.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.907e-05/0.1079, allocations: 87.69 kB / 474.2 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.845e-05/0.108, allocations: 103 kB / 474.3 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002735/0.1083, allocations: 255 kB / 474.6 MB, free: 9.793 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1083, allocations: 0 / 474.6 MB, free: 9.793 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.1083, allocations: 0 / 474.6 MB, free: 9.793 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.71e-06/0.1083, allocations: 0 / 474.6 MB, free: 9.793 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007062/0.109, allocations: 0.6259 MB / 475.2 MB, free: 9.117 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.1091, allocations: 12.03 kB / 475.2 MB, free: 9.105 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.161e-05/0.1091, allocations: 40.38 kB / 475.3 MB, free: 9.066 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003093/0.1094, allocations: 308.1 kB / 475.6 MB, free: 8.723 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.656e-06/0.1095, allocations: 384 / 475.6 MB, free: 8.723 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.955e-05/0.1095, allocations: 384 / 475.6 MB, free: 8.723 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001398/0.1096, allocations: 61.61 kB / 475.6 MB, free: 8.656 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.1097, allocations: 0 / 475.6 MB, free: 8.656 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.1097, allocations: 3.984 kB / 475.6 MB, free: 8.652 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.1097, allocations: 4 kB / 475.6 MB, free: 8.648 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.685e-05/0.1098, allocations: 35.97 kB / 475.7 MB, free: 8.613 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004684/0.1103, allocations: 392.7 kB / 476 MB, free: 8.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001908/0.1105, allocations: 42.66 kB / 476.1 MB, free: 8.129 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.028e-05/0.1105, allocations: 20.84 kB / 476.1 MB, free: 8.105 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.927e-05/0.1105, allocations: 3.938 kB / 476.1 MB, free: 8.102 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.806e-05/0.1106, allocations: 30.56 kB / 476.1 MB, free: 8.062 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.1106, allocations: 4 kB / 476.1 MB, free: 8.059 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005627/0.1111, allocations: 235.9 kB / 476.4 MB, free: 7.82 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.059e-05/0.1112, allocations: 51.41 kB / 476.4 MB, free: 7.758 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007555/0.112, allocations: 0.8651 MB / 477.3 MB, free: 6.883 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.708e-05/0.112, allocations: 29.7 kB / 477.3 MB, free: 6.848 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001602/0.1122, allocations: 224 kB / 477.5 MB, free: 6.625 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.968e-05/0.1122, allocations: 11.81 kB / 477.5 MB, free: 6.613 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.743e-05/0.1122, allocations: 21.7 kB / 477.6 MB, free: 6.586 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.1124, allocations: 358.8 kB / 477.9 MB, free: 6.227 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.227e-05/0.1124, allocations: 19.98 kB / 477.9 MB, free: 6.207 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.96e-05/0.1125, allocations: 27.97 kB / 478 MB, free: 6.18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000127/0.1127, allocations: 48.83 kB / 478 MB, free: 6.129 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.1127, allocations: 7.938 kB / 478 MB, free: 6.121 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001998/0.1129, allocations: 121.1 kB / 478.1 MB, free: 5.996 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.1129, allocations: 4 kB / 478.1 MB, free: 5.992 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.1129, allocations: 0 / 478.1 MB, free: 5.992 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.1129, allocations: 0 / 478.1 MB, free: 5.992 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.56e-05/0.113, allocations: 19.92 kB / 478.2 MB, free: 5.973 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.113, allocations: 0 / 478.2 MB, free: 5.973 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.305e-05/0.1131, allocations: 7.922 kB / 478.2 MB, free: 5.965 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-06/0.1131, allocations: 4 kB / 478.2 MB, free: 5.961 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 0.0001665/0.1132, allocations: 213.8 kB / 478.4 MB, free: 5.742 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.146e-05/0.1133, allocations: 39.53 kB / 478.4 MB, free: 5.703 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002646/0.1136, allocations: 137 kB / 478.6 MB, free: 5.559 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.1136, allocations: 320 / 478.6 MB, free: 5.559 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.1136, allocations: 0 / 478.6 MB, free: 5.559 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.1136, allocations: 3.938 kB / 478.6 MB, free: 5.555 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005142/0.1142, allocations: 478.2 kB / 479 MB, free: 5.031 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1142, allocations: 0 / 479 MB, free: 5.031 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.057e-05/0.1142, allocations: 15.98 kB / 479 MB, free: 5.016 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.1142, allocations: 0 / 479 MB, free: 5.016 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.1143, allocations: 7.938 kB / 479.1 MB, free: 5.008 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.1143, allocations: 0 / 479.1 MB, free: 5.008 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1143, allocations: 3.938 kB / 479.1 MB, free: 5.004 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002368/0.1145, allocations: 219 kB / 479.3 MB, free: 4.773 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.738e-05/0.1146, allocations: 108.5 kB / 479.4 MB, free: 4.648 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.599e-05/0.1146, allocations: 7.938 kB / 479.4 MB, free: 4.641 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.162e-05/0.1147, allocations: 4 kB / 479.4 MB, free: 4.637 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.122e-05/0.1148, allocations: 7.984 kB / 479.4 MB, free: 4.629 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/0.1148, allocations: 0 / 479.4 MB, free: 4.629 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005587/0.1153, allocations: 0.6472 MB / 480 MB, free: 3.984 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1153, allocations: 0 / 480 MB, free: 3.984 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002553/0.1156, allocations: 28 kB / 480.1 MB, free: 3.957 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.0008656/0.1165, allocations: 412.6 kB / 480.5 MB, free: 3.703 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001979/0.1167, allocations: 55.89 kB / 480.5 MB, free: 3.648 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.1167, allocations: 0 / 480.5 MB, free: 3.648 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.796e-05/0.1168, allocations: 27.98 kB / 480.6 MB, free: 3.621 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003723/0.1172, allocations: 32.77 kB / 480.6 MB, free: 3.594 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009609/0.1181, allocations: 0.7872 MB / 481.4 MB, free: 2.781 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004162/0.1186, allocations: 0.826 MB / 482.2 MB, free: 1.93 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.576e-05/0.1186, allocations: 15.97 kB / 482.2 MB, free: 1.914 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.82e-05/0.1187, allocations: 15.38 kB / 482.2 MB, free: 1.898 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1187, allocations: 0 / 482.2 MB, free: 1.898 MB / 350.1 MB Notification: Performance of Templates: time 0.004746/0.1234, allocations: 1.478 MB / 483.7 MB, free: 444 kB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches