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.001187/0.001187, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001294/0.001294, allocations: 198 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.491/1.491, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2358/0.2358, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002145/0.002145, allocations: 79.86 kB / 480.8 MB, free: 4.598 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3367/0.3389, allocations: 62.43 MB / 0.5305 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.005223/0.3442, allocations: 3.516 MB / 0.5339 GB, free: 10.67 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001852/0.3461, allocations: 0.8314 MB / 0.5347 GB, free: 9.98 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003701/0.3465, allocations: 8.25 kB / 0.5348 GB, free: 9.98 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002518/0.3468, allocations: 75.47 kB / 0.5348 GB, free: 9.914 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003697/0.3472, allocations: 130 kB / 0.5349 GB, free: 9.801 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004657/0.3476, allocations: 130.9 kB / 0.5351 GB, free: 9.688 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006633/0.3483, allocations: 0.5254 MB / 0.5356 GB, free: 9.367 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003969/0.3487, allocations: 235.8 kB / 0.5358 GB, free: 9.234 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003369/0.3491, allocations: 209.5 kB / 0.536 GB, free: 9.113 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003231/0.3494, allocations: 233.9 kB / 0.5362 GB, free: 8.945 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.742e-05/0.3495, allocations: 49.69 kB / 0.5363 GB, free: 8.945 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.21e-05/0.3496, allocations: 49.09 kB / 0.5363 GB, free: 8.945 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000104/0.3497, allocations: 112.3 kB / 0.5364 GB, free: 8.848 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002447/0.3499, allocations: 253.6 kB / 0.5367 GB, free: 8.676 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006918/0.3506, allocations: 0.5572 MB / 0.5372 GB, free: 8.254 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.3507, allocations: 0 / 0.5372 GB, free: 8.254 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.3507, allocations: 0 / 0.5372 GB, free: 8.254 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.113e-05/0.3507, allocations: 1.25 kB / 0.5372 GB, free: 8.254 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.001439/0.3521, allocations: 0.7709 MB / 0.538 GB, free: 7.609 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/0.3522, allocations: 9.594 kB / 0.538 GB, free: 7.609 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.925e-05/0.3523, allocations: 89.3 kB / 0.5381 GB, free: 7.527 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001122/0.3524, allocations: 58.48 kB / 0.5381 GB, free: 7.496 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005415/0.353, allocations: 321.5 kB / 0.5384 GB, free: 7.18 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.033e-05/0.353, allocations: 36.56 kB / 0.5385 GB, free: 7.164 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.352e-05/0.3531, allocations: 46.25 kB / 0.5385 GB, free: 7.148 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008775/0.354, allocations: 468.4 kB / 0.539 GB, free: 6.855 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.764e-05/0.354, allocations: 0 / 0.539 GB, free: 6.855 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.279e-05/0.3541, allocations: 28.48 kB / 0.539 GB, free: 6.832 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.435e-05/0.3541, allocations: 11.59 kB / 0.539 GB, free: 6.832 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007484/0.3548, allocations: 319.9 kB / 0.5393 GB, free: 6.688 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002742/0.3576, allocations: 1.671 MB / 0.5409 GB, free: 5.273 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006142/0.3583, allocations: 239.7 kB / 0.5412 GB, free: 5.133 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003368/0.3586, allocations: 138.8 kB / 0.5413 GB, free: 5.059 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.644e-05/0.3587, allocations: 3.188 kB / 0.5413 GB, free: 5.059 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.69e-05/0.3587, allocations: 37.34 kB / 0.5413 GB, free: 5.016 MB / 398.1 MB Notification: Performance of pre-optimization done (n=26): time 2.295e-06/0.3587, allocations: 3.938 kB / 0.5413 GB, free: 5.012 MB / 398.1 MB Notification: Performance of matching and sorting (n=34): time 0.003254/0.362, allocations: 1.358 MB / 0.5427 GB, free: 3.969 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.275e-05/0.3621, allocations: 80.7 kB / 0.5427 GB, free: 3.875 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003254/0.3624, allocations: 261.9 kB / 0.543 GB, free: 3.691 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.333e-05/0.3624, allocations: 31.05 kB / 0.543 GB, free: 3.656 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001702/0.3626, allocations: 262 kB / 0.5433 GB, free: 3.418 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001085/0.3627, allocations: 132.9 kB / 0.5434 GB, free: 3.301 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001201/0.3629, allocations: 83.08 kB / 0.5435 GB, free: 3.238 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.363, allocations: 340.4 kB / 0.5438 GB, free: 2.902 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002909/0.3633, allocations: 109.9 kB / 0.5439 GB, free: 2.852 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003612/0.3637, allocations: 215.5 kB / 0.5441 GB, free: 2.672 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006373/0.3643, allocations: 339.5 kB / 0.5444 GB, free: 2.43 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.631e-06/0.3643, allocations: 1.188 kB / 0.5444 GB, free: 2.43 MB / 398.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009432/0.3653, allocations: 422.1 kB / 0.5448 GB, free: 2.211 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.3653, allocations: 5.656 kB / 0.5448 GB, free: 2.211 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.3653, allocations: 3.375 kB / 0.5448 GB, free: 2.211 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001717/0.3655, allocations: 37.86 kB / 0.5449 GB, free: 2.188 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005024/0.366, allocations: 123.5 kB / 0.545 GB, free: 2.156 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001222/0.3673, allocations: 1.443 MB / 0.5464 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003583/0.3676, allocations: 20.08 kB / 0.5464 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.105e-05/0.3677, allocations: 13.53 kB / 0.5464 GB, free: 0.6641 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.0002447/0.3679, allocations: 173.2 kB / 0.5466 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.592e-05/0.368, allocations: 30.88 kB / 0.5466 GB, free: 500 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.386e-05/0.3681, allocations: 35.95 kB / 0.5467 GB, free: 468 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.3681, allocations: 4.625 kB / 0.5467 GB, free: 468 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.777e-06/0.3681, allocations: 5.062 kB / 0.5467 GB, free: 464 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.3682, allocations: 0 / 0.5467 GB, free: 464 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001275/0.3694, allocations: 0.7108 MB / 0.5474 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.3695, allocations: 4 kB / 0.5474 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004387/0.3699, allocations: 91.94 kB / 0.5475 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001222/0.37, allocations: 32.78 kB / 0.5475 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.781e-05/0.3701, allocations: 11.98 kB / 0.5475 GB, free: 15.65 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001055/0.3711, allocations: 1.419 MB / 0.5489 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.3712, allocations: 4.031 kB / 0.5489 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001087/0.3723, allocations: 0.6057 MB / 0.5495 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002082/0.3725, allocations: 124.9 kB / 0.5496 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.669e-05/0.3726, allocations: 11.98 kB / 0.5496 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003174/0.3729, allocations: 27.92 kB / 0.5496 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.768e-05/0.373, allocations: 19.97 kB / 0.5497 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.721e-05/0.373, allocations: 16 kB / 0.5497 GB, free: 13.25 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002265/0.3732, allocations: 186 kB / 0.5499 GB, free: 13.06 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3732, allocations: 0 / 0.5499 GB, free: 13.06 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006127/0.3739, allocations: 91.98 kB / 0.5499 GB, free: 12.97 MB / 414.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.001321/0.3752, allocations: 1.152 MB / 0.5511 GB, free: 11.79 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000957/0.3762, allocations: 406.8 kB / 0.5515 GB, free: 11.38 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/0.3762, allocations: 8.188 kB / 0.5515 GB, free: 11.37 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004333/0.3767, allocations: 252.8 kB / 0.5517 GB, free: 11.11 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006483/0.3773, allocations: 40.48 kB / 0.5517 GB, free: 11.07 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005561/0.3829, allocations: 3.495 MB / 0.5552 GB, free: 7.398 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000497/0.3834, allocations: 0.8113 MB / 0.556 GB, free: 6.562 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001966/0.3837, allocations: 30.97 kB / 0.556 GB, free: 6.527 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002135/0.3839, allocations: 139.4 kB / 0.5561 GB, free: 6.391 MB / 414.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3839, allocations: 0 / 0.5561 GB, free: 6.391 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03705/0.421, allocations: 6.536 MB / 0.5625 GB, free: 16 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.923/10.34, allocations: 19.47 kB / 0.5625 GB, free: 15.98 MB / 430.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