Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001035/0.001035, allocations: 106.2 kB / 17.63 MB, free: 5.344 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.001129/0.001129, allocations: 192 kB / 18.56 MB, free: 4.434 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.325/1.325, allocations: 222.9 MB / 242.3 MB, free: 15.14 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.2332/0.2332, allocations: 44.19 MB / 336.6 MB, free: 2.734 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001111/0.001111, allocations: 60.09 kB / 408.4 MB, free: 27.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.1121, allocations: 60.83 MB / 469.3 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.003154/0.1153, allocations: 1.608 MB / 470.9 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007089/0.116, allocations: 423.1 kB / 471.3 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.988e-05/0.1161, allocations: 0 / 471.3 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005016/0.1166, allocations: 451.2 kB / 471.7 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003547/0.117, allocations: 255.5 kB / 472 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003639/0.1174, allocations: 127.6 kB / 472.1 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002472/0.1176, allocations: 159.6 kB / 472.2 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001178/0.1177, allocations: 20.17 kB / 472.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000115/0.1179, allocations: 103.8 kB / 472.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002158/0.1181, allocations: 211.6 kB / 472.6 MB, free: 11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.07e-05/0.1181, allocations: 0 / 472.6 MB, free: 11 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.904e-05/0.1182, allocations: 31.98 kB / 472.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001012/0.1183, allocations: 87.62 kB / 472.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.687e-05/0.1184, allocations: 103 kB / 472.8 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002737/0.1187, allocations: 243 kB / 473 MB, free: 10.54 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.1187, allocations: 4 kB / 473 MB, free: 10.54 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1187, allocations: 0 / 473 MB, free: 10.54 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.164e-06/0.1187, allocations: 0 / 473 MB, free: 10.54 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.0006783/0.1194, allocations: 0.6261 MB / 473.7 MB, free: 9.859 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.1194, allocations: 12.03 kB / 473.7 MB, free: 9.848 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.386e-05/0.1195, allocations: 40.38 kB / 473.7 MB, free: 9.809 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002642/0.1198, allocations: 300.2 kB / 474 MB, free: 9.473 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.1198, allocations: 4.375 kB / 474 MB, free: 9.469 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.064e-05/0.1198, allocations: 384 / 474 MB, free: 9.469 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001477/0.12, allocations: 61.55 kB / 474.1 MB, free: 9.402 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.12, allocations: 0 / 474.1 MB, free: 9.402 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.12, allocations: 0 / 474.1 MB, free: 9.402 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.12, allocations: 4 kB / 474.1 MB, free: 9.398 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.456e-05/0.1201, allocations: 19.98 kB / 474.1 MB, free: 9.379 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004423/0.1206, allocations: 388.6 kB / 474.5 MB, free: 8.949 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001992/0.1208, allocations: 46.5 kB / 474.5 MB, free: 8.895 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.774e-05/0.1208, allocations: 16.94 kB / 474.5 MB, free: 8.875 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.424e-05/0.1209, allocations: 7.984 kB / 474.5 MB, free: 8.867 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.128e-05/0.1209, allocations: 34.56 kB / 474.6 MB, free: 8.824 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.1209, allocations: 0 / 474.6 MB, free: 8.824 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005984/0.1215, allocations: 223.9 kB / 474.8 MB, free: 8.598 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.629e-05/0.1216, allocations: 51.41 kB / 474.8 MB, free: 8.535 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008156/0.1224, allocations: 0.8613 MB / 475.7 MB, free: 7.664 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.534e-05/0.1224, allocations: 25.7 kB / 475.7 MB, free: 7.633 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001498/0.1226, allocations: 220.1 kB / 475.9 MB, free: 7.414 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.2e-05/0.1226, allocations: 15.72 kB / 476 MB, free: 7.398 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.507e-05/0.1226, allocations: 21.7 kB / 476 MB, free: 7.371 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.1228, allocations: 358.8 kB / 476.3 MB, free: 7.012 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.604e-05/0.1229, allocations: 19.98 kB / 476.3 MB, free: 6.992 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.507e-05/0.1229, allocations: 15.98 kB / 476.4 MB, free: 6.977 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001245/0.123, allocations: 56.95 kB / 476.4 MB, free: 6.918 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.1231, allocations: 0 / 476.4 MB, free: 6.918 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000185/0.1232, allocations: 109.2 kB / 476.5 MB, free: 6.805 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.1233, allocations: 4 kB / 476.5 MB, free: 6.801 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.1233, allocations: 0 / 476.5 MB, free: 6.801 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.1233, allocations: 4 kB / 476.5 MB, free: 6.797 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.766e-05/0.1234, allocations: 15.98 kB / 476.5 MB, free: 6.781 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.1234, allocations: 0 / 476.5 MB, free: 6.781 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.94e-05/0.1234, allocations: 7.938 kB / 476.6 MB, free: 6.773 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.1234, allocations: 11.92 kB / 476.6 MB, free: 6.762 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.0001717/0.1236, allocations: 209.7 kB / 476.8 MB, free: 6.547 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.11e-05/0.1237, allocations: 47.38 kB / 476.8 MB, free: 6.5 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002605/0.1239, allocations: 133 kB / 476.9 MB, free: 6.359 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.124, allocations: 0 / 476.9 MB, free: 6.359 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.124, allocations: 4 kB / 477 MB, free: 6.355 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.124, allocations: 3.938 kB / 477 MB, free: 6.352 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004492/0.1244, allocations: 454.4 kB / 477.4 MB, free: 5.852 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.1244, allocations: 0 / 477.4 MB, free: 5.852 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.874e-05/0.1245, allocations: 12 kB / 477.4 MB, free: 5.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.522e-06/0.1245, allocations: 0 / 477.4 MB, free: 5.84 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.1245, allocations: 3.938 kB / 477.4 MB, free: 5.836 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.1245, allocations: 0 / 477.4 MB, free: 5.836 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.1245, allocations: 3.984 kB / 477.4 MB, free: 5.832 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002173/0.1248, allocations: 211.2 kB / 477.6 MB, free: 5.609 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.419e-05/0.1248, allocations: 104.6 kB / 477.7 MB, free: 5.488 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.852e-05/0.1249, allocations: 16 kB / 477.7 MB, free: 5.473 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.378e-05/0.1249, allocations: 7.922 kB / 477.8 MB, free: 5.465 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.435e-05/0.125, allocations: 4 kB / 477.8 MB, free: 5.461 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.686e-06/0.125, allocations: 0 / 477.8 MB, free: 5.461 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005273/0.1255, allocations: 0.6511 MB / 478.4 MB, free: 4.812 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1256, allocations: 0 / 478.4 MB, free: 4.812 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002387/0.1258, allocations: 27.98 kB / 478.4 MB, free: 4.785 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.0008882/0.1267, allocations: 410.8 kB / 478.8 MB, free: 4.535 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001896/0.1269, allocations: 43.97 kB / 478.9 MB, free: 4.492 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.1269, allocations: 0 / 478.9 MB, free: 4.492 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.89e-05/0.127, allocations: 31.92 kB / 478.9 MB, free: 4.461 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003796/0.1274, allocations: 28.83 kB / 478.9 MB, free: 4.441 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009396/0.1283, allocations: 0.7912 MB / 479.7 MB, free: 3.625 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003683/0.1287, allocations: 0.8182 MB / 480.5 MB, free: 2.781 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.547e-05/0.1287, allocations: 19.97 kB / 480.6 MB, free: 2.762 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.745e-05/0.1288, allocations: 11.44 kB / 480.6 MB, free: 2.75 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1288, allocations: 0 / 480.6 MB, free: 2.75 MB / 350.1 MB Notification: Performance of Templates: time 0.004568/0.1334, allocations: 1.437 MB / 482 MB, free: 1.316 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches