Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29.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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008181/0.0008181, allocations: 175 kB / 16.72 MB, free: 4.961 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.235/1.235, allocations: 205.4 MB / 222.9 MB, free: 9.02 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.0007066/0.0007067, allocations: 86.34 kB / 271.2 MB, free: 8.246 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.2916/0.2916, allocations: 43.56 MB / 363.1 MB, free: 52.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003587/0.0003589, allocations: 12 kB / 432 MB, free: 5.84 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1038, allocations: 58.86 MB / 490.8 MB, free: 10.9 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test29): time 0.001702/0.1056, allocations: 1.275 MB / 492.1 MB, free: 9.613 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004914/0.1061, allocations: 303.7 kB / 492.4 MB, free: 9.312 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.408e-05/0.1061, allocations: 0 / 492.4 MB, free: 9.312 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001921/0.1063, allocations: 27.91 kB / 492.4 MB, free: 9.285 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001319/0.1065, allocations: 35.84 kB / 492.5 MB, free: 9.25 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001899/0.1067, allocations: 51.92 kB / 492.5 MB, free: 9.199 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001146/0.1068, allocations: 59.83 kB / 492.6 MB, free: 9.141 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.762e-05/0.1069, allocations: 24.16 kB / 492.6 MB, free: 9.117 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.353e-05/0.1069, allocations: 23.86 kB / 492.6 MB, free: 9.094 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.758e-05/0.107, allocations: 27.91 kB / 492.6 MB, free: 9.066 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.463e-05/0.107, allocations: 3.938 kB / 492.6 MB, free: 9.062 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.971e-05/0.1071, allocations: 24 kB / 492.7 MB, free: 9.039 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.546e-05/0.1072, allocations: 11.98 kB / 492.7 MB, free: 9.027 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.914e-05/0.1072, allocations: 45.52 kB / 492.7 MB, free: 8.977 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001046/0.1073, allocations: 63.89 kB / 492.8 MB, free: 8.914 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1073, allocations: 0 / 492.8 MB, free: 8.914 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1073, allocations: 0 / 492.8 MB, free: 8.914 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.787e-06/0.1073, allocations: 4 kB / 492.8 MB, free: 8.91 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004018/0.1078, allocations: 383.4 kB / 493.2 MB, free: 8.488 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.255e-05/0.1078, allocations: 8.031 kB / 493.2 MB, free: 8.48 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.967e-05/0.1078, allocations: 8.844 kB / 493.2 MB, free: 8.473 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002333/0.1081, allocations: 192.2 kB / 493.4 MB, free: 8.246 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.928e-06/0.1081, allocations: 384 / 493.4 MB, free: 8.246 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.079e-05/0.1081, allocations: 4.375 kB / 493.4 MB, free: 8.242 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001385/0.1083, allocations: 65.61 kB / 493.4 MB, free: 8.172 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.1083, allocations: 0 / 493.4 MB, free: 8.172 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.1083, allocations: 4 kB / 493.4 MB, free: 8.168 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.626e-06/0.1083, allocations: 0 / 493.4 MB, free: 8.168 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001025/0.1084, allocations: 35.97 kB / 493.5 MB, free: 8.133 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003361/0.1088, allocations: 300.6 kB / 493.8 MB, free: 7.789 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000106/0.1089, allocations: 62.56 kB / 493.8 MB, free: 7.719 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.992e-05/0.1089, allocations: 16.97 kB / 493.8 MB, free: 7.699 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.409e-05/0.109, allocations: 8 kB / 493.9 MB, free: 7.691 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.142e-05/0.109, allocations: 30.56 kB / 493.9 MB, free: 7.652 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.322e-06/0.109, allocations: 3.938 kB / 493.9 MB, free: 7.648 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005806/0.1096, allocations: 189.3 kB / 494.1 MB, free: 7.457 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.348e-05/0.1096, allocations: 59.41 kB / 494.1 MB, free: 7.387 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001322/0.1098, allocations: 157.3 kB / 494.3 MB, free: 7.227 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.44e-05/0.1098, allocations: 29.7 kB / 494.3 MB, free: 7.191 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.084e-05/0.1099, allocations: 100 kB / 494.4 MB, free: 7.09 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.289e-05/0.1099, allocations: 23.64 kB / 494.4 MB, free: 7.066 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.599e-06/0.1099, allocations: 4 kB / 494.4 MB, free: 7.062 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.604e-05/0.11, allocations: 314.8 kB / 494.7 MB, free: 6.746 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.177e-05/0.1101, allocations: 36.05 kB / 494.8 MB, free: 6.711 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.954e-05/0.1102, allocations: 27.97 kB / 494.8 MB, free: 6.684 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001427/0.1103, allocations: 64.83 kB / 494.9 MB, free: 6.617 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1103, allocations: 4 kB / 494.9 MB, free: 6.613 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001972/0.1105, allocations: 105.6 kB / 495 MB, free: 6.504 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.1106, allocations: 4 kB / 495 MB, free: 6.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.1106, allocations: 0 / 495 MB, free: 6.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.1106, allocations: 3.938 kB / 495 MB, free: 6.496 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/0.1107, allocations: 23.92 kB / 495 MB, free: 6.473 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.1107, allocations: 4.25 kB / 495 MB, free: 6.469 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.305e-05/0.1108, allocations: 11.98 kB / 495 MB, free: 6.457 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.1108, allocations: 4 kB / 495 MB, free: 6.453 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 (8): * Single equations (assignments): 8 * 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.585e-05/0.1109, allocations: 117.8 kB / 495.1 MB, free: 6.328 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.892e-05/0.1109, allocations: 11.91 kB / 495.2 MB, free: 6.316 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002619/0.1112, allocations: 142.5 kB / 495.3 MB, free: 6.172 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.1112, allocations: 0 / 495.3 MB, free: 6.172 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.1112, allocations: 7.938 kB / 495.3 MB, free: 6.164 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.1112, allocations: 0 / 495.3 MB, free: 6.164 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004195/0.1116, allocations: 386.5 kB / 495.7 MB, free: 5.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.1116, allocations: 0 / 495.7 MB, free: 5.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.508e-05/0.1117, allocations: 23.92 kB / 495.7 MB, free: 5.707 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.1117, allocations: 3.938 kB / 495.7 MB, free: 5.703 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.1117, allocations: 0 / 495.7 MB, free: 5.703 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.1117, allocations: 0 / 495.7 MB, free: 5.703 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1117, allocations: 0 / 495.7 MB, free: 5.703 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002353/0.112, allocations: 207.4 kB / 495.9 MB, free: 5.484 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.428e-05/0.112, allocations: 96.92 kB / 496 MB, free: 5.371 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.614e-05/0.112, allocations: 4 kB / 496 MB, free: 5.367 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.523e-05/0.1121, allocations: 4 kB / 496 MB, free: 5.363 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.523e-05/0.1122, allocations: 7.984 kB / 496 MB, free: 5.355 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.142e-06/0.1122, allocations: 8 kB / 496 MB, free: 5.348 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.931e-05/0.1123, allocations: 115.2 kB / 496.1 MB, free: 5.234 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1123, allocations: 0 / 496.1 MB, free: 5.234 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002216/0.1125, allocations: 23.94 kB / 496.2 MB, free: 5.211 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 (8): * Single equations (assignments): 8 * 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.0007653/0.1133, allocations: 398.9 kB / 496.6 MB, free: 4.859 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002031/0.1135, allocations: 71.97 kB / 496.6 MB, free: 4.789 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.1135, allocations: 0 / 496.6 MB, free: 4.789 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.3e-05/0.1136, allocations: 43.91 kB / 496.7 MB, free: 4.746 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002868/0.1139, allocations: 12 kB / 496.7 MB, free: 4.734 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004034/0.1143, allocations: 250.6 kB / 496.9 MB, free: 4.457 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002622/0.1146, allocations: 0.6965 MB / 497.6 MB, free: 3.734 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.766e-05/0.1146, allocations: 19.44 kB / 497.6 MB, free: 3.715 MB / 378.7 MB Notification: Performance of SimCode: time 2.9e-07/0.1146, allocations: 0 / 497.6 MB, free: 3.715 MB / 378.7 MB Notification: Performance of Templates: time 0.002657/0.1173, allocations: 1.513 MB / 499.2 MB, free: 2.203 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test29/Test29.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches