Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.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.Test24,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.Test24") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test24,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.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 105.4 kB / 18.4 MB, free: 4.57 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.00094/0.0009399, allocations: 188 kB / 19.34 MB, free: 3.641 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.373/1.373, allocations: 222.9 MB / 243 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.2077/0.2077, allocations: 44.18 MB / 337.4 MB, free: 2.727 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00107/0.00107, allocations: 63.11 kB / 409.9 MB, free: 26.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.106, allocations: 60.83 MB / 470.7 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test24): time 0.002322/0.1083, allocations: 1.566 MB / 472.3 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001212/0.1096, allocations: 1.02 MB / 473.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.188e-05/0.1096, allocations: 4 kB / 473.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.821e-05/0.1097, allocations: 23.84 kB / 473.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001226/0.1098, allocations: 47.77 kB / 473.4 MB, free: 11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002249/0.1101, allocations: 107 kB / 473.5 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.052e-05/0.1102, allocations: 55.91 kB / 473.5 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.569e-05/0.1102, allocations: 15.98 kB / 473.5 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.625e-05/0.1103, allocations: 23.86 kB / 473.6 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.784e-05/0.1104, allocations: 23.91 kB / 473.6 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.116e-05/0.1104, allocations: 4 kB / 473.6 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.441e-05/0.1105, allocations: 47.98 kB / 473.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.046e-05/0.1105, allocations: 19.86 kB / 473.7 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.286e-05/0.1105, allocations: 19.86 kB / 473.7 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001245/0.1107, allocations: 95.77 kB / 473.8 MB, free: 10.6 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.1107, allocations: 4 kB / 473.8 MB, free: 10.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.71e-07/0.1107, allocations: 0 / 473.8 MB, free: 10.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.745e-06/0.1107, allocations: 0 / 473.8 MB, free: 10.59 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.0002934/0.111, allocations: 379.2 kB / 474.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.048e-05/0.111, allocations: 8.031 kB / 474.2 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.429e-05/0.111, allocations: 8.844 kB / 474.2 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001332/0.1112, allocations: 184.2 kB / 474.3 MB, free: 9.941 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.334e-06/0.1112, allocations: 4.312 kB / 474.3 MB, free: 9.938 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.202e-05/0.1112, allocations: 8.375 kB / 474.4 MB, free: 9.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001069/0.1113, allocations: 67.52 kB / 474.4 MB, free: 9.852 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.16e-06/0.1113, allocations: 0 / 474.4 MB, free: 9.852 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.264e-06/0.1113, allocations: 3.984 kB / 474.4 MB, free: 9.848 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.963e-06/0.1113, allocations: 0 / 474.4 MB, free: 9.848 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.052e-05/0.1114, allocations: 23.98 kB / 474.4 MB, free: 9.824 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002585/0.1117, allocations: 284.8 kB / 474.7 MB, free: 9.496 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001457/0.1118, allocations: 46.56 kB / 474.8 MB, free: 9.441 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.068e-05/0.1119, allocations: 12.94 kB / 474.8 MB, free: 9.426 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.445e-05/0.1119, allocations: 4 kB / 474.8 MB, free: 9.422 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.813e-05/0.1119, allocations: 30.56 kB / 474.8 MB, free: 9.383 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 2.314e-06/0.1119, allocations: 4 kB / 474.8 MB, free: 9.379 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003935/0.1123, allocations: 145.3 kB / 475 MB, free: 9.23 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.588e-05/0.1124, allocations: 81.11 kB / 475 MB, free: 9.133 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.651e-05/0.1125, allocations: 133.8 kB / 475.2 MB, free: 8.992 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.324e-05/0.1125, allocations: 25.7 kB / 475.2 MB, free: 8.961 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.366e-05/0.1126, allocations: 96.14 kB / 475.3 MB, free: 8.863 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.418e-05/0.1126, allocations: 15.75 kB / 475.3 MB, free: 8.848 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.128e-05/0.1126, allocations: 25.7 kB / 475.3 MB, free: 8.816 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.909e-05/0.1127, allocations: 322.7 kB / 475.6 MB, free: 8.492 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.173e-05/0.1128, allocations: 19.98 kB / 475.7 MB, free: 8.473 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.269e-05/0.1129, allocations: 41.62 kB / 475.7 MB, free: 8.426 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001325/0.113, allocations: 48.86 kB / 475.8 MB, free: 8.375 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.113, allocations: 11.94 kB / 475.8 MB, free: 8.363 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001583/0.1132, allocations: 81.58 kB / 475.8 MB, free: 8.277 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.067e-06/0.1132, allocations: 7.984 kB / 475.9 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.235e-06/0.1132, allocations: 256 / 475.9 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.402e-06/0.1132, allocations: 0 / 475.9 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.326e-05/0.1133, allocations: 16 kB / 475.9 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.1133, allocations: 3.938 kB / 475.9 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.718e-05/0.1133, allocations: 7.984 kB / 475.9 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.589e-06/0.1133, allocations: 4 kB / 475.9 MB, free: 8.238 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 6.859e-05/0.1134, allocations: 117.8 kB / 476 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.023e-05/0.1135, allocations: 7.906 kB / 476 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001915/0.1136, allocations: 93.61 kB / 476.1 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.1137, allocations: 4 kB / 476.1 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.704e-06/0.1137, allocations: 0 / 476.1 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.633e-06/0.1137, allocations: 0 / 476.1 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003668/0.114, allocations: 362.4 kB / 476.5 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.1141, allocations: 0 / 476.5 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.649e-05/0.1141, allocations: 11.98 kB / 476.5 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.1141, allocations: 0 / 476.5 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.961e-06/0.1141, allocations: 4 kB / 476.5 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.1141, allocations: 7.938 kB / 476.5 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.1141, allocations: 0 / 476.5 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001904/0.1143, allocations: 183.4 kB / 476.7 MB, free: 7.375 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.427e-05/0.1144, allocations: 81.11 kB / 476.7 MB, free: 7.277 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.251e-05/0.1144, allocations: 0 / 476.7 MB, free: 7.277 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.487e-05/0.1145, allocations: 7.938 kB / 476.7 MB, free: 7.27 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.943e-05/0.1145, allocations: 7.984 kB / 476.8 MB, free: 7.262 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.272e-06/0.1145, allocations: 4 kB / 476.8 MB, free: 7.258 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.337e-05/0.1146, allocations: 102 kB / 476.9 MB, free: 7.16 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1146, allocations: 4 kB / 476.9 MB, free: 7.156 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002291/0.1148, allocations: 27.89 kB / 476.9 MB, free: 7.129 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.0008606/0.1157, allocations: 447.9 kB / 477.3 MB, free: 6.855 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001736/0.1159, allocations: 51.97 kB / 477.4 MB, free: 6.805 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.419e-06/0.1159, allocations: 0 / 477.4 MB, free: 6.805 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.101e-05/0.1159, allocations: 36.05 kB / 477.4 MB, free: 6.77 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002688/0.1162, allocations: 15.92 kB / 477.4 MB, free: 6.754 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002958/0.1165, allocations: 165.4 kB / 477.6 MB, free: 6.566 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002174/0.1168, allocations: 0.6924 MB / 478.3 MB, free: 5.848 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.441e-05/0.1168, allocations: 15.97 kB / 478.3 MB, free: 5.832 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.874e-05/0.1169, allocations: 11.44 kB / 478.3 MB, free: 5.82 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1169, allocations: 0 / 478.3 MB, free: 5.82 MB / 350.1 MB Notification: Performance of Templates: time 0.4225/0.5393, allocations: 1.367 MB / 479.7 MB, free: 4.465 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches