Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.BasicComponents,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_BasicComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.BasicComponents,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_BasicComponents",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001109/0.001108, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001219/0.001219, allocations: 210.4 kB / 18.58 MB, free: 4.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.422/1.422, allocations: 227.4 MB / 246.8 MB, free: 10.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2357/0.2357, allocations: 46.08 MB / 344.1 MB, free: 11.58 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001456/0.001456, allocations: 75.25 kB / 417.7 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1207, allocations: 62.45 MB / 480.1 MB, free: 5.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.006153/0.1269, allocations: 3.516 MB / 483.6 MB, free: 1.621 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001867/0.1288, allocations: 0.8295 MB / 484.5 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003812/0.1292, allocations: 8 kB / 484.5 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002759/0.1295, allocations: 75.22 kB / 484.6 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004624/0.13, allocations: 130.8 kB / 484.7 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004832/0.1305, allocations: 127.8 kB / 484.8 MB, free: 460 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006692/0.1312, allocations: 0.5179 MB / 485.3 MB, free: 15.93 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003811/0.1316, allocations: 246.1 kB / 485.6 MB, free: 15.69 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002643/0.1318, allocations: 203.3 kB / 485.8 MB, free: 15.49 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003553/0.1322, allocations: 235 kB / 486 MB, free: 15.26 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.804e-05/0.1323, allocations: 48 kB / 486 MB, free: 15.21 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.46e-05/0.1324, allocations: 52 kB / 486.1 MB, free: 15.16 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.609e-05/0.1325, allocations: 115.5 kB / 486.2 MB, free: 15.05 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002561/0.1328, allocations: 242.9 kB / 486.4 MB, free: 14.81 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005256/0.1333, allocations: 0.5527 MB / 487 MB, free: 14.26 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.603e-06/0.1333, allocations: 4 kB / 487 MB, free: 14.25 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1333, allocations: 0 / 487 MB, free: 14.25 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.671e-05/0.1333, allocations: 0 / 487 MB, free: 14.25 MB / 366.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.001447/0.1348, allocations: 0.7603 MB / 487.8 MB, free: 13.45 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.1349, allocations: 11.97 kB / 487.8 MB, free: 13.43 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001034/0.135, allocations: 86.7 kB / 487.9 MB, free: 13.34 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001165/0.1351, allocations: 52.28 kB / 487.9 MB, free: 13.29 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004237/0.1355, allocations: 313.5 kB / 488.2 MB, free: 12.94 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.353e-05/0.1356, allocations: 33.38 kB / 488.2 MB, free: 12.91 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.085e-05/0.1356, allocations: 48.38 kB / 488.3 MB, free: 12.86 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008224/0.1365, allocations: 467 kB / 488.7 MB, free: 12.39 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.1365, allocations: 0 / 488.7 MB, free: 12.39 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.548e-05/0.1365, allocations: 23.98 kB / 488.8 MB, free: 12.36 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.166e-05/0.1366, allocations: 12 kB / 488.8 MB, free: 12.35 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007231/0.1373, allocations: 323.8 kB / 489.1 MB, free: 12.04 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002429/0.1397, allocations: 1.693 MB / 490.8 MB, free: 10.23 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005416/0.1403, allocations: 237 kB / 491 MB, free: 9.977 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003214/0.1406, allocations: 137.6 kB / 491.2 MB, free: 9.836 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.086e-05/0.1407, allocations: 3.984 kB / 491.2 MB, free: 9.832 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.619e-05/0.1407, allocations: 38.56 kB / 491.2 MB, free: 9.785 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 1.894e-06/0.1407, allocations: 0 / 491.2 MB, free: 9.785 MB / 366.1 MB Notification: Performance of matching and sorting (n=34): time 0.003063/0.1438, allocations: 1.343 MB / 492.5 MB, free: 8.324 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.022e-05/0.1438, allocations: 81.11 kB / 492.6 MB, free: 8.227 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000286/0.1441, allocations: 266.5 kB / 492.9 MB, free: 7.961 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.761e-05/0.1442, allocations: 33.7 kB / 492.9 MB, free: 7.922 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001612/0.1443, allocations: 255.5 kB / 493.2 MB, free: 7.664 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.923e-05/0.1444, allocations: 122.2 kB / 493.3 MB, free: 7.543 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001126/0.1446, allocations: 81.97 kB / 493.4 MB, free: 7.457 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.1447, allocations: 342.7 kB / 493.7 MB, free: 7.113 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002761/0.145, allocations: 112.8 kB / 493.8 MB, free: 7.004 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003481/0.1453, allocations: 208.3 kB / 494 MB, free: 6.754 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000646/0.146, allocations: 341.7 kB / 494.3 MB, free: 6.383 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.146, allocations: 0 / 494.3 MB, free: 6.383 MB / 366.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008385/0.1469, allocations: 425.6 kB / 494.8 MB, free: 5.957 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.1469, allocations: 8 kB / 494.8 MB, free: 5.949 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.1469, allocations: 4.375 kB / 494.8 MB, free: 5.945 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001411/0.1471, allocations: 36.78 kB / 494.8 MB, free: 5.906 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004586/0.1475, allocations: 119.8 kB / 494.9 MB, free: 5.789 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001125/0.1487, allocations: 1.431 MB / 496.4 MB, free: 4.219 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002527/0.1489, allocations: 31.81 kB / 496.4 MB, free: 4.188 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.796e-05/0.149, allocations: 20.06 kB / 496.4 MB, free: 4.168 MB / 366.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.000224/0.1492, allocations: 169.2 kB / 496.6 MB, free: 3.996 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.72e-05/0.1493, allocations: 27.72 kB / 496.6 MB, free: 3.969 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.676e-05/0.1494, allocations: 38.17 kB / 496.6 MB, free: 3.93 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-06/0.1494, allocations: 4 kB / 496.6 MB, free: 3.926 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.1494, allocations: 4 kB / 496.6 MB, free: 3.922 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.745e-06/0.1494, allocations: 3.984 kB / 496.7 MB, free: 3.918 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001122/0.1505, allocations: 0.7103 MB / 497.4 MB, free: 3.145 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.162e-06/0.1505, allocations: 4 kB / 497.4 MB, free: 3.141 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004025/0.151, allocations: 91.88 kB / 497.5 MB, free: 3.051 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.631e-05/0.151, allocations: 32.84 kB / 497.5 MB, free: 3.016 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.214e-05/0.1511, allocations: 11.98 kB / 497.5 MB, free: 3.004 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009726/0.1521, allocations: 1.414 MB / 498.9 MB, free: 1.449 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/0.1521, allocations: 4.031 kB / 498.9 MB, free: 1.445 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009602/0.153, allocations: 0.602 MB / 499.5 MB, free: 0.8203 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001111/0.1532, allocations: 124.8 kB / 499.6 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.067e-05/0.1532, allocations: 11.98 kB / 499.7 MB, free: 0.668 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002653/0.1535, allocations: 27.92 kB / 499.7 MB, free: 0.6406 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.878e-05/0.1536, allocations: 23.91 kB / 499.7 MB, free: 0.6172 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.607e-05/0.1536, allocations: 8 kB / 499.7 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001849/0.1538, allocations: 190 kB / 499.9 MB, free: 436 kB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1538, allocations: 0 / 499.9 MB, free: 436 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004626/0.1543, allocations: 92 kB / 500 MB, free: 344 kB / 366.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.001295/0.1556, allocations: 1.139 MB / 0.4894 GB, free: 15.16 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009184/0.1565, allocations: 417.4 kB / 0.4898 GB, free: 14.74 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.1565, allocations: 0 / 0.4898 GB, free: 14.74 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004141/0.1569, allocations: 262.5 kB / 0.49 GB, free: 14.47 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005364/0.1575, allocations: 50.61 kB / 0.4901 GB, free: 14.42 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004973/0.1625, allocations: 3.492 MB / 0.4935 GB, free: 10.74 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004029/0.1629, allocations: 0.8113 MB / 0.4943 GB, free: 9.906 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001629/0.1631, allocations: 38.95 kB / 0.4943 GB, free: 9.871 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001755/0.1632, allocations: 139.4 kB / 0.4945 GB, free: 9.734 MB / 382.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1632, allocations: 0 / 0.4945 GB, free: 9.734 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03864/0.2019, allocations: 6.355 MB / 0.5007 GB, free: 3.508 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.58/9.782, allocations: 8 kB / 0.5007 GB, free: 3.5 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Magnetic.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_trunk_ModelicaTest_Magnetic_FluxTubes_BasicComponents.fmu > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/BasicComponents/BasicComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches