Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.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 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.Magnetic.FluxTubes.BasicComponents,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_BasicComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.BasicComponents,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_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.001676/0.001676, allocations: 108.8 kB / 17.77 MB, free: 5.266 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.001867/0.001867, allocations: 184.1 kB / 18.71 MB, free: 4.34 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.462/1.462, 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.19 MB / 336.8 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002638/0.002638, allocations: 67.89 kB / 470 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3367/0.3393, allocations: 60.82 MB / 0.5184 GB, free: 3.16 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.004033/0.3434, allocations: 3.506 MB / 0.5218 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001516/0.3449, allocations: 0.7907 MB / 0.5226 GB, free: 112 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002706/0.3452, allocations: 11.91 kB / 0.5226 GB, free: 108 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002394/0.3455, allocations: 69.14 kB / 0.5227 GB, free: 68 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003328/0.3459, allocations: 131.2 kB / 0.5228 GB, free: 15.96 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004532/0.3463, allocations: 130.5 kB / 0.5229 GB, free: 15.89 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006641/0.347, allocations: 0.5179 MB / 0.5234 GB, free: 15.63 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004083/0.3474, allocations: 246.1 kB / 0.5237 GB, free: 15.51 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003616/0.3478, allocations: 212.9 kB / 0.5239 GB, free: 15.41 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003689/0.3482, allocations: 238.7 kB / 0.5241 GB, free: 15.28 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.598e-05/0.3482, allocations: 48.66 kB / 0.5242 GB, free: 15.28 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.563e-05/0.3484, allocations: 50 kB / 0.5242 GB, free: 15.28 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000132/0.3485, allocations: 104.2 kB / 0.5243 GB, free: 15.21 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002698/0.3488, allocations: 248.2 kB / 0.5245 GB, free: 15.06 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007618/0.3495, allocations: 0.5568 MB / 0.5251 GB, free: 14.84 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.3496, allocations: 4 kB / 0.5251 GB, free: 14.83 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.3496, allocations: 0.6562 kB / 0.5251 GB, free: 14.83 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.026e-05/0.3496, allocations: 1.812 kB / 0.5251 GB, free: 14.83 MB / 398.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.001435/0.351, allocations: 0.7735 MB / 0.5258 GB, free: 14.25 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.3511, allocations: 10.42 kB / 0.5258 GB, free: 14.25 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001028/0.3512, allocations: 84.7 kB / 0.5259 GB, free: 14.18 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.761e-05/0.3513, allocations: 54.73 kB / 0.526 GB, free: 14.15 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005372/0.3518, allocations: 321.1 kB / 0.5263 GB, free: 13.86 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.348e-05/0.3519, allocations: 41.38 kB / 0.5263 GB, free: 13.84 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.27e-05/0.352, allocations: 46.56 kB / 0.5264 GB, free: 13.82 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009758/0.3529, allocations: 473.1 kB / 0.5268 GB, free: 13.6 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.841e-05/0.353, allocations: 1.219 kB / 0.5268 GB, free: 13.6 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.61e-05/0.353, allocations: 20.64 kB / 0.5268 GB, free: 13.58 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.41e-05/0.353, allocations: 11.88 kB / 0.5269 GB, free: 13.58 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007765/0.3538, allocations: 325.3 kB / 0.5272 GB, free: 13.48 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002668/0.3565, allocations: 1.672 MB / 0.5288 GB, free: 12.1 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006103/0.3571, allocations: 235.8 kB / 0.529 GB, free: 11.96 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005202/0.3577, allocations: 147.9 kB / 0.5292 GB, free: 11.88 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.681e-05/0.3577, allocations: 2.781 kB / 0.5292 GB, free: 11.88 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.418e-05/0.3578, allocations: 40 kB / 0.5292 GB, free: 11.83 MB / 398.1 MB Notification: Performance of pre-optimization done (n=26): time 2.785e-06/0.3578, allocations: 3.938 kB / 0.5292 GB, free: 11.83 MB / 398.1 MB Notification: Performance of matching and sorting (n=34): time 0.003415/0.3612, allocations: 1.348 MB / 0.5305 GB, free: 10.79 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.611e-05/0.3613, allocations: 81.02 kB / 0.5306 GB, free: 10.7 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003226/0.3616, allocations: 258.4 kB / 0.5308 GB, free: 10.52 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.394e-05/0.3617, allocations: 34.77 kB / 0.5309 GB, free: 10.48 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002011/0.3619, allocations: 270.1 kB / 0.5311 GB, free: 10.23 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001148/0.362, allocations: 120.7 kB / 0.5313 GB, free: 10.13 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000126/0.3621, allocations: 78.75 kB / 0.5313 GB, free: 10.07 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001717/0.3623, allocations: 345.7 kB / 0.5317 GB, free: 9.73 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000295/0.3626, allocations: 105.8 kB / 0.5318 GB, free: 9.684 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003762/0.363, allocations: 219.8 kB / 0.532 GB, free: 9.504 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006697/0.3637, allocations: 333 kB / 0.5323 GB, free: 9.266 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.3637, allocations: 1.344 kB / 0.5323 GB, free: 9.266 MB / 398.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009198/0.3646, allocations: 424.5 kB / 0.5327 GB, free: 9.047 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.3647, allocations: 7.062 kB / 0.5327 GB, free: 9.047 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.3647, allocations: 2.656 kB / 0.5327 GB, free: 9.047 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001804/0.3649, allocations: 40.98 kB / 0.5327 GB, free: 9.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004717/0.3653, allocations: 121.4 kB / 0.5329 GB, free: 8.992 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001337/0.3667, allocations: 1.445 MB / 0.5343 GB, free: 7.508 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002764/0.367, allocations: 12.16 kB / 0.5343 GB, free: 7.504 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.874e-05/0.367, allocations: 16.84 kB / 0.5343 GB, free: 7.5 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.0002294/0.3672, allocations: 176.1 kB / 0.5345 GB, free: 7.34 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.681e-05/0.3673, allocations: 27.94 kB / 0.5345 GB, free: 7.324 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.809e-05/0.3674, allocations: 40.33 kB / 0.5345 GB, free: 7.289 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.3674, allocations: 8.438 kB / 0.5345 GB, free: 7.285 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/0.3674, allocations: 1.438 kB / 0.5345 GB, free: 7.285 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.3675, allocations: 0 / 0.5345 GB, free: 7.285 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001224/0.3687, allocations: 0.7187 MB / 0.5352 GB, free: 6.684 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.3687, allocations: 0 / 0.5352 GB, free: 6.684 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004409/0.3692, allocations: 90.78 kB / 0.5353 GB, free: 6.664 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001014/0.3693, allocations: 29.25 kB / 0.5354 GB, free: 6.645 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.509e-05/0.3693, allocations: 7.406 kB / 0.5354 GB, free: 6.641 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001185/0.3705, allocations: 1.431 MB / 0.5368 GB, free: 5.16 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.3705, allocations: 1.219 kB / 0.5368 GB, free: 5.16 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001088/0.3716, allocations: 0.6095 MB / 0.5374 GB, free: 4.73 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001647/0.3718, allocations: 124.2 kB / 0.5375 GB, free: 4.602 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.338e-05/0.3718, allocations: 6.219 kB / 0.5375 GB, free: 4.598 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000274/0.3721, allocations: 22.36 kB / 0.5375 GB, free: 4.586 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.381e-05/0.3722, allocations: 22.84 kB / 0.5375 GB, free: 4.574 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.516e-05/0.3722, allocations: 15.55 kB / 0.5375 GB, free: 4.566 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00021/0.3724, allocations: 179.4 kB / 0.5377 GB, free: 4.449 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3725, allocations: 5.031 kB / 0.5377 GB, free: 4.445 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005434/0.373, allocations: 95.84 kB / 0.5378 GB, free: 4.43 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.001484/0.3745, allocations: 1.154 MB / 0.5389 GB, free: 3.461 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009569/0.3755, allocations: 409.4 kB / 0.5393 GB, free: 3.219 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.3755, allocations: 0 / 0.5393 GB, free: 3.219 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004589/0.376, allocations: 254.3 kB / 0.5396 GB, free: 3.043 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005541/0.3765, allocations: 41.98 kB / 0.5396 GB, free: 3.02 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00574/0.3823, allocations: 3.488 MB / 0.543 GB, free: 364 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004973/0.3828, allocations: 0.8142 MB / 0.5438 GB, free: 15.6 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001835/0.383, allocations: 33.09 kB / 0.5438 GB, free: 15.58 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002024/0.3832, allocations: 136.5 kB / 0.544 GB, free: 15.46 MB / 414.1 MB Notification: Performance of SimCode: time 1.062e-06/0.3832, allocations: 1.062 kB / 0.544 GB, free: 15.46 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0368/0.42, allocations: 6.524 MB / 0.5503 GB, free: 10.24 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.63/11.05, allocations: 8.953 kB / 0.5504 GB, free: 10.23 MB / 414.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_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_4_0_0_ModelicaTest_Magnetic_FluxTubes_BasicComponents.fmu > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches