Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.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.CombiTable1Ds.Test33,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.CombiTable1Ds.Test33") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test33,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.CombiTable1Ds.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001003/0.001004, allocations: 94.7 kB / 18.01 MB, free: 5.738 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.001231/0.001231, allocations: 176.1 kB / 18.91 MB, free: 4.871 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.462/1.462, allocations: 223.3 MB / 243 MB, free: 100 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.1908/0.1908, allocations: 44.25 MB / 338.3 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003257/0.0003259, allocations: 12 kB / 411 MB, free: 27.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1081, allocations: 61.92 MB / 472.9 MB, free: 13.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test33): time 0.001852/0.11, allocations: 1.278 MB / 474.2 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001423/0.1115, allocations: 0.9843 MB / 475.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.768e-05/0.1115, allocations: 0 / 475.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002083/0.1118, allocations: 23.91 kB / 475.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001636/0.1119, allocations: 31.91 kB / 475.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002522/0.1122, allocations: 75.8 kB / 475.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001661/0.1124, allocations: 59.77 kB / 475.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.299e-05/0.1125, allocations: 12 kB / 475.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.829e-05/0.1125, allocations: 15.92 kB / 475.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001493/0.1127, allocations: 27.84 kB / 475.4 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.1127, allocations: 4 kB / 475.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001119/0.1128, allocations: 47.92 kB / 475.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.669e-05/0.1129, allocations: 11.92 kB / 475.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.467e-05/0.1129, allocations: 45.56 kB / 475.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001371/0.1131, allocations: 59.91 kB / 475.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1131, allocations: 0 / 475.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.98e-06/0.1131, allocations: 4 kB / 475.6 MB, free: 10.67 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.1131, allocations: 4 kB / 475.6 MB, free: 10.67 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.0004251/0.1135, allocations: 375.5 kB / 476 MB, free: 10.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.1136, allocations: 8.031 kB / 476 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.552e-05/0.1136, allocations: 4.938 kB / 476 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001723/0.1138, allocations: 184.2 kB / 476.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.366e-06/0.1138, allocations: 384 / 476.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.261e-05/0.1138, allocations: 12.25 kB / 476.2 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001587/0.114, allocations: 71.52 kB / 476.2 MB, free: 9.93 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.114, allocations: 0 / 476.2 MB, free: 9.93 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.958e-06/0.114, allocations: 0 / 476.2 MB, free: 9.93 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.1141, allocations: 4 kB / 476.2 MB, free: 9.926 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.093e-05/0.1142, allocations: 23.98 kB / 476.3 MB, free: 9.902 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003364/0.1145, allocations: 280.8 kB / 476.5 MB, free: 9.578 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001957/0.1147, allocations: 46.5 kB / 476.6 MB, free: 9.523 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.48e-05/0.1148, allocations: 20.94 kB / 476.6 MB, free: 9.5 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.977e-05/0.1148, allocations: 0 / 476.6 MB, free: 9.5 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.359e-05/0.1148, allocations: 34.56 kB / 476.6 MB, free: 9.457 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.91e-07/0.1148, allocations: 0 / 476.6 MB, free: 9.457 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005435/0.1154, allocations: 157.4 kB / 476.8 MB, free: 9.297 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.587e-05/0.1154, allocations: 77.11 kB / 476.9 MB, free: 9.203 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001254/0.1156, allocations: 140.5 kB / 477 MB, free: 9.059 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.496e-05/0.1156, allocations: 25.7 kB / 477 MB, free: 9.027 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.506e-05/0.1156, allocations: 88.14 kB / 477.1 MB, free: 8.938 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.399e-05/0.1157, allocations: 23.64 kB / 477.1 MB, free: 8.914 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.331e-05/0.1157, allocations: 13.72 kB / 477.1 MB, free: 8.895 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001026/0.1158, allocations: 322.8 kB / 477.5 MB, free: 8.57 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.418e-05/0.1159, allocations: 23.98 kB / 477.5 MB, free: 8.547 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.561e-05/0.116, allocations: 37.64 kB / 477.5 MB, free: 8.504 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001387/0.1161, allocations: 56.88 kB / 477.6 MB, free: 8.445 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.1161, allocations: 0 / 477.6 MB, free: 8.445 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002177/0.1164, allocations: 85.66 kB / 477.7 MB, free: 8.355 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.1164, allocations: 7.938 kB / 477.7 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.1164, allocations: 0 / 477.7 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.939e-06/0.1164, allocations: 0 / 477.7 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.462e-05/0.1165, allocations: 19.98 kB / 477.7 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.1165, allocations: 0 / 477.7 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.597e-05/0.1165, allocations: 4 kB / 477.7 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/0.1165, allocations: 7.938 kB / 477.7 MB, free: 8.316 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 7.704e-05/0.1166, allocations: 118.3 kB / 477.8 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.224e-05/0.1167, allocations: 7.906 kB / 477.8 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000232/0.1169, allocations: 97.62 kB / 477.9 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.1169, allocations: 288 / 477.9 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.1169, allocations: 3.984 kB / 477.9 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.1169, allocations: 0 / 477.9 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004153/0.1174, allocations: 362.4 kB / 478.3 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.1174, allocations: 3.984 kB / 478.3 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.302e-05/0.1174, allocations: 16.36 kB / 478.3 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.1175, allocations: 0 / 478.3 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.1175, allocations: 7.938 kB / 478.3 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.1175, allocations: 3.938 kB / 478.3 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1175, allocations: 0 / 478.3 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000226/0.1177, allocations: 187.5 kB / 478.5 MB, free: 7.438 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.02e-05/0.1178, allocations: 85.02 kB / 478.6 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.602e-05/0.1178, allocations: 0 / 478.6 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.637e-05/0.1179, allocations: 15.92 kB / 478.6 MB, free: 7.32 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.642e-05/0.1179, allocations: 8 kB / 478.6 MB, free: 7.312 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-06/0.1179, allocations: 0 / 478.6 MB, free: 7.312 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.106e-05/0.118, allocations: 103.3 kB / 478.7 MB, free: 7.211 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.118, allocations: 0 / 478.7 MB, free: 7.211 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002684/0.1183, allocations: 27.98 kB / 478.7 MB, free: 7.184 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.001023/0.1193, allocations: 444.8 kB / 479.2 MB, free: 6.914 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001995/0.1195, allocations: 51.97 kB / 479.2 MB, free: 6.863 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.1196, allocations: 0 / 479.2 MB, free: 6.863 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.314e-05/0.1196, allocations: 35.92 kB / 479.2 MB, free: 6.828 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003132/0.12, allocations: 13.86 kB / 479.3 MB, free: 6.816 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003788/0.1203, allocations: 198.3 kB / 479.5 MB, free: 6.59 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002387/0.1206, allocations: 0.6888 MB / 480.1 MB, free: 5.875 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.079e-05/0.1207, allocations: 19.42 kB / 480.2 MB, free: 5.855 MB / 350.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1207, allocations: 0 / 480.2 MB, free: 5.855 MB / 350.1 MB Notification: Performance of Templates: time 0.003135/0.1238, allocations: 1.543 MB / 481.7 MB, free: 4.32 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test33/Test33.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches