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.001662/0.001663, allocations: 112.3 kB / 16.41 MB, free: 6.027 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.00185/0.00185, allocations: 185.1 kB / 17.34 MB, free: 5.633 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.525/1.525, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.2447/0.2447, allocations: 43.52 MB / 314.1 MB, free: 472 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.001516/0.001516, allocations: 67.89 kB / 441.3 MB, free: 6.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.1329, allocations: 57.78 MB / 499.1 MB, free: 12.33 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.BasicComponents): time 0.004972/0.1379, allocations: 3.433 MB / 0.4907 GB, free: 8.875 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001983/0.14, allocations: 0.8342 MB / 0.4915 GB, free: 8.031 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004246/0.1404, allocations: 8 kB / 0.4915 GB, free: 8.023 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003123/0.1408, allocations: 79.23 kB / 0.4916 GB, free: 7.945 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004734/0.1413, allocations: 122.8 kB / 0.4917 GB, free: 7.824 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005056/0.1418, allocations: 127.8 kB / 0.4919 GB, free: 7.699 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007605/0.1426, allocations: 0.5257 MB / 0.4924 GB, free: 7.172 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004557/0.1431, allocations: 241.8 kB / 0.4926 GB, free: 6.93 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000423/0.1435, allocations: 211.3 kB / 0.4928 GB, free: 6.723 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004118/0.144, allocations: 231 kB / 0.493 GB, free: 6.496 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001429/0.1441, allocations: 52 kB / 0.4931 GB, free: 6.445 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000121/0.1442, allocations: 52 kB / 0.4931 GB, free: 6.395 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001227/0.1444, allocations: 115.5 kB / 0.4932 GB, free: 6.281 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003254/0.1447, allocations: 246.9 kB / 0.4935 GB, free: 6.039 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007888/0.1455, allocations: 0.5527 MB / 0.494 GB, free: 5.484 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.1455, allocations: 0 / 0.494 GB, free: 5.484 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.664e-06/0.1455, allocations: 0 / 0.494 GB, free: 5.484 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.626e-05/0.1456, allocations: 0 / 0.494 GB, free: 5.484 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.002029/0.1476, allocations: 0.7676 MB / 0.4948 GB, free: 4.672 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.436e-05/0.1477, allocations: 11.89 kB / 0.4948 GB, free: 4.66 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001673/0.1479, allocations: 82.72 kB / 0.4948 GB, free: 4.57 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000147/0.148, allocations: 52.31 kB / 0.4949 GB, free: 4.52 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006862/0.1487, allocations: 333.2 kB / 0.4952 GB, free: 4.152 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.83e-05/0.1488, allocations: 37.38 kB / 0.4953 GB, free: 4.117 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.905e-05/0.1489, allocations: 48.38 kB / 0.4953 GB, free: 4.07 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001032/0.1499, allocations: 467 kB / 0.4957 GB, free: 3.602 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.046e-05/0.15, allocations: 0 / 0.4957 GB, free: 3.602 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.057e-05/0.15, allocations: 24 kB / 0.4958 GB, free: 3.578 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.812e-05/0.15, allocations: 12 kB / 0.4958 GB, free: 3.566 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008108/0.1509, allocations: 323.8 kB / 0.4961 GB, free: 3.25 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002946/0.1538, allocations: 1.666 MB / 0.4977 GB, free: 1.469 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006406/0.1545, allocations: 233 kB / 0.4979 GB, free: 1.223 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003543/0.1549, allocations: 145.8 kB / 0.4981 GB, free: 1.074 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.172e-05/0.1549, allocations: 7.984 kB / 0.4981 GB, free: 1.066 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.649e-05/0.155, allocations: 34.56 kB / 0.4981 GB, free: 1.023 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 2.485e-06/0.155, allocations: 0 / 0.4981 GB, free: 1.023 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.003467/0.1585, allocations: 1.34 MB / 0.4994 GB, free: 15.56 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.514e-05/0.1586, allocations: 81.11 kB / 0.4995 GB, free: 15.46 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003422/0.1589, allocations: 266.5 kB / 0.4998 GB, free: 15.2 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.195e-05/0.159, allocations: 29.7 kB / 0.4998 GB, free: 15.16 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001864/0.1592, allocations: 259.4 kB / 0.5 GB, free: 14.9 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001276/0.1593, allocations: 122.2 kB / 0.5001 GB, free: 14.78 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001282/0.1594, allocations: 82.05 kB / 0.5002 GB, free: 14.69 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001805/0.1596, allocations: 346.7 kB / 0.5006 GB, free: 14.34 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003063/0.1599, allocations: 104.8 kB / 0.5007 GB, free: 14.24 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000362/0.1603, allocations: 216.3 kB / 0.5009 GB, free: 13.99 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006685/0.161, allocations: 331.8 kB / 0.5012 GB, free: 13.62 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.593e-06/0.161, allocations: 4 kB / 0.5012 GB, free: 13.62 MB / 398.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009597/0.162, allocations: 421.9 kB / 0.5016 GB, free: 13.2 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.528e-05/0.162, allocations: 8 kB / 0.5016 GB, free: 13.19 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.1621, allocations: 0 / 0.5016 GB, free: 13.19 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001867/0.1622, allocations: 32.78 kB / 0.5016 GB, free: 13.15 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004867/0.1627, allocations: 123.8 kB / 0.5017 GB, free: 13.03 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001349/0.1641, allocations: 1.438 MB / 0.5031 GB, free: 11.45 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003378/0.1645, allocations: 20.05 kB / 0.5032 GB, free: 11.43 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.517e-05/0.1645, allocations: 20 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.0002905/0.1648, allocations: 173.5 kB / 0.5034 GB, free: 11.23 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001039/0.165, allocations: 27.62 kB / 0.5034 GB, free: 11.2 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001017/0.1651, allocations: 42.31 kB / 0.5034 GB, free: 11.16 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.1651, allocations: 7.984 kB / 0.5034 GB, free: 11.15 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.1651, allocations: 0 / 0.5034 GB, free: 11.15 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.1651, allocations: 3.984 kB / 0.5034 GB, free: 11.14 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001423/0.1665, allocations: 0.7112 MB / 0.5041 GB, free: 10.37 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.081e-06/0.1666, allocations: 0 / 0.5041 GB, free: 10.37 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000445/0.167, allocations: 95.88 kB / 0.5042 GB, free: 10.28 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001405/0.1672, allocations: 32.84 kB / 0.5042 GB, free: 10.24 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.858e-05/0.1672, allocations: 8 kB / 0.5043 GB, free: 10.23 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001344/0.1686, allocations: 1.422 MB / 0.5056 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/0.1686, allocations: 3.984 kB / 0.5056 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001315/0.1699, allocations: 0.6048 MB / 0.5062 GB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002124/0.1702, allocations: 124.8 kB / 0.5064 GB, free: 7.902 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.723e-05/0.1703, allocations: 8 kB / 0.5064 GB, free: 7.895 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000309/0.1706, allocations: 19.92 kB / 0.5064 GB, free: 7.875 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/0.1707, allocations: 31.91 kB / 0.5064 GB, free: 7.844 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.82e-05/0.1707, allocations: 12 kB / 0.5064 GB, free: 7.832 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002102/0.1709, allocations: 185.9 kB / 0.5066 GB, free: 7.652 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.171, allocations: 0 / 0.5066 GB, free: 7.652 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006014/0.1716, allocations: 92 kB / 0.5067 GB, free: 7.562 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.001554/0.1731, allocations: 1.155 MB / 0.5078 GB, free: 6.371 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001004/0.1742, allocations: 405.9 kB / 0.5082 GB, free: 5.965 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.453e-06/0.1742, allocations: 4 kB / 0.5082 GB, free: 5.961 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004633/0.1747, allocations: 254.1 kB / 0.5085 GB, free: 5.703 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005953/0.1753, allocations: 44.48 kB / 0.5085 GB, free: 5.656 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006033/0.1813, allocations: 3.462 MB / 0.5119 GB, free: 2.008 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005203/0.1819, allocations: 0.8189 MB / 0.5127 GB, free: 1.164 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000204/0.1821, allocations: 34.95 kB / 0.5127 GB, free: 1.129 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002164/0.1824, allocations: 139.4 kB / 0.5128 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of SimCode: time 1.272e-06/0.1824, allocations: 0 / 0.5128 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03868/0.2211, allocations: 6.45 MB / 0.5191 GB, free: 10.54 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.27/10.49, allocations: 0 / 0.5191 GB, free: 10.54 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