Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008611/0.0008612, allocations: 175.9 kB / 16.72 MB, free: 5.051 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.193/1.193, allocations: 205.4 MB / 222.9 MB, free: 9.016 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008708/0.0008708, allocations: 92.94 kB / 271.2 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2937/0.2937, allocations: 43.56 MB / 363.1 MB, free: 52.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003524/0.0003525, allocations: 15.98 kB / 432 MB, free: 5.832 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1093, allocations: 58.85 MB / 490.8 MB, free: 10.9 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test8): time 0.001802/0.1111, allocations: 1.259 MB / 492.1 MB, free: 9.633 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005231/0.1117, allocations: 295.7 kB / 492.4 MB, free: 9.34 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.116e-05/0.1117, allocations: 0 / 492.4 MB, free: 9.34 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001963/0.1119, allocations: 23.91 kB / 492.4 MB, free: 9.316 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001288/0.1121, allocations: 27.92 kB / 492.4 MB, free: 9.289 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002037/0.1123, allocations: 67.84 kB / 492.5 MB, free: 9.223 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001152/0.1124, allocations: 47.84 kB / 492.5 MB, free: 9.176 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.1125, allocations: 15.97 kB / 492.5 MB, free: 9.16 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.565e-05/0.1126, allocations: 15.92 kB / 492.6 MB, free: 9.145 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.701e-05/0.1126, allocations: 23.84 kB / 492.6 MB, free: 9.121 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.47e-05/0.1127, allocations: 4 kB / 492.6 MB, free: 9.117 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.195e-05/0.1127, allocations: 24 kB / 492.6 MB, free: 9.094 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.765e-05/0.1128, allocations: 15.98 kB / 492.6 MB, free: 9.078 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.276e-05/0.1128, allocations: 41.52 kB / 492.7 MB, free: 9.031 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001255/0.113, allocations: 47.92 kB / 492.7 MB, free: 8.984 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.113, allocations: 0 / 492.7 MB, free: 8.984 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.113, allocations: 0 / 492.7 MB, free: 8.984 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.344e-06/0.113, allocations: 4 kB / 492.7 MB, free: 8.98 MB / 378.7 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.0004322/0.1134, allocations: 383.4 kB / 493.1 MB, free: 8.559 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.1135, allocations: 15.97 kB / 493.1 MB, free: 8.543 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.339e-05/0.1135, allocations: 8.844 kB / 493.1 MB, free: 8.535 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001608/0.1137, allocations: 187.9 kB / 493.3 MB, free: 8.316 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.1137, allocations: 4.375 kB / 493.3 MB, free: 8.312 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.121e-05/0.1137, allocations: 384 / 493.3 MB, free: 8.312 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000131/0.1139, allocations: 53.75 kB / 493.4 MB, free: 8.254 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/0.1139, allocations: 0 / 493.4 MB, free: 8.254 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.735e-06/0.1139, allocations: 0 / 493.4 MB, free: 8.254 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.1139, allocations: 0 / 493.4 MB, free: 8.254 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.047e-05/0.114, allocations: 31.98 kB / 493.4 MB, free: 8.223 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003211/0.1143, allocations: 272.9 kB / 493.7 MB, free: 7.906 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001847/0.1145, allocations: 50.5 kB / 493.7 MB, free: 7.848 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.114e-05/0.1146, allocations: 20.94 kB / 493.7 MB, free: 7.824 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.023e-05/0.1146, allocations: 0 / 493.7 MB, free: 7.824 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.081e-05/0.1147, allocations: 34.56 kB / 493.8 MB, free: 7.781 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 8.01e-07/0.1147, allocations: 0 / 493.8 MB, free: 7.781 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005255/0.1152, allocations: 165.2 kB / 493.9 MB, free: 7.613 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.052e-05/0.1152, allocations: 55.34 kB / 494 MB, free: 7.547 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001307/0.1154, allocations: 149.8 kB / 494.1 MB, free: 7.391 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.241e-05/0.1154, allocations: 29.7 kB / 494.1 MB, free: 7.355 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.67e-05/0.1154, allocations: 100 kB / 494.2 MB, free: 7.254 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.856e-05/0.1155, allocations: 15.8 kB / 494.3 MB, free: 7.238 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.767e-06/0.1155, allocations: 0 / 494.3 MB, free: 7.238 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.827e-05/0.1156, allocations: 318.8 kB / 494.6 MB, free: 6.918 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.895e-05/0.1157, allocations: 23.98 kB / 494.6 MB, free: 6.895 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.683e-05/0.1157, allocations: 19.98 kB / 494.6 MB, free: 6.875 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001267/0.1159, allocations: 60.77 kB / 494.7 MB, free: 6.812 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.1159, allocations: 0 / 494.7 MB, free: 6.812 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001746/0.116, allocations: 85.58 kB / 494.8 MB, free: 6.723 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.1161, allocations: 8 kB / 494.8 MB, free: 6.715 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-06/0.1161, allocations: 0 / 494.8 MB, free: 6.715 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.1161, allocations: 3.984 kB / 494.8 MB, free: 6.711 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.676e-05/0.1162, allocations: 16 kB / 494.8 MB, free: 6.695 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.1162, allocations: 0 / 494.8 MB, free: 6.695 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.124e-05/0.1162, allocations: 11.92 kB / 494.8 MB, free: 6.684 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-06/0.1162, allocations: 7.938 kB / 494.8 MB, free: 6.676 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.39e-05/0.1163, allocations: 121.8 kB / 494.9 MB, free: 6.547 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.674e-05/0.1164, allocations: 7.906 kB / 494.9 MB, free: 6.539 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002252/0.1166, allocations: 97.84 kB / 495 MB, free: 6.434 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.1166, allocations: 4 kB / 495 MB, free: 6.43 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.1166, allocations: 0 / 495 MB, free: 6.43 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.1166, allocations: 4 kB / 495 MB, free: 6.426 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003964/0.117, allocations: 362.7 kB / 495.4 MB, free: 6.016 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.117, allocations: 4 kB / 495.4 MB, free: 6.012 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.073e-05/0.1171, allocations: 8 kB / 495.4 MB, free: 6.004 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.1171, allocations: 8 kB / 495.4 MB, free: 5.996 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.1171, allocations: 288 / 495.4 MB, free: 5.996 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.1171, allocations: 7.922 kB / 495.4 MB, free: 5.988 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1171, allocations: 0 / 495.4 MB, free: 5.988 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002019/0.1173, allocations: 179.4 kB / 495.6 MB, free: 5.797 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.787e-05/0.1174, allocations: 89 kB / 495.7 MB, free: 5.691 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.644e-05/0.1174, allocations: 7.984 kB / 495.7 MB, free: 5.684 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.815e-05/0.1175, allocations: 11.94 kB / 495.7 MB, free: 5.672 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.363e-05/0.1175, allocations: 0 / 495.7 MB, free: 5.672 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.242e-06/0.1175, allocations: 11.92 kB / 495.7 MB, free: 5.66 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.818e-05/0.1176, allocations: 114.5 kB / 495.8 MB, free: 5.551 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1176, allocations: 0 / 495.8 MB, free: 5.551 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002144/0.1178, allocations: 15.98 kB / 495.8 MB, free: 5.535 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007697/0.1186, allocations: 402.1 kB / 496.2 MB, free: 5.18 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001791/0.1188, allocations: 55.95 kB / 496.3 MB, free: 5.125 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1188, allocations: 0 / 496.3 MB, free: 5.125 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.947e-05/0.1189, allocations: 35.92 kB / 496.3 MB, free: 5.09 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002908/0.1192, allocations: 11.94 kB / 496.3 MB, free: 5.078 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003571/0.1196, allocations: 214.4 kB / 496.5 MB, free: 4.832 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000232/0.1198, allocations: 0.7043 MB / 497.2 MB, free: 4.102 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.899e-05/0.1198, allocations: 11.44 kB / 497.3 MB, free: 4.094 MB / 378.7 MB Notification: Performance of SimCode: time 3.21e-07/0.1199, allocations: 0 / 497.3 MB, free: 4.094 MB / 378.7 MB Notification: Performance of Templates: time 0.002639/0.1225, allocations: 1.356 MB / 498.6 MB, free: 2.738 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test8/Test8.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches