Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.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.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test24",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.00178/0.00178, allocations: 113.2 kB / 17.78 MB, free: 5.129 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.00182/0.00182, allocations: 181 kB / 18.71 MB, free: 4.207 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.455/1.455, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.2178/0.2178, allocations: 44.18 MB / 336.8 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001861/0.001861, allocations: 59.91 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3315/0.3333, allocations: 60.83 MB / 0.5184 GB, free: 3.289 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test24): time 0.003097/0.3365, allocations: 1.559 MB / 0.52 GB, free: 2.211 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001448/0.338, allocations: 1.027 MB / 0.521 GB, free: 1.48 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.291e-05/0.3381, allocations: 1.312 kB / 0.521 GB, free: 1.48 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002676/0.3383, allocations: 15.83 kB / 0.521 GB, free: 1.473 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002232/0.3386, allocations: 45.91 kB / 0.521 GB, free: 1.445 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003088/0.3389, allocations: 95.72 kB / 0.5211 GB, free: 1.395 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001636/0.3391, allocations: 52.03 kB / 0.5212 GB, free: 1.375 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001354/0.3392, allocations: 11.25 kB / 0.5212 GB, free: 1.371 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.418e-05/0.3393, allocations: 30.42 kB / 0.5212 GB, free: 1.352 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001705/0.3395, allocations: 22.09 kB / 0.5212 GB, free: 1.344 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.13e-05/0.3395, allocations: 3.406 kB / 0.5212 GB, free: 1.344 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000123/0.3396, allocations: 52.75 kB / 0.5213 GB, free: 1.324 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.363e-05/0.3397, allocations: 13.33 kB / 0.5213 GB, free: 1.316 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.535e-05/0.3397, allocations: 21.06 kB / 0.5213 GB, free: 1.301 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002223/0.3399, allocations: 86.03 kB / 0.5214 GB, free: 1.27 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.34, allocations: 4.609 kB / 0.5214 GB, free: 1.266 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.34, allocations: 0 / 0.5214 GB, free: 1.266 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.852e-06/0.34, allocations: 1.125 kB / 0.5214 GB, free: 1.266 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004705/0.3405, allocations: 381.8 kB / 0.5218 GB, free: 0.875 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/0.3405, allocations: 13.53 kB / 0.5218 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.231e-05/0.3406, allocations: 36.25 kB / 0.5218 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.501e-05/0.3406, allocations: 8.766 kB / 0.5218 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001736/0.3408, allocations: 185.5 kB / 0.522 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.3408, allocations: 1.625 kB / 0.522 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.919e-05/0.3408, allocations: 3.5 kB / 0.522 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001547/0.341, allocations: 64.92 kB / 0.5221 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/0.341, allocations: 11.89 kB / 0.5221 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.989e-06/0.341, allocations: 1.5 kB / 0.5221 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.341, allocations: 0 / 0.5221 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.349e-05/0.3411, allocations: 26.91 kB / 0.5221 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003147/0.3414, allocations: 268.7 kB / 0.5224 GB, free: 264 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002123/0.3417, allocations: 47.44 kB / 0.5224 GB, free: 228 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.138e-05/0.3417, allocations: 18.17 kB / 0.5224 GB, free: 216 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.101e-05/0.3418, allocations: 5.125 kB / 0.5224 GB, free: 212 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.099e-05/0.3418, allocations: 32.3 kB / 0.5225 GB, free: 172 kB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.262e-06/0.3418, allocations: 0 / 0.5225 GB, free: 172 kB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005537/0.3423, allocations: 132 kB / 0.5226 GB, free: 112 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.929e-05/0.3424, allocations: 77.77 kB / 0.5227 GB, free: 16 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002006/0.3426, allocations: 139.6 kB / 0.5228 GB, free: 15.9 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.029e-05/0.3427, allocations: 33.7 kB / 0.5228 GB, free: 15.86 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.342e-05/0.3427, allocations: 94.12 kB / 0.5229 GB, free: 15.77 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.783e-05/0.3428, allocations: 18.53 kB / 0.5229 GB, free: 15.75 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.846e-05/0.3428, allocations: 16.14 kB / 0.523 GB, free: 15.74 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001726/0.343, allocations: 322.3 kB / 0.5233 GB, free: 15.42 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.962e-05/0.3431, allocations: 18.42 kB / 0.5233 GB, free: 15.41 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.234e-05/0.3432, allocations: 34.92 kB / 0.5233 GB, free: 15.39 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001326/0.3433, allocations: 42.8 kB / 0.5234 GB, free: 15.38 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.3433, allocations: 1.125 kB / 0.5234 GB, free: 15.38 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001871/0.3435, allocations: 84.11 kB / 0.5234 GB, free: 15.32 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.3436, allocations: 5.375 kB / 0.5234 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.3436, allocations: 0 / 0.5234 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.3436, allocations: 1.875 kB / 0.5234 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.204e-05/0.3437, allocations: 19.95 kB / 0.5235 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.3437, allocations: 1.219 kB / 0.5235 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.171e-05/0.3437, allocations: 5.297 kB / 0.5235 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.648e-06/0.3437, allocations: 5 kB / 0.5235 GB, free: 15.31 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 (5): * Single equations (assignments): 5 * 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.0001022/0.3438, allocations: 114.3 kB / 0.5236 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.109e-05/0.3439, allocations: 7.516 kB / 0.5236 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002375/0.3441, allocations: 92.09 kB / 0.5237 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.3441, allocations: 5.578 kB / 0.5237 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.3442, allocations: 5.094 kB / 0.5237 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.3442, allocations: 3.938 kB / 0.5237 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004596/0.3446, allocations: 339.1 kB / 0.524 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.3446, allocations: 0 / 0.524 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.689e-05/0.3447, allocations: 16.91 kB / 0.524 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.3447, allocations: 0 / 0.524 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.3447, allocations: 5.75 kB / 0.524 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.3447, allocations: 8.938 kB / 0.524 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.3447, allocations: 0 / 0.524 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002525/0.345, allocations: 173.4 kB / 0.5242 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.269e-05/0.3451, allocations: 82.83 kB / 0.5243 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.909e-05/0.3451, allocations: 1.781 kB / 0.5243 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.244e-05/0.3452, allocations: 8.719 kB / 0.5243 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.792e-05/0.3452, allocations: 8.625 kB / 0.5243 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.619e-06/0.3452, allocations: 1.25 kB / 0.5243 GB, free: 14.53 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001096/0.3453, allocations: 103.7 kB / 0.5244 GB, free: 14.45 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3453, allocations: 0 / 0.5244 GB, free: 14.45 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002661/0.3456, allocations: 23.53 kB / 0.5244 GB, free: 14.44 MB / 398.1 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 (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.00212/0.3477, allocations: 1.055 MB / 0.5255 GB, free: 13.64 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002232/0.348, allocations: 44.47 kB / 0.5255 GB, free: 13.63 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.348, allocations: 6.344 kB / 0.5255 GB, free: 13.63 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.457e-05/0.3481, allocations: 25.95 kB / 0.5255 GB, free: 13.62 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003685/0.3484, allocations: 22.11 kB / 0.5256 GB, free: 13.61 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001702/0.3502, allocations: 1.373 MB / 0.5269 GB, free: 12.38 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003385/0.3505, allocations: 0.6908 MB / 0.5276 GB, free: 11.68 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.558e-05/0.3506, allocations: 15.83 kB / 0.5276 GB, free: 11.67 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.894e-05/0.3507, allocations: 29.05 kB / 0.5276 GB, free: 11.66 MB / 398.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3507, allocations: 3.938 kB / 0.5276 GB, free: 11.65 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02441/0.3751, allocations: 2.741 MB / 0.5303 GB, free: 10.54 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.87/8.245, allocations: 12.42 kB / 0.5303 GB, free: 10.53 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test24.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches