Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.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.CombiTable1Ds.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test5",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.001691/0.001692, allocations: 112.8 kB / 17.78 MB, free: 5.277 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.001813/0.001814, allocations: 180.9 kB / 18.71 MB, free: 4.363 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.474/1.474, allocations: 222.9 MB / 242.4 MB, free: 15.15 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.2408/0.2408, allocations: 44.19 MB / 336.8 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001911/0.001911, allocations: 63.91 kB / 470.1 MB, free: 13.61 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.411/0.4129, allocations: 60.82 MB / 0.5185 GB, free: 3.277 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.002937/0.4159, allocations: 1.586 MB / 0.52 GB, free: 2.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000687/0.4166, allocations: 408 kB / 0.5204 GB, free: 1.91 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.919e-05/0.4167, allocations: 2.062 kB / 0.5204 GB, free: 1.91 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002987/0.417, allocations: 88.34 kB / 0.5205 GB, free: 1.895 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002099/0.4172, allocations: 79.47 kB / 0.5206 GB, free: 1.863 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002603/0.4175, allocations: 81.19 kB / 0.5206 GB, free: 1.824 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000159/0.4177, allocations: 78.83 kB / 0.5207 GB, free: 1.793 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.4178, allocations: 14.3 kB / 0.5207 GB, free: 1.789 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.889e-05/0.4178, allocations: 34.22 kB / 0.5208 GB, free: 1.777 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001067/0.418, allocations: 54.58 kB / 0.5208 GB, free: 1.762 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.796e-05/0.418, allocations: 6.281 kB / 0.5208 GB, free: 1.758 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.876e-05/0.4181, allocations: 48.19 kB / 0.5209 GB, free: 1.742 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.773e-05/0.4182, allocations: 18.81 kB / 0.5209 GB, free: 1.734 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.046e-05/0.4182, allocations: 30.98 kB / 0.5209 GB, free: 1.711 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001953/0.4184, allocations: 109.8 kB / 0.521 GB, free: 1.664 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.4184, allocations: 0 / 0.521 GB, free: 1.664 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.4184, allocations: 1.188 kB / 0.521 GB, free: 1.664 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.4184, allocations: 0 / 0.521 GB, free: 1.664 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.0004248/0.4189, allocations: 405.4 kB / 0.5214 GB, free: 1.262 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.402e-05/0.4189, allocations: 17.38 kB / 0.5214 GB, free: 1.254 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.812e-05/0.419, allocations: 37.14 kB / 0.5215 GB, free: 1.211 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.403e-05/0.419, allocations: 13.66 kB / 0.5215 GB, free: 1.203 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001633/0.4192, allocations: 200.2 kB / 0.5217 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.167e-06/0.4192, allocations: 5.484 kB / 0.5217 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.941e-05/0.4192, allocations: 10.75 kB / 0.5217 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001435/0.4194, allocations: 56.36 kB / 0.5217 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.546e-05/0.4194, allocations: 1.094 kB / 0.5217 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.4194, allocations: 0 / 0.5217 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.4194, allocations: 5.094 kB / 0.5217 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001003/0.4195, allocations: 29.2 kB / 0.5218 GB, free: 0.918 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003245/0.4198, allocations: 295.4 kB / 0.522 GB, free: 0.625 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.666e-05/0.42, allocations: 43.14 kB / 0.5221 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.532e-05/0.42, allocations: 19.02 kB / 0.5221 GB, free: 0.582 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.318e-05/0.42, allocations: 1.703 kB / 0.5221 GB, free: 0.582 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.738e-05/0.4201, allocations: 35.59 kB / 0.5221 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.4201, allocations: 0 / 0.5221 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008847/0.421, allocations: 223.3 kB / 0.5223 GB, free: 460 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.235e-05/0.421, allocations: 61.75 kB / 0.5224 GB, free: 388 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002132/0.4212, allocations: 228.4 kB / 0.5226 GB, free: 244 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.408e-06/0.4212, allocations: 26.77 kB / 0.5226 GB, free: 212 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.162e-05/0.4213, allocations: 105.3 kB / 0.5228 GB, free: 112 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.99e-05/0.4213, allocations: 29.3 kB / 0.5228 GB, free: 88 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.855e-05/0.4214, allocations: 20.62 kB / 0.5228 GB, free: 68 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.4215, allocations: 323.1 kB / 0.5231 GB, free: 15.75 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.288e-05/0.4216, allocations: 25.67 kB / 0.5231 GB, free: 15.74 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.28e-05/0.4217, allocations: 31.39 kB / 0.5232 GB, free: 15.73 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001526/0.4218, allocations: 63.48 kB / 0.5232 GB, free: 15.7 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.4219, allocations: 0 / 0.5232 GB, free: 15.7 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002317/0.4221, allocations: 97.64 kB / 0.5233 GB, free: 15.65 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.4221, allocations: 5.156 kB / 0.5233 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.4221, allocations: 5.625 kB / 0.5233 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.4222, allocations: 4 kB / 0.5233 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/0.4223, allocations: 25.66 kB / 0.5234 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.4223, allocations: 4.5 kB / 0.5234 GB, free: 15.63 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.114e-05/0.4223, allocations: 4.578 kB / 0.5234 GB, free: 15.63 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.706e-06/0.4223, allocations: 2.75 kB / 0.5234 GB, free: 15.63 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.0001108/0.4225, allocations: 129.1 kB / 0.5235 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.524e-05/0.4225, allocations: 13.27 kB / 0.5235 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003168/0.4228, allocations: 119.7 kB / 0.5236 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.4228, allocations: 1.062 kB / 0.5236 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.4228, allocations: 3.938 kB / 0.5236 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.4229, allocations: 1.812 kB / 0.5236 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005571/0.4234, allocations: 398.2 kB / 0.524 GB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.4234, allocations: 8.484 kB / 0.524 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.892e-05/0.4235, allocations: 21.25 kB / 0.524 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.4235, allocations: 4 kB / 0.524 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/0.4235, allocations: 6.297 kB / 0.524 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.4235, allocations: 1.469 kB / 0.524 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.4235, allocations: 1.406 kB / 0.524 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002648/0.4238, allocations: 202.8 kB / 0.5242 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.724e-05/0.4239, allocations: 100.3 kB / 0.5243 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.848e-05/0.4239, allocations: 2.172 kB / 0.5243 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.275e-05/0.424, allocations: 8.844 kB / 0.5243 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.007e-05/0.424, allocations: 5.797 kB / 0.5243 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.324e-06/0.424, allocations: 2.859 kB / 0.5243 GB, free: 14.78 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001656/0.4242, allocations: 173.4 kB / 0.5245 GB, free: 14.68 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.4242, allocations: 0.875 kB / 0.5245 GB, free: 14.68 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002635/0.4245, allocations: 22.59 kB / 0.5245 GB, free: 14.67 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.002305/0.4268, allocations: 1.098 MB / 0.5256 GB, free: 13.84 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002956/0.4271, allocations: 59.22 kB / 0.5257 GB, free: 13.83 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.4271, allocations: 1.562 kB / 0.5257 GB, free: 13.83 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001009/0.4272, allocations: 34.56 kB / 0.5257 GB, free: 13.82 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004403/0.4277, allocations: 17.94 kB / 0.5257 GB, free: 13.82 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002278/0.43, allocations: 1.672 MB / 0.5273 GB, free: 12.48 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003357/0.4303, allocations: 0.7092 MB / 0.528 GB, free: 11.78 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.256e-05/0.4304, allocations: 17.48 kB / 0.5281 GB, free: 11.77 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.118e-05/0.4305, allocations: 37 kB / 0.5281 GB, free: 11.74 MB / 398.1 MB Notification: Performance of SimCode: time 4.51e-07/0.4305, allocations: 1.375 kB / 0.5281 GB, free: 11.74 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02499/0.4555, allocations: 3.1 MB / 0.5311 GB, free: 10.39 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.864/8.32, allocations: 8.609 kB / 0.5311 GB, free: 10.39 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test5.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches