Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.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 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 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 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.FluxTubes.BasicComponents,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_BasicComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.FluxTubes.BasicComponents,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_BasicComponents",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.001169/0.001169, allocations: 108 kB / 16.41 MB, free: 6.488 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.001287/0.001287, allocations: 185.5 kB / 17.34 MB, free: 5.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.513/1.513, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2414/0.2414, allocations: 43.52 MB / 314.1 MB, free: 480 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001409/0.001409, allocations: 71.89 kB / 441.3 MB, free: 6.215 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1352/0.1366, allocations: 57.78 MB / 499.1 MB, free: 12.36 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.BasicComponents): time 0.005432/0.1421, allocations: 3.436 MB / 0.4907 GB, free: 8.902 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002323/0.1445, allocations: 0.8226 MB / 0.4915 GB, free: 8.07 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007142/0.1452, allocations: 11.94 kB / 0.4916 GB, free: 8.059 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004585/0.1457, allocations: 75.23 kB / 0.4916 GB, free: 7.984 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007385/0.1465, allocations: 134.8 kB / 0.4918 GB, free: 7.852 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006573/0.1472, allocations: 123.8 kB / 0.4919 GB, free: 7.73 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008556/0.148, allocations: 0.5217 MB / 0.4924 GB, free: 7.207 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004159/0.1485, allocations: 245.8 kB / 0.4926 GB, free: 6.961 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003175/0.1488, allocations: 207.3 kB / 0.4928 GB, free: 6.758 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002582/0.1491, allocations: 238.9 kB / 0.493 GB, free: 6.523 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.329e-05/0.1491, allocations: 48 kB / 0.4931 GB, free: 6.477 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.774e-05/0.1492, allocations: 52 kB / 0.4931 GB, free: 6.426 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.854e-05/0.1493, allocations: 111.6 kB / 0.4932 GB, free: 6.316 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002128/0.1495, allocations: 246.9 kB / 0.4935 GB, free: 6.074 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006304/0.1502, allocations: 0.5602 MB / 0.494 GB, free: 5.512 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1502, allocations: 0 / 0.494 GB, free: 5.512 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.1502, allocations: 0 / 0.494 GB, free: 5.512 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.262e-05/0.1502, allocations: 0 / 0.494 GB, free: 5.512 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.00134/0.1516, allocations: 0.7715 MB / 0.4948 GB, free: 4.691 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.213e-05/0.1516, allocations: 11.89 kB / 0.4948 GB, free: 4.68 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001123/0.1517, allocations: 86.7 kB / 0.4949 GB, free: 4.586 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001176/0.1519, allocations: 48.66 kB / 0.4949 GB, free: 4.539 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005744/0.1524, allocations: 329.5 kB / 0.4952 GB, free: 4.176 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.259e-05/0.1525, allocations: 37.38 kB / 0.4953 GB, free: 4.141 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.715e-05/0.1526, allocations: 48.31 kB / 0.4953 GB, free: 4.094 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000855/0.1535, allocations: 463.1 kB / 0.4958 GB, free: 3.629 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.765e-05/0.1535, allocations: 0 / 0.4958 GB, free: 3.629 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.38e-05/0.1535, allocations: 20 kB / 0.4958 GB, free: 3.609 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.53e-05/0.1536, allocations: 16 kB / 0.4958 GB, free: 3.594 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007102/0.1543, allocations: 323.8 kB / 0.4961 GB, free: 3.277 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002464/0.1568, allocations: 1.678 MB / 0.4977 GB, free: 1.484 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005683/0.1573, allocations: 240.9 kB / 0.498 GB, free: 1.23 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003496/0.1577, allocations: 141.6 kB / 0.4981 GB, free: 1.086 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.727e-05/0.1577, allocations: 8 kB / 0.4981 GB, free: 1.078 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.6e-05/0.1578, allocations: 38.5 kB / 0.4981 GB, free: 1.031 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 1.593e-06/0.1578, allocations: 0 / 0.4981 GB, free: 1.031 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.003086/0.1609, allocations: 1.345 MB / 0.4995 GB, free: 15.57 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.547e-05/0.161, allocations: 85.11 kB / 0.4995 GB, free: 15.47 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002705/0.1612, allocations: 262.8 kB / 0.4998 GB, free: 15.2 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.854e-05/0.1613, allocations: 29.7 kB / 0.4998 GB, free: 15.17 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001639/0.1614, allocations: 268 kB / 0.5001 GB, free: 14.9 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001005/0.1615, allocations: 130.9 kB / 0.5002 GB, free: 14.77 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001029/0.1617, allocations: 74.09 kB / 0.5003 GB, free: 14.69 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.1618, allocations: 350.7 kB / 0.5006 GB, free: 14.34 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002725/0.1621, allocations: 108.8 kB / 0.5007 GB, free: 14.23 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003227/0.1624, allocations: 208.5 kB / 0.5009 GB, free: 13.99 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006014/0.163, allocations: 335.7 kB / 0.5012 GB, free: 13.62 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.163, allocations: 4 kB / 0.5012 GB, free: 13.61 MB / 398.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009766/0.164, allocations: 422.1 kB / 0.5016 GB, free: 13.19 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/0.1641, allocations: 8.031 kB / 0.5016 GB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.357e-06/0.1641, allocations: 7.938 kB / 0.5017 GB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001557/0.1642, allocations: 32.78 kB / 0.5017 GB, free: 13.14 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004521/0.1647, allocations: 119.9 kB / 0.5018 GB, free: 13.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001163/0.1659, allocations: 1.438 MB / 0.5032 GB, free: 11.44 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002366/0.1661, allocations: 16 kB / 0.5032 GB, free: 11.42 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.472e-05/0.1661, allocations: 16.06 kB / 0.5032 GB, free: 11.41 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001853/0.1663, allocations: 177.7 kB / 0.5034 GB, free: 11.22 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.314e-05/0.1664, allocations: 35.8 kB / 0.5034 GB, free: 11.19 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.195e-05/0.1665, allocations: 38.17 kB / 0.5035 GB, free: 11.15 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.1665, allocations: 4 kB / 0.5035 GB, free: 11.14 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.1665, allocations: 4 kB / 0.5035 GB, free: 11.14 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.1665, allocations: 0 / 0.5035 GB, free: 11.14 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001034/0.1676, allocations: 0.7154 MB / 0.5042 GB, free: 10.36 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.1676, allocations: 0 / 0.5042 GB, free: 10.36 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003915/0.168, allocations: 87.94 kB / 0.5043 GB, free: 10.27 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.799e-05/0.1681, allocations: 40.72 kB / 0.5043 GB, free: 10.23 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.234e-05/0.1681, allocations: 12 kB / 0.5043 GB, free: 10.22 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009371/0.169, allocations: 1.422 MB / 0.5057 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1691, allocations: 0 / 0.5057 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009695/0.17, allocations: 0.6088 MB / 0.5063 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001165/0.1702, allocations: 124.9 kB / 0.5064 GB, free: 7.887 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.901e-05/0.1702, allocations: 8.234 kB / 0.5064 GB, free: 7.879 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000262/0.1705, allocations: 19.92 kB / 0.5064 GB, free: 7.859 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.104e-05/0.1706, allocations: 27.97 kB / 0.5065 GB, free: 7.832 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.864e-05/0.1706, allocations: 23.91 kB / 0.5065 GB, free: 7.809 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001768/0.1708, allocations: 178 kB / 0.5067 GB, free: 7.637 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1708, allocations: 0 / 0.5067 GB, free: 7.637 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004429/0.1712, allocations: 92 kB / 0.5068 GB, free: 7.547 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (converter.i,converter1.i,eddyCurrent.Phi) * 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 (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001251/0.1725, allocations: 1.151 MB / 0.5079 GB, free: 6.359 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000816/0.1733, allocations: 402.4 kB / 0.5083 GB, free: 5.953 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1733, allocations: 0 / 0.5083 GB, free: 5.953 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003886/0.1737, allocations: 258.1 kB / 0.5085 GB, free: 5.691 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004664/0.1742, allocations: 44.41 kB / 0.5085 GB, free: 5.645 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004638/0.1788, allocations: 3.484 MB / 0.5119 GB, free: 1.977 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003705/0.1792, allocations: 0.819 MB / 0.5127 GB, free: 1.133 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001435/0.1794, allocations: 30.97 kB / 0.5128 GB, free: 1.102 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001754/0.1796, allocations: 135.4 kB / 0.5129 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of SimCode: time 7.12e-07/0.1796, allocations: 0 / 0.5129 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02958/0.2092, allocations: 6.45 MB / 0.5192 GB, free: 10.52 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.489/9.699, allocations: 8 kB / 0.5192 GB, free: 10.51 MB / 414.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents_res.csv --start-time 0 --stop-time 14 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.00300043 ModelicaTest_3_2_3_ModelicaTest_FluxTubes_BasicComponents.fmu > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/BasicComponents/BasicComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches