Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.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.Test23,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.Test23") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test23,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.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001499/0.001499, allocations: 108.3 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.001491/0.001491, allocations: 191 kB / 19.34 MB, free: 3.766 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.461/1.461, allocations: 222.9 MB / 243 MB, free: 15.09 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.2118/0.2118, allocations: 44.18 MB / 337.4 MB, free: 2.703 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001215, allocations: 65.03 kB / 409.9 MB, free: 26.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.103, allocations: 60.82 MB / 470.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test23): time 0.003017/0.106, allocations: 1.567 MB / 472.3 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001572/0.1076, allocations: 1.027 MB / 473.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.017e-05/0.1077, allocations: 0 / 473.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001872/0.1079, allocations: 19.86 kB / 473.3 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001847/0.1081, allocations: 43.83 kB / 473.4 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002745/0.1084, allocations: 107.7 kB / 473.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001213/0.1085, allocations: 47.91 kB / 473.5 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.807e-05/0.1086, allocations: 27.91 kB / 473.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.347e-05/0.1087, allocations: 23.81 kB / 473.6 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001255/0.1088, allocations: 23.91 kB / 473.6 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.55e-05/0.1088, allocations: 4 kB / 473.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.809e-05/0.1089, allocations: 51.97 kB / 473.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.105e-05/0.109, allocations: 11.94 kB / 473.7 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.231e-05/0.109, allocations: 19.86 kB / 473.7 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001631/0.1092, allocations: 91.77 kB / 473.8 MB, free: 10.58 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1092, allocations: 4 kB / 473.8 MB, free: 10.58 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1092, allocations: 0 / 473.8 MB, free: 10.58 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.1092, allocations: 0 / 473.8 MB, free: 10.58 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.0004906/0.1097, allocations: 383.2 kB / 474.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.1098, allocations: 12.03 kB / 474.2 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.852e-05/0.1098, allocations: 4.844 kB / 474.2 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001895/0.11, allocations: 184.2 kB / 474.3 MB, free: 9.922 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.11, allocations: 4.375 kB / 474.3 MB, free: 9.918 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.374e-05/0.1101, allocations: 384 / 474.3 MB, free: 9.918 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001643/0.1102, allocations: 71.52 kB / 474.4 MB, free: 9.836 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.1103, allocations: 0 / 474.4 MB, free: 9.836 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.1103, allocations: 4 kB / 474.4 MB, free: 9.832 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.1103, allocations: 3.938 kB / 474.4 MB, free: 9.828 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.496e-05/0.1104, allocations: 19.98 kB / 474.4 MB, free: 9.809 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000398/0.1108, allocations: 280.9 kB / 474.7 MB, free: 9.484 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002233/0.111, allocations: 50.55 kB / 474.8 MB, free: 9.426 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.364e-05/0.1111, allocations: 20.88 kB / 474.8 MB, free: 9.402 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.966e-05/0.1111, allocations: 0 / 474.8 MB, free: 9.402 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.518e-05/0.1112, allocations: 30.56 kB / 474.8 MB, free: 9.363 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.31e-07/0.1112, allocations: 0 / 474.8 MB, free: 9.363 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005239/0.1117, allocations: 153.3 kB / 475 MB, free: 9.207 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.103e-05/0.1118, allocations: 81.09 kB / 475 MB, free: 9.109 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001186/0.1119, allocations: 137.2 kB / 475.2 MB, free: 8.969 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.376e-05/0.1119, allocations: 25.7 kB / 475.2 MB, free: 8.938 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.526e-05/0.112, allocations: 100.1 kB / 475.3 MB, free: 8.836 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.992e-05/0.112, allocations: 11.75 kB / 475.3 MB, free: 8.824 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.905e-05/0.112, allocations: 25.7 kB / 475.3 MB, free: 8.793 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001027/0.1121, allocations: 322.8 kB / 475.7 MB, free: 8.469 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.07e-05/0.1122, allocations: 20.05 kB / 475.7 MB, free: 8.449 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.774e-05/0.1123, allocations: 37.69 kB / 475.7 MB, free: 8.406 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001263/0.1124, allocations: 52.83 kB / 475.8 MB, free: 8.352 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.1124, allocations: 7.969 kB / 475.8 MB, free: 8.344 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000179/0.1126, allocations: 85.52 kB / 475.9 MB, free: 8.254 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.1127, allocations: 8 kB / 475.9 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.1127, allocations: 7.922 kB / 475.9 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.1127, allocations: 0 / 475.9 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.159e-05/0.1128, allocations: 8 kB / 475.9 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.1128, allocations: 0 / 475.9 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.11e-05/0.1128, allocations: 7.984 kB / 475.9 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.115e-06/0.1128, allocations: 4 kB / 475.9 MB, free: 8.219 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 8.103e-05/0.1129, allocations: 121.8 kB / 476 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.332e-05/0.113, allocations: 7.906 kB / 476 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002242/0.1132, allocations: 97.55 kB / 476.1 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.1132, allocations: 0 / 476.1 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.1132, allocations: 0 / 476.1 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.1132, allocations: 0 / 476.1 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004358/0.1137, allocations: 354.5 kB / 476.5 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.1137, allocations: 320 / 476.5 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.79e-05/0.1137, allocations: 23.92 kB / 476.5 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.1138, allocations: 0 / 476.5 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.1138, allocations: 4 kB / 476.5 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.1138, allocations: 3.938 kB / 476.5 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1138, allocations: 0 / 476.5 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002316/0.114, allocations: 183.4 kB / 476.7 MB, free: 7.352 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.809e-05/0.1141, allocations: 77.11 kB / 476.7 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.773e-05/0.1141, allocations: 0 / 476.7 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.862e-05/0.1142, allocations: 7.938 kB / 476.7 MB, free: 7.25 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.131e-05/0.1142, allocations: 11.98 kB / 476.8 MB, free: 7.238 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-06/0.1142, allocations: 0 / 476.8 MB, free: 7.238 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.258e-05/0.1143, allocations: 103.3 kB / 476.9 MB, free: 7.137 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1143, allocations: 0 / 476.9 MB, free: 7.137 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002674/0.1146, allocations: 27.89 kB / 476.9 MB, free: 7.109 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.0009852/0.1156, allocations: 450.1 kB / 477.3 MB, free: 6.832 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000202/0.1158, allocations: 51.97 kB / 477.4 MB, free: 6.781 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1158, allocations: 0 / 477.4 MB, free: 6.781 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.418e-05/0.1159, allocations: 23.98 kB / 477.4 MB, free: 6.758 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003511/0.1163, allocations: 22.58 kB / 477.4 MB, free: 6.738 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003657/0.1166, allocations: 169.3 kB / 477.6 MB, free: 6.547 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002921/0.1169, allocations: 0.6846 MB / 478.3 MB, free: 5.836 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.111e-05/0.117, allocations: 19.97 kB / 478.3 MB, free: 5.816 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.747e-05/0.1171, allocations: 19.42 kB / 478.3 MB, free: 5.797 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1171, allocations: 0 / 478.3 MB, free: 5.797 MB / 350.1 MB Notification: Performance of Templates: time 0.003657/0.1207, allocations: 1.365 MB / 479.7 MB, free: 4.445 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches