Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1.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.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008548/0.0008548, allocations: 178.8 kB / 16.72 MB, free: 4.957 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.298/1.298, 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.0008207/0.0008206, allocations: 92.8 kB / 271.2 MB, free: 8.234 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.2962/0.2962, allocations: 43.56 MB / 363.1 MB, free: 52.19 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003305/0.0003305, allocations: 12 kB / 432 MB, free: 5.82 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1043, allocations: 58.85 MB / 490.8 MB, free: 10.89 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.001785/0.1061, allocations: 1.305 MB / 492.1 MB, free: 9.57 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005596/0.1067, allocations: 327.7 kB / 492.4 MB, free: 9.246 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.488e-05/0.1068, allocations: 4 kB / 492.4 MB, free: 9.242 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005109/0.1073, allocations: 443.2 kB / 492.9 MB, free: 8.809 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002804/0.1076, allocations: 235.6 kB / 493.1 MB, free: 8.578 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003408/0.1079, allocations: 143.8 kB / 493.3 MB, free: 8.438 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001774/0.1081, allocations: 123.7 kB / 493.4 MB, free: 8.316 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.856e-05/0.1082, allocations: 32.12 kB / 493.4 MB, free: 8.285 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.683e-05/0.1083, allocations: 103.7 kB / 493.5 MB, free: 8.184 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001807/0.1085, allocations: 163.7 kB / 493.7 MB, free: 8.023 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.831e-05/0.1085, allocations: 4 kB / 493.7 MB, free: 8.02 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.738e-05/0.1086, allocations: 20 kB / 493.7 MB, free: 8 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.882e-05/0.1087, allocations: 87.73 kB / 493.8 MB, free: 7.914 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.126e-05/0.1088, allocations: 120.8 kB / 493.9 MB, free: 7.789 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000212/0.109, allocations: 180 kB / 494.1 MB, free: 7.613 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.109, allocations: 4 kB / 494.1 MB, free: 7.609 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.109, allocations: 0 / 494.1 MB, free: 7.609 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.1091, allocations: 0 / 494.1 MB, free: 7.609 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005525/0.1096, allocations: 0.5872 MB / 494.7 MB, free: 6.973 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.1097, allocations: 8.031 kB / 494.7 MB, free: 6.965 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.116e-05/0.1097, allocations: 40.47 kB / 494.7 MB, free: 6.926 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002305/0.1099, allocations: 296.1 kB / 495 MB, free: 6.598 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.772e-06/0.11, allocations: 4.375 kB / 495 MB, free: 6.594 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.962e-05/0.11, allocations: 8.375 kB / 495 MB, free: 6.586 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001328/0.1101, allocations: 61.61 kB / 495.1 MB, free: 6.52 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.1101, allocations: 0 / 495.1 MB, free: 6.52 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.829e-06/0.1102, allocations: 4 kB / 495.1 MB, free: 6.516 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.1102, allocations: 0 / 495.1 MB, free: 6.516 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.571e-05/0.1103, allocations: 31.97 kB / 495.1 MB, free: 6.484 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004402/0.1107, allocations: 400.6 kB / 495.5 MB, free: 6.043 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001917/0.1109, allocations: 46.66 kB / 495.5 MB, free: 5.988 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.189e-05/0.111, allocations: 16.84 kB / 495.6 MB, free: 5.969 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.188e-05/0.111, allocations: 8 kB / 495.6 MB, free: 5.961 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.899e-05/0.111, allocations: 34.56 kB / 495.6 MB, free: 5.918 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.011e-06/0.111, allocations: 0 / 495.6 MB, free: 5.918 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005782/0.1116, allocations: 251.9 kB / 495.8 MB, free: 5.664 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.336e-05/0.1117, allocations: 51.41 kB / 495.9 MB, free: 5.602 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007202/0.1124, allocations: 0.869 MB / 496.8 MB, free: 4.723 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.306e-05/0.1124, allocations: 25.7 kB / 496.8 MB, free: 4.691 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001427/0.1126, allocations: 220 kB / 497 MB, free: 4.473 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.933e-05/0.1126, allocations: 15.8 kB / 497 MB, free: 4.457 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.897e-06/0.1126, allocations: 7.938 kB / 497 MB, free: 4.449 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.1127, allocations: 362.8 kB / 497.4 MB, free: 4.086 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.038e-05/0.1128, allocations: 23.98 kB / 497.4 MB, free: 4.062 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.016e-05/0.1129, allocations: 27.97 kB / 497.4 MB, free: 4.035 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000143/0.113, allocations: 65.02 kB / 497.5 MB, free: 3.969 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.113, allocations: 0 / 497.5 MB, free: 3.969 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001983/0.1132, allocations: 125.1 kB / 497.6 MB, free: 3.84 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.1133, allocations: 8 kB / 497.6 MB, free: 3.832 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.1133, allocations: 0 / 497.6 MB, free: 3.832 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.1133, allocations: 7.984 kB / 497.6 MB, free: 3.824 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.037e-05/0.1134, allocations: 15.94 kB / 497.6 MB, free: 3.809 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.1134, allocations: 0 / 497.6 MB, free: 3.809 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.364e-05/0.1134, allocations: 11.92 kB / 497.7 MB, free: 3.797 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.1134, allocations: 4 kB / 497.7 MB, free: 3.793 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 0.0001652/0.1136, allocations: 213.8 kB / 497.9 MB, free: 3.574 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.521e-05/0.1137, allocations: 39.44 kB / 497.9 MB, free: 3.535 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002667/0.1139, allocations: 149 kB / 498.1 MB, free: 3.379 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.114, allocations: 4 kB / 498.1 MB, free: 3.375 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.114, allocations: 0 / 498.1 MB, free: 3.375 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.114, allocations: 7.922 kB / 498.1 MB, free: 3.367 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004832/0.1145, allocations: 470.4 kB / 498.5 MB, free: 2.852 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.1145, allocations: 0 / 498.5 MB, free: 2.852 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.498e-05/0.1145, allocations: 15.98 kB / 498.5 MB, free: 2.836 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.1145, allocations: 0 / 498.5 MB, free: 2.836 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.858e-06/0.1146, allocations: 8.219 kB / 498.6 MB, free: 2.828 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.1146, allocations: 0 / 498.6 MB, free: 2.828 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1146, allocations: 4.188 kB / 498.6 MB, free: 2.824 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002295/0.1148, allocations: 230.9 kB / 498.8 MB, free: 2.582 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.41e-05/0.1149, allocations: 108.6 kB / 498.9 MB, free: 2.457 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.564e-05/0.1149, allocations: 7.938 kB / 498.9 MB, free: 2.449 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.754e-05/0.115, allocations: 11.98 kB / 498.9 MB, free: 2.438 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.409e-05/0.115, allocations: 4 kB / 498.9 MB, free: 2.434 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.115, allocations: 0 / 498.9 MB, free: 2.434 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005378/0.1156, allocations: 0.6511 MB / 499.6 MB, free: 1.785 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1156, allocations: 3.938 kB / 499.6 MB, free: 1.781 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002293/0.1158, allocations: 28 kB / 499.6 MB, free: 1.754 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.0007657/0.1166, allocations: 410.9 kB / 500 MB, free: 1.395 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001852/0.1168, allocations: 59.89 kB / 0.4883 GB, free: 1.336 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1168, allocations: 0 / 0.4883 GB, free: 1.336 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.868e-05/0.1169, allocations: 35.98 kB / 0.4884 GB, free: 1.301 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003533/0.1173, allocations: 21.95 kB / 0.4884 GB, free: 1.277 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009625/0.1182, allocations: 0.8663 MB / 0.4892 GB, free: 384 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.163/0.2812, allocations: 0.8194 MB / 0.49 GB, free: 42.66 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.324e-05/0.2813, allocations: 14.36 kB / 0.49 GB, free: 42.65 MB / 378.7 MB Notification: Performance of SimCode: time 8.01e-07/0.2813, allocations: 1.125 kB / 0.49 GB, free: 42.65 MB / 378.7 MB Notification: Performance of Templates: time 0.006391/0.2877, allocations: 3.643 MB / 0.4936 GB, free: 42.04 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches