Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test28,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test28,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_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.0008212/0.0008212, allocations: 174.7 kB / 16.72 MB, free: 5.078 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.172/1.172, 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.000686/0.0006861, allocations: 90.39 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.2909/0.2909, allocations: 43.56 MB / 363.1 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003657/0.0003658, allocations: 16 kB / 432.1 MB, free: 5.719 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09854/0.09892, allocations: 58.84 MB / 490.9 MB, free: 10.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test28): time 0.001762/0.1007, allocations: 1.263 MB / 492.2 MB, free: 9.523 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005126/0.1013, allocations: 295.7 kB / 492.5 MB, free: 9.23 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.126e-05/0.1013, allocations: 4 kB / 492.5 MB, free: 9.227 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000256/0.1016, allocations: 95.78 kB / 492.6 MB, free: 9.133 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001778/0.1018, allocations: 75.84 kB / 492.6 MB, free: 9.059 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002207/0.102, allocations: 75.84 kB / 492.7 MB, free: 8.984 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001285/0.1022, allocations: 55.83 kB / 492.8 MB, free: 8.93 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.153e-05/0.1023, allocations: 15.98 kB / 492.8 MB, free: 8.914 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.736e-05/0.1023, allocations: 31.89 kB / 492.8 MB, free: 8.883 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000106/0.1024, allocations: 55.81 kB / 492.9 MB, free: 8.828 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.519e-05/0.1025, allocations: 0 / 492.9 MB, free: 8.828 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.372e-05/0.1025, allocations: 23.98 kB / 492.9 MB, free: 8.805 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.282e-05/0.1026, allocations: 19.92 kB / 492.9 MB, free: 8.785 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.608e-05/0.1026, allocations: 49.52 kB / 493 MB, free: 8.73 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001204/0.1028, allocations: 72.17 kB / 493 MB, free: 8.66 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.154e-06/0.1028, allocations: 4 kB / 493 MB, free: 8.656 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1028, allocations: 3.938 kB / 493 MB, free: 8.652 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.567e-06/0.1028, allocations: 0 / 493 MB, free: 8.652 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.0004134/0.1032, allocations: 402.9 kB / 493.4 MB, free: 8.211 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.1033, allocations: 8.031 kB / 493.4 MB, free: 8.203 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.332e-05/0.1033, allocations: 38.75 kB / 493.5 MB, free: 8.156 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.878e-05/0.1033, allocations: 12.75 kB / 493.5 MB, free: 8.145 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001747/0.1035, allocations: 208.1 kB / 493.7 MB, free: 7.902 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.586e-06/0.1035, allocations: 384 / 493.7 MB, free: 7.902 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.045e-05/0.1036, allocations: 8.359 kB / 493.7 MB, free: 7.895 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001198/0.1037, allocations: 45.62 kB / 493.7 MB, free: 7.844 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.1037, allocations: 7.938 kB / 493.8 MB, free: 7.836 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.1037, allocations: 4 kB / 493.8 MB, free: 7.832 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.1037, allocations: 0 / 493.8 MB, free: 7.832 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.553e-05/0.1038, allocations: 23.98 kB / 493.8 MB, free: 7.809 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003161/0.1042, allocations: 288.8 kB / 494.1 MB, free: 7.477 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001868/0.1044, allocations: 50.5 kB / 494.1 MB, free: 7.418 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.007e-05/0.1044, allocations: 12.95 kB / 494.1 MB, free: 7.402 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.214e-05/0.1044, allocations: 7.984 kB / 494.1 MB, free: 7.395 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.838e-05/0.1045, allocations: 30.56 kB / 494.2 MB, free: 7.355 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.1045, allocations: 3.938 kB / 494.2 MB, free: 7.352 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005279/0.105, allocations: 165.2 kB / 494.3 MB, free: 7.184 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.33e-05/0.1051, allocations: 55.41 kB / 494.4 MB, free: 7.117 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002018/0.1053, allocations: 230.7 kB / 494.6 MB, free: 6.879 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.341e-05/0.1053, allocations: 29.7 kB / 494.6 MB, free: 6.844 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.625e-05/0.1054, allocations: 112 kB / 494.7 MB, free: 6.73 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.734e-05/0.1054, allocations: 15.73 kB / 494.8 MB, free: 6.715 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.627e-06/0.1054, allocations: 4 kB / 494.8 MB, free: 6.711 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001012/0.1055, allocations: 330.8 kB / 495.1 MB, free: 6.379 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.571e-05/0.1056, allocations: 19.98 kB / 495.1 MB, free: 6.359 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.846e-05/0.1056, allocations: 23.98 kB / 495.1 MB, free: 6.336 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001403/0.1058, allocations: 52.84 kB / 495.2 MB, free: 6.281 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.1058, allocations: 0 / 495.2 MB, free: 6.281 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001814/0.106, allocations: 93.7 kB / 495.3 MB, free: 6.184 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.106, allocations: 7.984 kB / 495.3 MB, free: 6.176 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.106, allocations: 4 kB / 495.3 MB, free: 6.172 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.106, allocations: 7.938 kB / 495.3 MB, free: 6.164 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.864e-05/0.1061, allocations: 8 kB / 495.3 MB, free: 6.156 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.1061, allocations: 4 kB / 495.3 MB, free: 6.152 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.068e-05/0.1062, allocations: 7.984 kB / 495.3 MB, free: 6.145 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.1062, allocations: 3.938 kB / 495.3 MB, free: 6.141 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 9.136e-05/0.1063, allocations: 129.8 kB / 495.4 MB, free: 6.004 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.047e-05/0.1063, allocations: 19.81 kB / 495.5 MB, free: 5.984 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002179/0.1065, allocations: 102.6 kB / 495.6 MB, free: 5.867 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.1065, allocations: 0 / 495.6 MB, free: 5.867 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.1065, allocations: 0 / 495.6 MB, free: 5.867 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.1066, allocations: 4 kB / 495.6 MB, free: 5.863 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003857/0.1069, allocations: 362.5 kB / 495.9 MB, free: 5.453 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.107, allocations: 0 / 495.9 MB, free: 5.453 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.498e-05/0.107, allocations: 19.92 kB / 495.9 MB, free: 5.434 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.107, allocations: 0 / 495.9 MB, free: 5.434 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.031e-06/0.107, allocations: 0 / 495.9 MB, free: 5.434 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.107, allocations: 3.938 kB / 495.9 MB, free: 5.43 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.107, allocations: 4 kB / 496 MB, free: 5.426 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002066/0.1073, allocations: 187.5 kB / 496.1 MB, free: 5.227 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.83e-05/0.1073, allocations: 85.06 kB / 496.2 MB, free: 5.125 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.595e-05/0.1073, allocations: 12 kB / 496.2 MB, free: 5.113 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.593e-05/0.1074, allocations: 11.94 kB / 496.2 MB, free: 5.102 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.174e-05/0.1074, allocations: 3.984 kB / 496.2 MB, free: 5.098 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.037e-06/0.1075, allocations: 4.281 kB / 496.2 MB, free: 5.094 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001307/0.1076, allocations: 188.3 kB / 496.4 MB, free: 4.91 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1076, allocations: 0 / 496.4 MB, free: 4.91 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002143/0.1078, allocations: 15.94 kB / 496.4 MB, free: 4.895 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.001112/0.1089, allocations: 1.024 MB / 497.5 MB, free: 3.895 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001756/0.1091, allocations: 59.97 kB / 497.5 MB, free: 3.836 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.1091, allocations: 0 / 497.5 MB, free: 3.836 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.039e-05/0.1092, allocations: 27.92 kB / 497.6 MB, free: 3.809 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002832/0.1095, allocations: 19.92 kB / 497.6 MB, free: 3.789 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001113/0.1106, allocations: 0.7943 MB / 498.4 MB, free: 2.945 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002603/0.1109, allocations: 0.7082 MB / 499.1 MB, free: 2.211 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.144e-05/0.111, allocations: 39.3 kB / 499.1 MB, free: 2.176 MB / 378.7 MB Notification: Performance of SimCode: time 1.9e-07/0.111, allocations: 0 / 499.1 MB, free: 2.176 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.571/2.682, allocations: 2.044 MB / 0.4894 GB, free: 132 kB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test28_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test28.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test28/Test28.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches