Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 110.1 kB / 18.3 MB, free: 4.84 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.001106/0.001107, allocations: 199.3 kB / 19.23 MB, free: 3.914 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.391/1.391, allocations: 222.9 MB / 242.9 MB, free: 15.16 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.2152/0.2152, allocations: 44.18 MB / 337.3 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 64.2 kB / 409.1 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1094, allocations: 60.82 MB / 469.9 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.003012/0.1124, allocations: 1.561 MB / 471.5 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007824/0.1132, allocations: 439.1 kB / 471.9 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.898e-05/0.1133, allocations: 3.938 kB / 471.9 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000537/0.1139, allocations: 447.2 kB / 472.4 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003705/0.1143, allocations: 251.4 kB / 472.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004411/0.1147, allocations: 175.3 kB / 472.8 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002285/0.115, allocations: 147.8 kB / 472.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.1151, allocations: 19.95 kB / 472.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001239/0.1152, allocations: 107.7 kB / 473 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002148/0.1154, allocations: 207.6 kB / 473.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.49e-05/0.1155, allocations: 4 kB / 473.3 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.03e-05/0.1155, allocations: 19.98 kB / 473.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001007/0.1157, allocations: 83.69 kB / 473.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.763e-05/0.1157, allocations: 99 kB / 473.4 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000255/0.116, allocations: 235 kB / 473.7 MB, free: 10.6 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.116, allocations: 4 kB / 473.7 MB, free: 10.6 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.116, allocations: 0 / 473.7 MB, free: 10.6 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.116, allocations: 0 / 473.7 MB, free: 10.6 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.0006856/0.1167, allocations: 0.6261 MB / 474.3 MB, free: 9.922 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.1168, allocations: 19.95 kB / 474.3 MB, free: 9.902 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.924e-05/0.1168, allocations: 44.31 kB / 474.4 MB, free: 9.859 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002745/0.1171, allocations: 284.3 kB / 474.6 MB, free: 9.539 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.937e-06/0.1171, allocations: 8.359 kB / 474.7 MB, free: 9.531 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.222e-05/0.1172, allocations: 384 / 474.7 MB, free: 9.531 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001398/0.1173, allocations: 57.81 kB / 474.7 MB, free: 9.469 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.253e-06/0.1173, allocations: 0 / 474.7 MB, free: 9.469 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.956e-06/0.1173, allocations: 0 / 474.7 MB, free: 9.469 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.1174, allocations: 0 / 474.7 MB, free: 9.469 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.166e-05/0.1174, allocations: 23.98 kB / 474.7 MB, free: 9.445 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004639/0.1179, allocations: 384.7 kB / 475.1 MB, free: 9.02 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.363e-05/0.118, allocations: 34.56 kB / 475.1 MB, free: 8.977 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.415e-05/0.1181, allocations: 20.91 kB / 475.2 MB, free: 8.953 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.756e-05/0.1181, allocations: 0 / 475.2 MB, free: 8.953 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.981e-05/0.1181, allocations: 30.56 kB / 475.2 MB, free: 8.914 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.1181, allocations: 0 / 475.2 MB, free: 8.914 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002743/0.1184, allocations: 109 kB / 475.3 MB, free: 8.801 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.033e-05/0.1185, allocations: 55.53 kB / 475.4 MB, free: 8.734 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007806/0.1192, allocations: 0.8574 MB / 476.2 MB, free: 7.867 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/0.1193, allocations: 29.64 kB / 476.2 MB, free: 7.832 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000159/0.1194, allocations: 216.1 kB / 476.5 MB, free: 7.617 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.722e-05/0.1195, allocations: 7.906 kB / 476.5 MB, free: 7.609 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.18e-05/0.1195, allocations: 13.72 kB / 476.5 MB, free: 7.59 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000133/0.1196, allocations: 366.7 kB / 476.8 MB, free: 7.223 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.542e-05/0.1197, allocations: 8 kB / 476.8 MB, free: 7.215 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.7e-05/0.1197, allocations: 15.98 kB / 476.9 MB, free: 7.199 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.369e-05/0.1198, allocations: 24.84 kB / 476.9 MB, free: 7.172 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.1198, allocations: 3.938 kB / 476.9 MB, free: 7.168 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001521/0.12, allocations: 85.22 kB / 477 MB, free: 7.078 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.12, allocations: 8 kB / 477 MB, free: 7.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.12, allocations: 0 / 477 MB, free: 7.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.1201, allocations: 96 / 477 MB, free: 7.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.768e-05/0.1201, allocations: 11.98 kB / 477 MB, free: 7.059 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.1201, allocations: 0 / 477 MB, free: 7.059 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.886e-05/0.1202, allocations: 8 kB / 477 MB, free: 7.051 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.1202, allocations: 0 / 477 MB, free: 7.051 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 (2): * Single equations (assignments): 2 * 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.0001837/0.1204, allocations: 213.7 kB / 477.2 MB, free: 6.832 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.227e-05/0.1205, allocations: 39.44 kB / 477.2 MB, free: 6.793 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002052/0.1207, allocations: 112.5 kB / 477.4 MB, free: 6.672 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.1207, allocations: 4.031 kB / 477.4 MB, free: 6.668 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.1207, allocations: 4 kB / 477.4 MB, free: 6.664 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.1207, allocations: 4 kB / 477.4 MB, free: 6.66 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002626/0.121, allocations: 285.5 kB / 477.6 MB, free: 6.332 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-06/0.121, allocations: 3.938 kB / 477.6 MB, free: 6.328 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.869e-05/0.121, allocations: 7.984 kB / 477.7 MB, free: 6.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.121, allocations: 0 / 477.7 MB, free: 6.32 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.703e-06/0.121, allocations: 0 / 477.7 MB, free: 6.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.1211, allocations: 4 kB / 477.7 MB, free: 6.316 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.1211, allocations: 0 / 477.7 MB, free: 6.316 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001881/0.1213, allocations: 194.9 kB / 477.9 MB, free: 6.109 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.736e-05/0.1213, allocations: 112.6 kB / 478 MB, free: 5.98 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.565e-05/0.1214, allocations: 4 kB / 478 MB, free: 5.977 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.138e-05/0.1214, allocations: 0 / 478 MB, free: 5.977 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.071e-05/0.1215, allocations: 0 / 478 MB, free: 5.977 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-06/0.1215, allocations: 4 kB / 478 MB, free: 5.973 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005862/0.1221, allocations: 0.6589 MB / 478.6 MB, free: 5.316 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1221, allocations: 0 / 478.6 MB, free: 5.316 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002607/0.1224, allocations: 16 kB / 478.6 MB, free: 5.301 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 (2): * Single equations (assignments): 2 * 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.000792/0.1232, allocations: 358.1 kB / 479 MB, free: 5.074 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001508/0.1233, allocations: 23.97 kB / 479 MB, free: 5.051 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1233, allocations: 0 / 479 MB, free: 5.051 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.521e-05/0.1234, allocations: 11.94 kB / 479 MB, free: 5.039 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003947/0.1238, allocations: 25.95 kB / 479.1 MB, free: 5.016 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001054/0.1249, allocations: 0.808 MB / 479.9 MB, free: 4.18 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003784/0.1252, allocations: 0.822 MB / 480.7 MB, free: 3.332 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.105e-05/0.1253, allocations: 11.44 kB / 480.7 MB, free: 3.32 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1253, allocations: 0 / 480.7 MB, free: 3.32 MB / 350.1 MB Notification: Performance of Templates: time 0.006888/0.1322, allocations: 3.464 MB / 484.2 MB, free: 15.86 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches