Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test28.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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test28,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test28,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test28",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009224/0.0009225, allocations: 175.1 kB / 16.72 MB, free: 5.055 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.155/1.155, allocations: 205.4 MB / 222.9 MB, free: 9.027 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.0007759/0.0007759, allocations: 88.98 kB / 271.2 MB, free: 8.254 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.2803/0.2803, allocations: 43.56 MB / 363.1 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000374/0.0003742, allocations: 12 kB / 432.1 MB, free: 5.738 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1007, allocations: 58.85 MB / 490.9 MB, free: 10.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test28): time 0.001821/0.1026, allocations: 1.259 MB / 492.2 MB, free: 9.531 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005848/0.1032, allocations: 307.7 kB / 492.5 MB, free: 9.227 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.187e-05/0.1032, allocations: 0 / 492.5 MB, free: 9.227 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002793/0.1035, allocations: 107.8 kB / 492.6 MB, free: 9.121 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000179/0.1037, allocations: 71.84 kB / 492.7 MB, free: 9.051 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002739/0.104, allocations: 79.84 kB / 492.7 MB, free: 8.973 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001464/0.1042, allocations: 63.81 kB / 492.8 MB, free: 8.91 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.816e-05/0.1043, allocations: 19.95 kB / 492.8 MB, free: 8.891 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.474e-05/0.1044, allocations: 31.91 kB / 492.8 MB, free: 8.859 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001062/0.1045, allocations: 55.81 kB / 492.9 MB, free: 8.805 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.597e-05/0.1045, allocations: 0 / 492.9 MB, free: 8.805 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.008e-05/0.1046, allocations: 31.98 kB / 492.9 MB, free: 8.773 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.347e-05/0.1046, allocations: 15.92 kB / 492.9 MB, free: 8.758 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.751e-05/0.1047, allocations: 57.44 kB / 493 MB, free: 8.695 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001198/0.1048, allocations: 68.19 kB / 493.1 MB, free: 8.629 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1048, allocations: 0 / 493.1 MB, free: 8.629 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1048, allocations: 0 / 493.1 MB, free: 8.629 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.967e-06/0.1048, allocations: 0 / 493.1 MB, free: 8.629 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.0004451/0.1053, allocations: 410.9 kB / 493.5 MB, free: 8.18 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.1053, allocations: 8.031 kB / 493.5 MB, free: 8.172 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.374e-05/0.1054, allocations: 30.75 kB / 493.5 MB, free: 8.133 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.198e-05/0.1054, allocations: 16.75 kB / 493.5 MB, free: 8.117 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001817/0.1056, allocations: 200.1 kB / 493.7 MB, free: 7.883 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.071e-06/0.1056, allocations: 384 / 493.7 MB, free: 7.883 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.802e-05/0.1056, allocations: 384 / 493.7 MB, free: 7.883 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000134/0.1058, allocations: 61.55 kB / 493.8 MB, free: 7.816 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.1058, allocations: 8 kB / 493.8 MB, free: 7.809 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.414e-06/0.1058, allocations: 0 / 493.8 MB, free: 7.809 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.1058, allocations: 0 / 493.8 MB, free: 7.809 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.719e-05/0.1059, allocations: 23.98 kB / 493.8 MB, free: 7.785 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003553/0.1063, allocations: 296.8 kB / 494.1 MB, free: 7.445 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001841/0.1065, allocations: 50.5 kB / 494.1 MB, free: 7.387 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.553e-05/0.1066, allocations: 20.94 kB / 494.2 MB, free: 7.363 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.928e-05/0.1066, allocations: 0 / 494.2 MB, free: 7.363 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.853e-05/0.1066, allocations: 30.56 kB / 494.2 MB, free: 7.324 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 8.42e-07/0.1066, allocations: 4 kB / 494.2 MB, free: 7.32 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005574/0.1072, allocations: 177.2 kB / 494.4 MB, free: 7.141 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.731e-05/0.1072, allocations: 55.41 kB / 494.4 MB, free: 7.074 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001978/0.1074, allocations: 234.7 kB / 494.7 MB, free: 6.832 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.331e-05/0.1074, allocations: 29.7 kB / 494.7 MB, free: 6.797 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.345e-05/0.1075, allocations: 108 kB / 494.8 MB, free: 6.688 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.122e-05/0.1075, allocations: 23.67 kB / 494.8 MB, free: 6.664 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.457e-06/0.1075, allocations: 0 / 494.8 MB, free: 6.664 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.529e-05/0.1076, allocations: 330.8 kB / 495.1 MB, free: 6.332 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.459e-05/0.1077, allocations: 27.98 kB / 495.2 MB, free: 6.305 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.986e-05/0.1078, allocations: 23.98 kB / 495.2 MB, free: 6.281 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001336/0.1079, allocations: 60.95 kB / 495.3 MB, free: 6.219 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.1079, allocations: 0 / 495.3 MB, free: 6.219 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001883/0.1081, allocations: 101.6 kB / 495.3 MB, free: 6.113 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.1082, allocations: 4 kB / 495.4 MB, free: 6.109 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.1082, allocations: 0 / 495.4 MB, free: 6.109 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.1082, allocations: 0 / 495.4 MB, free: 6.109 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.261e-05/0.1083, allocations: 19.92 kB / 495.4 MB, free: 6.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.1083, allocations: 0 / 495.4 MB, free: 6.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.082e-05/0.1083, allocations: 16 kB / 495.4 MB, free: 6.074 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.1083, allocations: 3.938 kB / 495.4 MB, free: 6.07 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 8.837e-05/0.1084, allocations: 125.8 kB / 495.5 MB, free: 5.938 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.364e-05/0.1085, allocations: 15.81 kB / 495.5 MB, free: 5.922 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002348/0.1087, allocations: 118.6 kB / 495.6 MB, free: 5.789 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.1087, allocations: 0 / 495.6 MB, free: 5.789 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.1087, allocations: 0 / 495.6 MB, free: 5.789 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.1087, allocations: 0 / 495.6 MB, free: 5.789 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004037/0.1091, allocations: 370.4 kB / 496 MB, free: 5.371 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.1092, allocations: 4 kB / 496 MB, free: 5.367 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.525e-05/0.1092, allocations: 15.98 kB / 496 MB, free: 5.352 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.1092, allocations: 288 / 496 MB, free: 5.352 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.844e-06/0.1092, allocations: 4 kB / 496 MB, free: 5.348 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.1092, allocations: 3.938 kB / 496 MB, free: 5.344 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1093, allocations: 4 kB / 496 MB, free: 5.34 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002196/0.1095, allocations: 195.5 kB / 496.2 MB, free: 5.133 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.87e-05/0.1095, allocations: 92.98 kB / 496.3 MB, free: 5.023 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.636e-05/0.1096, allocations: 4 kB / 496.3 MB, free: 5.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.583e-05/0.1096, allocations: 11.94 kB / 496.3 MB, free: 5.008 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.573e-05/0.1097, allocations: 3.984 kB / 496.3 MB, free: 5.004 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-06/0.1097, allocations: 4 kB / 496.3 MB, free: 5 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001319/0.1098, allocations: 196.2 kB / 496.5 MB, free: 4.809 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1098, allocations: 0 / 496.5 MB, free: 4.809 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002227/0.1101, allocations: 16 kB / 496.6 MB, free: 4.793 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.001142/0.1112, allocations: 1.028 MB / 497.6 MB, free: 3.789 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001846/0.1114, allocations: 55.91 kB / 497.6 MB, free: 3.734 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1114, allocations: 0 / 497.6 MB, free: 3.734 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.489e-05/0.1115, allocations: 35.98 kB / 497.7 MB, free: 3.699 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002983/0.1118, allocations: 19.92 kB / 497.7 MB, free: 3.68 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001153/0.113, allocations: 0.806 MB / 498.5 MB, free: 2.824 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002779/0.1133, allocations: 0.716 MB / 499.2 MB, free: 2.082 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.886e-05/0.1133, allocations: 35.42 kB / 499.2 MB, free: 2.051 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.1133, allocations: 3.938 kB / 499.2 MB, free: 2.047 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.76/2.873, allocations: 2.075 MB / 0.4896 GB, free: 42.55 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test28.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test28.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test28_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test28_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test28.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test28/Test28.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches