Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test32,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test32,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test32",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00169/0.001691, allocations: 114.4 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00179/0.00179, allocations: 183.8 kB / 18.72 MB, free: 4.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.433/1.433, allocations: 222.9 MB / 242.4 MB, free: 15.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2224/0.2224, allocations: 44.18 MB / 336.8 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001173, allocations: 63.89 kB / 470.1 MB, free: 13.63 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3036/0.3048, allocations: 60.82 MB / 0.5184 GB, free: 3.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test32): time 0.002791/0.3077, allocations: 1.588 MB / 0.52 GB, free: 2.168 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007026/0.3084, allocations: 415.3 kB / 0.5204 GB, free: 1.898 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.693e-05/0.3085, allocations: 1.25 kB / 0.5204 GB, free: 1.898 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003294/0.3088, allocations: 109.4 kB / 0.5205 GB, free: 1.875 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002214/0.309, allocations: 81.91 kB / 0.5206 GB, free: 1.848 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003027/0.3093, allocations: 107.2 kB / 0.5207 GB, free: 1.797 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001699/0.3095, allocations: 84.44 kB / 0.5208 GB, free: 1.766 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.3096, allocations: 19.61 kB / 0.5208 GB, free: 1.758 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.254e-05/0.3097, allocations: 37.67 kB / 0.5208 GB, free: 1.746 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001314/0.3099, allocations: 65.12 kB / 0.5209 GB, free: 1.73 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.984e-05/0.3099, allocations: 3.906 kB / 0.5209 GB, free: 1.73 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001135/0.31, allocations: 47.67 kB / 0.5209 GB, free: 1.715 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.184e-05/0.3101, allocations: 21.22 kB / 0.5209 GB, free: 1.707 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.428e-05/0.3101, allocations: 34.73 kB / 0.521 GB, free: 1.68 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002401/0.3104, allocations: 116.9 kB / 0.5211 GB, free: 1.629 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.3104, allocations: 0 / 0.5211 GB, free: 1.629 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.3104, allocations: 1.125 kB / 0.5211 GB, free: 1.629 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.3104, allocations: 0 / 0.5211 GB, free: 1.629 MB / 382.1 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.0005033/0.3109, allocations: 420.3 kB / 0.5215 GB, free: 1.215 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.843e-05/0.311, allocations: 9.375 kB / 0.5215 GB, free: 1.215 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.666e-05/0.311, allocations: 33.03 kB / 0.5215 GB, free: 1.176 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.961e-05/0.311, allocations: 10.8 kB / 0.5215 GB, free: 1.172 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001681/0.3112, allocations: 211.5 kB / 0.5217 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.3112, allocations: 1.406 kB / 0.5217 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.547e-05/0.3113, allocations: 12.52 kB / 0.5218 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001429/0.3114, allocations: 55.61 kB / 0.5218 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.3114, allocations: 1.516 kB / 0.5218 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.3115, allocations: 4 kB / 0.5218 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.3115, allocations: 5.125 kB / 0.5218 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000107/0.3116, allocations: 26.88 kB / 0.5219 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004449/0.312, allocations: 307.4 kB / 0.5221 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001203/0.3122, allocations: 48.97 kB / 0.5222 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.759e-05/0.3122, allocations: 24.55 kB / 0.5222 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.56e-05/0.3123, allocations: 1.188 kB / 0.5222 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.861e-05/0.3123, allocations: 31.17 kB / 0.5222 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.3123, allocations: 5.156 kB / 0.5222 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009624/0.3133, allocations: 239.1 kB / 0.5225 GB, free: 408 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.146e-05/0.3133, allocations: 58.48 kB / 0.5225 GB, free: 340 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002535/0.3136, allocations: 237.8 kB / 0.5228 GB, free: 196 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.239e-05/0.3136, allocations: 29.7 kB / 0.5228 GB, free: 160 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.307e-05/0.3137, allocations: 115.1 kB / 0.5229 GB, free: 52 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.564e-05/0.3137, allocations: 26 kB / 0.5229 GB, free: 32 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.315e-05/0.3137, allocations: 20.27 kB / 0.5229 GB, free: 12 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001674/0.3139, allocations: 327.4 kB / 0.5233 GB, free: 15.69 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.107e-05/0.314, allocations: 29.95 kB / 0.5233 GB, free: 15.68 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.858e-05/0.3141, allocations: 32.25 kB / 0.5233 GB, free: 15.68 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001844/0.3143, allocations: 79.73 kB / 0.5234 GB, free: 15.64 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.3143, allocations: 0 / 0.5234 GB, free: 15.64 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002381/0.3146, allocations: 109.7 kB / 0.5235 GB, free: 15.59 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.3146, allocations: 8.375 kB / 0.5235 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.3146, allocations: 0 / 0.5235 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.3146, allocations: 0.9375 kB / 0.5235 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001041/0.3147, allocations: 25.16 kB / 0.5235 GB, free: 15.58 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.3147, allocations: 8.641 kB / 0.5235 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.012e-05/0.3148, allocations: 4.938 kB / 0.5235 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.676e-06/0.3148, allocations: 2.531 kB / 0.5235 GB, free: 15.57 MB / 398.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001064/0.3149, allocations: 133 kB / 0.5237 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.052e-05/0.315, allocations: 18.47 kB / 0.5237 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003196/0.3153, allocations: 127.8 kB / 0.5238 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.3153, allocations: 5.875 kB / 0.5238 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.3153, allocations: 9.062 kB / 0.5238 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.3153, allocations: 0 / 0.5238 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00065/0.316, allocations: 430 kB / 0.5242 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.316, allocations: 3.938 kB / 0.5242 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.66e-05/0.3161, allocations: 17.84 kB / 0.5243 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.3161, allocations: 0 / 0.5243 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.3161, allocations: 1.75 kB / 0.5243 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.3161, allocations: 8.484 kB / 0.5243 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.3161, allocations: 1.844 kB / 0.5243 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002736/0.3164, allocations: 210.4 kB / 0.5245 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.402e-05/0.3165, allocations: 91.89 kB / 0.5246 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.015e-05/0.3165, allocations: 3.312 kB / 0.5246 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.519e-05/0.3166, allocations: 13.64 kB / 0.5246 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.123e-05/0.3166, allocations: 4.359 kB / 0.5246 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.563e-06/0.3166, allocations: 2.734 kB / 0.5246 GB, free: 14.7 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001691/0.3168, allocations: 187.8 kB / 0.5248 GB, free: 14.6 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3168, allocations: 0 / 0.5248 GB, free: 14.6 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002612/0.3171, allocations: 20.38 kB / 0.5248 GB, free: 14.59 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002002/0.3191, allocations: 1.104 MB / 0.5259 GB, free: 13.77 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003021/0.3194, allocations: 79.25 kB / 0.5259 GB, free: 13.74 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.3194, allocations: 0 / 0.5259 GB, free: 13.74 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001334/0.3196, allocations: 43.52 kB / 0.526 GB, free: 13.73 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005152/0.3201, allocations: 15.91 kB / 0.526 GB, free: 13.73 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002248/0.3223, allocations: 1.769 MB / 0.5277 GB, free: 12.36 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003672/0.3227, allocations: 0.7178 MB / 0.5284 GB, free: 11.65 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.445e-05/0.3228, allocations: 20.56 kB / 0.5284 GB, free: 11.64 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.981e-05/0.3229, allocations: 37.06 kB / 0.5285 GB, free: 11.62 MB / 398.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3229, allocations: 4 kB / 0.5285 GB, free: 11.61 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02436/0.3473, allocations: 3.248 MB / 0.5316 GB, free: 10.12 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.734/9.081, allocations: 8.969 kB / 0.5317 GB, free: 10.11 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32_res.csv --start-time 7.99 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004804 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test32.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test32/Test32.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches