Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.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) 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(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_PolyphaseInductance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_PolyphaseInductance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001352/0.001351, allocations: 117.2 kB / 17.78 MB, free: 5.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001407/0.001407, allocations: 204.6 kB / 18.73 MB, free: 4.438 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.44/1.44, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001844/0.001844, allocations: 63.89 kB / 358.2 MB, free: 13.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2394/0.2412, allocations: 50.54 MB / 408.8 MB, free: 1.535 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.01208/0.2533, allocations: 10.01 MB / 418.8 MB, free: 7.484 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006743/0.2601, allocations: 3.392 MB / 422.2 MB, free: 4.082 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001247/0.2614, allocations: 71.81 kB / 422.2 MB, free: 4.012 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008847/0.2703, allocations: 3.826 MB / 426.1 MB, free: 184 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004378/0.2747, allocations: 1.485 MB / 427.5 MB, free: 14.69 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002512/0.2772, allocations: 1.057 MB / 428.6 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01075/0.2879, allocations: 9.263 MB / 437.9 MB, free: 4.344 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02716/0.3151, allocations: 20.33 MB / 458.2 MB, free: 15.88 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007527/0.3227, allocations: 5.062 MB / 463.2 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009889/0.3326, allocations: 6.099 MB / 469.3 MB, free: 4.688 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003553/0.3362, allocations: 1.398 MB / 470.7 MB, free: 3.289 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004401/0.3406, allocations: 1.66 MB / 472.4 MB, free: 1.629 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003638/0.3443, allocations: 2.923 MB / 475.3 MB, free: 14.7 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007723/0.352, allocations: 5.451 MB / 480.8 MB, free: 9.227 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02023/0.3723, allocations: 18.9 MB / 499.7 MB, free: 6.266 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.3723, allocations: 0 / 499.7 MB, free: 6.266 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.3724, allocations: 0 / 499.7 MB, free: 6.266 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004889/0.3728, allocations: 0 / 499.7 MB, free: 6.266 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2549 * Number of variables: 2549 Notification: Performance of Generate backend data structure: time 0.03707/0.4099, allocations: 12.46 MB / 0.5001 GB, free: 9.707 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.56e-05/0.41, allocations: 8.031 kB / 0.5002 GB, free: 9.699 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0047/0.4147, allocations: 1.332 MB / 0.5015 GB, free: 8.359 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04884/0.4636, allocations: 8.593 MB / 0.5098 GB, free: 15.75 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0136/0.4772, allocations: 5.896 MB / 0.5156 GB, free: 9.789 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007528/0.478, allocations: 0.6623 MB / 0.5162 GB, free: 9.125 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003936/0.4819, allocations: 0.8671 MB / 0.5171 GB, free: 8.258 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03921/0.5212, allocations: 15.98 MB / 0.5327 GB, free: 8.23 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000258/0.5215, allocations: 7.953 kB / 0.5327 GB, free: 8.223 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002057/0.5235, allocations: 368 kB / 0.5331 GB, free: 7.863 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006209/0.5242, allocations: 0.5621 MB / 0.5336 GB, free: 7.297 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4558/0.98, allocations: 15.72 MB / 0.549 GB, free: 108.3 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06619/1.046, allocations: 48.64 MB / 0.5965 GB, free: 68.1 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01553/1.062, allocations: 19.32 MB / 0.6153 GB, free: 46.69 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00462/1.066, allocations: 3.597 MB / 0.6189 GB, free: 43.09 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004242/1.067, allocations: 265.1 kB / 0.6191 GB, free: 42.82 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.778e-05/1.067, allocations: 82.56 kB / 0.6192 GB, free: 42.73 MB / 462.1 MB Notification: Performance of pre-optimization done (n=468): time 6.232e-06/1.067, allocations: 0 / 0.6192 GB, free: 42.73 MB / 462.1 MB Notification: Performance of matching and sorting (n=468): time 0.0209/1.088, allocations: 11.57 MB / 0.6305 GB, free: 31.03 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.644e-05/1.088, allocations: 125.1 kB / 0.6306 GB, free: 30.89 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005013/1.093, allocations: 3.845 MB / 0.6344 GB, free: 27.09 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008766/1.094, allocations: 101.7 kB / 0.6345 GB, free: 26.99 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002179/1.096, allocations: 4.05 MB / 0.6384 GB, free: 23.39 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001927/1.098, allocations: 1.688 MB / 0.6401 GB, free: 21.72 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002027/1.1, allocations: 1.473 MB / 0.6415 GB, free: 20.24 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 3.806e-05/1.1, allocations: 301.1 kB / 0.6418 GB, free: 19.94 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004294/1.104, allocations: 3.688 MB / 0.6454 GB, free: 16.25 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005518/1.11, allocations: 6.521 MB / 0.6518 GB, free: 8.43 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01137/1.121, allocations: 10.83 MB / 0.6623 GB, free: 12.27 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.829e-05/1.121, allocations: 24 kB / 0.6623 GB, free: 12.24 MB / 478.1 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.02476/1.146, allocations: 11.98 MB / 0.674 GB, free: 196 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.8e-05/1.146, allocations: 44 kB / 0.6741 GB, free: 152 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001617/1.147, allocations: 96 kB / 0.6742 GB, free: 56 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005133/1.152, allocations: 1.621 MB / 0.6758 GB, free: 14.41 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006437/1.158, allocations: 1.665 MB / 0.6774 GB, free: 12.75 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0224/1.181, allocations: 17.68 MB / 0.6947 GB, free: 10.23 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005885/1.186, allocations: 0.9664 MB / 0.6956 GB, free: 9.254 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001167/1.188, allocations: 364 kB / 0.6959 GB, free: 8.898 MB / 0.4982 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 424 * 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 (876): * Single equations (assignments): 870 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(8,30,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006966/1.195, allocations: 3.754 MB / 0.6996 GB, free: 5.129 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009557/1.196, allocations: 409.3 kB / 0.7 GB, free: 4.727 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01637/1.212, allocations: 8.573 MB / 0.7084 GB, free: 12.07 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.941e-05/1.212, allocations: 51.94 kB / 0.7084 GB, free: 12.02 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.492e-05/1.212, allocations: 15.94 kB / 0.7084 GB, free: 12 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.599e-05/1.212, allocations: 23.91 kB / 0.7085 GB, free: 11.98 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03286/1.245, allocations: 16.8 MB / 0.7249 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.241e-05/1.245, allocations: 0 / 0.7249 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003903/1.249, allocations: 0.862 MB / 0.7257 GB, free: 10.13 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004854/1.254, allocations: 1.519 MB / 0.7272 GB, free: 8.59 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000862/1.255, allocations: 104 kB / 0.7273 GB, free: 8.488 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02206/1.277, allocations: 17.47 MB / 0.7444 GB, free: 6.188 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.253e-06/1.277, allocations: 11.92 kB / 0.7444 GB, free: 6.176 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2331/1.51, allocations: 12.26 MB / 0.7563 GB, free: 182.6 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002243/1.512, allocations: 1.116 MB / 0.7574 GB, free: 182.5 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007621/1.513, allocations: 83.72 kB / 0.7575 GB, free: 182.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002365/1.515, allocations: 310.2 kB / 0.7578 GB, free: 182.5 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006224/1.516, allocations: 319.2 kB / 0.7581 GB, free: 182.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002401/1.516, allocations: 133.6 kB / 0.7582 GB, free: 182.5 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002968/1.519, allocations: 2.575 MB / 0.7607 GB, free: 181.7 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.8e-07/1.519, allocations: 0 / 0.7607 GB, free: 181.7 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006196/1.525, allocations: 2.411 MB / 0.7631 GB, free: 181.5 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (voltageSource_m.plug_p.reference.gamma,voltageSource_e.plug_p.reference.gamma) * 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 (455): * Single equations (assignments): 449 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(8,30,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01601/1.541, allocations: 12.97 MB / 0.7758 GB, free: 176 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01351/1.555, allocations: 9.388 MB / 0.7849 GB, free: 172.2 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.152e-05/1.555, allocations: 3.844 kB / 0.7849 GB, free: 172.2 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006242/1.561, allocations: 4.477 MB / 0.7893 GB, free: 168.3 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003441/1.565, allocations: 0.7426 MB / 0.79 GB, free: 167.7 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07463/1.639, allocations: 61.4 MB / 0.85 GB, free: 105.7 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004945/1.644, allocations: 6.048 MB / 0.8559 GB, free: 99.63 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.006241/1.651, allocations: 3.255 MB / 0.8591 GB, free: 96.37 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003757/1.654, allocations: 3.042 MB / 0.8621 GB, free: 93.33 MB / 0.545 GB Notification: Performance of SimCode: time 9.72e-07/1.654, allocations: 0 / 0.8621 GB, free: 93.33 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4221/2.077, allocations: 125.5 MB / 0.9847 GB, free: 172.8 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.79/21.86, allocations: 18.42 kB / 0.9847 GB, free: 172.8 MB / 0.545 GB (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01 Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_PolyphaseInductance.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches