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.001241/0.001241, allocations: 113.8 kB / 17.78 MB, free: 5.285 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.00119/0.00119, allocations: 179.1 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.38/1.38, 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.2123/0.2123, allocations: 44.19 MB / 336.8 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001401/0.001401, allocations: 63.89 kB / 470 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3243/0.3257, allocations: 60.82 MB / 0.5184 GB, free: 3.289 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.003968/0.3297, allocations: 3.507 MB / 0.5218 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001209/0.331, allocations: 0.7861 MB / 0.5226 GB, free: 244 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001965/0.3312, allocations: 9 kB / 0.5226 GB, free: 244 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001936/0.3314, allocations: 75.64 kB / 0.5227 GB, free: 196 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002508/0.3317, allocations: 129.6 kB / 0.5228 GB, free: 100 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003794/0.332, allocations: 133.5 kB / 0.5229 GB, free: 20 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005711/0.3326, allocations: 0.5233 MB / 0.5234 GB, free: 15.75 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000351/0.333, allocations: 237.8 kB / 0.5237 GB, free: 15.64 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002889/0.3333, allocations: 221.8 kB / 0.5239 GB, free: 15.53 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002714/0.3336, allocations: 235.7 kB / 0.5241 GB, free: 15.41 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.61e-05/0.3336, allocations: 48.62 kB / 0.5242 GB, free: 15.41 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.218e-05/0.3337, allocations: 48.31 kB / 0.5242 GB, free: 15.41 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.522e-05/0.3338, allocations: 108.6 kB / 0.5243 GB, free: 15.33 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002289/0.334, allocations: 248 kB / 0.5245 GB, free: 15.18 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006668/0.3347, allocations: 0.5567 MB / 0.5251 GB, free: 14.96 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3347, allocations: 0 / 0.5251 GB, free: 14.96 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3347, allocations: 0 / 0.5251 GB, free: 14.96 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.026e-05/0.3348, allocations: 1.922 kB / 0.5251 GB, free: 14.96 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.001338/0.3361, allocations: 0.7732 MB / 0.5258 GB, free: 14.38 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.3362, allocations: 13.84 kB / 0.5259 GB, free: 14.37 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001002/0.3363, allocations: 88.89 kB / 0.5259 GB, free: 14.3 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.979e-05/0.3364, allocations: 55.42 kB / 0.526 GB, free: 14.27 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004662/0.3368, allocations: 321.3 kB / 0.5263 GB, free: 13.98 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.454e-05/0.3369, allocations: 38.12 kB / 0.5263 GB, free: 13.96 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.943e-05/0.3369, allocations: 42.59 kB / 0.5264 GB, free: 13.95 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008779/0.3378, allocations: 476 kB / 0.5268 GB, free: 13.72 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.3379, allocations: 0 / 0.5268 GB, free: 13.72 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.344e-05/0.3379, allocations: 22.25 kB / 0.5268 GB, free: 13.71 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.168e-05/0.3379, allocations: 11 kB / 0.5269 GB, free: 13.71 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007235/0.3387, allocations: 320.8 kB / 0.5272 GB, free: 13.61 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002379/0.341, allocations: 1.681 MB / 0.5288 GB, free: 12.19 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005464/0.3416, allocations: 239.8 kB / 0.529 GB, free: 12.05 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003209/0.3419, allocations: 142.4 kB / 0.5292 GB, free: 11.97 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.259e-05/0.342, allocations: 7.672 kB / 0.5292 GB, free: 11.97 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.907e-05/0.342, allocations: 39.72 kB / 0.5292 GB, free: 11.92 MB / 398.1 MB Notification: Performance of pre-optimization done (n=26): time 1.563e-06/0.342, allocations: 1.375 kB / 0.5292 GB, free: 11.92 MB / 398.1 MB Notification: Performance of matching and sorting (n=34): time 0.002992/0.345, allocations: 1.347 MB / 0.5305 GB, free: 10.89 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.204e-05/0.3451, allocations: 85.17 kB / 0.5306 GB, free: 10.79 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002715/0.3454, allocations: 257.7 kB / 0.5309 GB, free: 10.61 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.916e-05/0.3454, allocations: 31.86 kB / 0.5309 GB, free: 10.57 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001616/0.3456, allocations: 265.4 kB / 0.5311 GB, free: 10.33 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.828e-05/0.3457, allocations: 129.3 kB / 0.5313 GB, free: 10.22 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001212/0.3458, allocations: 79.59 kB / 0.5313 GB, free: 10.16 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.3459, allocations: 344.4 kB / 0.5317 GB, free: 9.82 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002725/0.3462, allocations: 105.2 kB / 0.5318 GB, free: 9.773 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003312/0.3465, allocations: 212.3 kB / 0.532 GB, free: 9.598 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006093/0.3471, allocations: 333.4 kB / 0.5323 GB, free: 9.359 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.3472, allocations: 1 kB / 0.5323 GB, free: 9.359 MB / 398.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008619/0.348, allocations: 425.4 kB / 0.5327 GB, free: 9.141 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.3481, allocations: 6.406 kB / 0.5327 GB, free: 9.141 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.325e-06/0.3481, allocations: 3.125 kB / 0.5327 GB, free: 9.141 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001303/0.3482, allocations: 37 kB / 0.5327 GB, free: 9.117 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004609/0.3487, allocations: 124.7 kB / 0.5329 GB, free: 9.086 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001076/0.3498, allocations: 1.441 MB / 0.5343 GB, free: 7.605 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002495/0.35, allocations: 11.97 kB / 0.5343 GB, free: 7.602 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.183e-05/0.3501, allocations: 17.59 kB / 0.5343 GB, free: 7.598 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.0001877/0.3503, allocations: 172.9 kB / 0.5345 GB, free: 7.438 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.667e-05/0.3503, allocations: 31.12 kB / 0.5345 GB, free: 7.422 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.114e-05/0.3504, allocations: 41.11 kB / 0.5345 GB, free: 7.387 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/0.3504, allocations: 8.062 kB / 0.5345 GB, free: 7.383 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.3504, allocations: 3.938 kB / 0.5345 GB, free: 7.379 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.3505, allocations: 1.312 kB / 0.5345 GB, free: 7.379 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001118/0.3516, allocations: 0.7157 MB / 0.5352 GB, free: 6.785 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.169e-06/0.3516, allocations: 4.062 kB / 0.5352 GB, free: 6.781 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004063/0.352, allocations: 88.16 kB / 0.5353 GB, free: 6.762 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.494e-05/0.3521, allocations: 29.91 kB / 0.5354 GB, free: 6.742 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.28e-05/0.3521, allocations: 11.06 kB / 0.5354 GB, free: 6.734 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00106/0.3532, allocations: 1.423 MB / 0.5368 GB, free: 5.262 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.439e-06/0.3532, allocations: 4.906 kB / 0.5368 GB, free: 5.258 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0011/0.3543, allocations: 0.6067 MB / 0.5374 GB, free: 4.832 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001563/0.3545, allocations: 123.9 kB / 0.5375 GB, free: 4.703 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.487e-05/0.3546, allocations: 10.41 kB / 0.5375 GB, free: 4.695 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002789/0.3548, allocations: 30.67 kB / 0.5375 GB, free: 4.676 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.379e-05/0.3549, allocations: 26.27 kB / 0.5375 GB, free: 4.66 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.188e-05/0.355, allocations: 15.56 kB / 0.5376 GB, free: 4.652 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001896/0.3552, allocations: 180 kB / 0.5377 GB, free: 4.535 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3552, allocations: 0 / 0.5377 GB, free: 4.535 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005036/0.3557, allocations: 92.09 kB / 0.5378 GB, free: 4.523 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.001404/0.3571, allocations: 1.15 MB / 0.5389 GB, free: 3.559 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008437/0.3579, allocations: 409.2 kB / 0.5393 GB, free: 3.316 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.358, allocations: 1 kB / 0.5393 GB, free: 3.316 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004093/0.3584, allocations: 252.1 kB / 0.5396 GB, free: 3.141 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004912/0.3589, allocations: 39.92 kB / 0.5396 GB, free: 3.121 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005319/0.3642, allocations: 3.492 MB / 0.543 GB, free: 464 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004677/0.3647, allocations: 0.8107 MB / 0.5438 GB, free: 15.7 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001651/0.3649, allocations: 35.62 kB / 0.5438 GB, free: 15.68 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00019/0.3651, allocations: 142.6 kB / 0.544 GB, free: 15.56 MB / 414.1 MB Notification: Performance of SimCode: time 7.01e-07/0.3651, allocations: 0 / 0.544 GB, free: 15.56 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02657/0.3916, allocations: 6.516 MB / 0.5503 GB, free: 10.36 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.853/10.24, allocations: 14.77 kB / 0.5504 GB, free: 10.36 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