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.001133/0.001133, allocations: 113.8 kB / 17.78 MB, free: 5.281 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.001169/0.001169, allocations: 179.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.335/1.335, 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.2043/0.2043, allocations: 44.19 MB / 336.8 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001413/0.001413, allocations: 59.91 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3396/0.341, allocations: 60.82 MB / 0.5184 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.003692/0.3447, allocations: 1.596 MB / 0.52 GB, free: 2.184 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007702/0.3455, allocations: 402.1 kB / 0.5204 GB, free: 1.922 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.757e-05/0.3456, allocations: 1.156 kB / 0.5204 GB, free: 1.922 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003351/0.346, allocations: 84.42 kB / 0.5205 GB, free: 1.91 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002322/0.3462, allocations: 79.47 kB / 0.5205 GB, free: 1.879 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002855/0.3465, allocations: 82.11 kB / 0.5206 GB, free: 1.84 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00017/0.3467, allocations: 79.53 kB / 0.5207 GB, free: 1.809 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.3468, allocations: 13.31 kB / 0.5207 GB, free: 1.805 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.106e-05/0.3469, allocations: 39.45 kB / 0.5208 GB, free: 1.789 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001127/0.347, allocations: 49.86 kB / 0.5208 GB, free: 1.777 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.76e-05/0.347, allocations: 6.75 kB / 0.5208 GB, free: 1.773 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001025/0.3471, allocations: 47.95 kB / 0.5209 GB, free: 1.758 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.95e-05/0.3472, allocations: 18.5 kB / 0.5209 GB, free: 1.75 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.886e-05/0.3472, allocations: 31.27 kB / 0.5209 GB, free: 1.727 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002372/0.3475, allocations: 109.8 kB / 0.521 GB, free: 1.68 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.3475, allocations: 0 / 0.521 GB, free: 1.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3475, allocations: 0 / 0.521 GB, free: 1.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.172e-06/0.3475, allocations: 5.219 kB / 0.521 GB, free: 1.676 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.0004914/0.348, allocations: 413.2 kB / 0.5214 GB, free: 1.266 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.3481, allocations: 13.22 kB / 0.5214 GB, free: 1.262 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.137e-05/0.3481, allocations: 33.2 kB / 0.5214 GB, free: 1.223 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.963e-05/0.3482, allocations: 14.72 kB / 0.5215 GB, free: 1.215 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001738/0.3483, allocations: 202.8 kB / 0.5217 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.3484, allocations: 5.5 kB / 0.5217 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.141e-05/0.3484, allocations: 7.125 kB / 0.5217 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001515/0.3485, allocations: 52.23 kB / 0.5217 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.3486, allocations: 1.156 kB / 0.5217 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.3486, allocations: 4 kB / 0.5217 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.3486, allocations: 1.125 kB / 0.5217 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001008/0.3487, allocations: 29.33 kB / 0.5218 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003397/0.349, allocations: 291.1 kB / 0.522 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001102/0.3492, allocations: 47.17 kB / 0.5221 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.281e-05/0.3492, allocations: 15.33 kB / 0.5221 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.056e-05/0.3493, allocations: 0.5625 kB / 0.5221 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.515e-05/0.3493, allocations: 40.34 kB / 0.5221 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.3493, allocations: 1.188 kB / 0.5221 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008793/0.3502, allocations: 219.2 kB / 0.5223 GB, free: 480 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.593e-05/0.3502, allocations: 61.08 kB / 0.5224 GB, free: 408 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002073/0.3504, allocations: 228 kB / 0.5226 GB, free: 264 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.044e-05/0.3504, allocations: 26.98 kB / 0.5226 GB, free: 232 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.866e-05/0.3505, allocations: 105.6 kB / 0.5227 GB, free: 132 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.535e-05/0.3505, allocations: 28.16 kB / 0.5228 GB, free: 108 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.555e-05/0.3506, allocations: 21.81 kB / 0.5228 GB, free: 88 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.3507, allocations: 322.8 kB / 0.5231 GB, free: 15.77 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.885e-05/0.3508, allocations: 33.98 kB / 0.5231 GB, free: 15.75 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.659e-05/0.3509, allocations: 23.23 kB / 0.5232 GB, free: 15.75 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001636/0.351, allocations: 62.84 kB / 0.5232 GB, free: 15.72 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.351, allocations: 0 / 0.5232 GB, free: 15.72 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002121/0.3513, allocations: 109.6 kB / 0.5233 GB, free: 15.66 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.3513, allocations: 6.688 kB / 0.5233 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.3513, allocations: 96 / 0.5233 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.3513, allocations: 9.172 kB / 0.5233 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/0.3514, allocations: 21.5 kB / 0.5234 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.3514, allocations: 3.938 kB / 0.5234 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.442e-05/0.3515, allocations: 5.812 kB / 0.5234 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-06/0.3515, allocations: 1.094 kB / 0.5234 GB, free: 15.64 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 9.547e-05/0.3516, allocations: 129.5 kB / 0.5235 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.879e-05/0.3516, allocations: 14.53 kB / 0.5235 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002776/0.3519, allocations: 118.2 kB / 0.5236 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.3519, allocations: 5.406 kB / 0.5236 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.352, allocations: 4.688 kB / 0.5236 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.352, allocations: 0 / 0.5236 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005141/0.3525, allocations: 402.7 kB / 0.524 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.3525, allocations: 4.688 kB / 0.524 GB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.873e-05/0.3526, allocations: 16.86 kB / 0.524 GB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.3526, allocations: 5.25 kB / 0.524 GB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/0.3526, allocations: 1.75 kB / 0.524 GB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.3526, allocations: 1.125 kB / 0.524 GB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.3526, allocations: 1.766 kB / 0.524 GB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002778/0.3529, allocations: 210.6 kB / 0.5242 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.602e-05/0.353, allocations: 92.84 kB / 0.5243 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.075e-05/0.353, allocations: 1.438 kB / 0.5243 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.39e-05/0.3531, allocations: 5.922 kB / 0.5243 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.594e-05/0.3531, allocations: 5.547 kB / 0.5243 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.141e-05/0.3532, allocations: 11.3 kB / 0.5243 GB, free: 14.79 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000157/0.3533, allocations: 168.6 kB / 0.5245 GB, free: 14.7 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.3533, allocations: 1.75 kB / 0.5245 GB, free: 14.7 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002639/0.3536, allocations: 21.09 kB / 0.5245 GB, free: 14.69 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.001502/0.3551, allocations: 1.096 MB / 0.5256 GB, free: 13.86 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002276/0.3553, allocations: 64.33 kB / 0.5257 GB, free: 13.85 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.3554, allocations: 0 / 0.5257 GB, free: 13.85 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.208e-05/0.3555, allocations: 38.78 kB / 0.5257 GB, free: 13.84 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000378/0.3558, allocations: 18.78 kB / 0.5257 GB, free: 13.83 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001941/0.3578, allocations: 1.669 MB / 0.5273 GB, free: 12.49 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003187/0.3581, allocations: 0.7141 MB / 0.528 GB, free: 11.79 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.956e-05/0.3582, allocations: 17.36 kB / 0.5281 GB, free: 11.78 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.603e-05/0.3583, allocations: 32.73 kB / 0.5281 GB, free: 11.75 MB / 398.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3583, allocations: 0 / 0.5281 GB, free: 11.75 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02082/0.3791, allocations: 3.106 MB / 0.5311 GB, free: 10.4 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.941/8.32, allocations: 2.797 kB / 0.5311 GB, free: 10.4 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