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.001113/0.001113, 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.001225/0.001225, 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.385/1.385, allocations: 227.4 MB / 246.8 MB, free: 10.55 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001975/0.001975, allocations: 60.31 kB / 307.1 MB, free: 0.5156 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1193, allocations: 50.54 MB / 357.6 MB, free: 13.97 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.01189/0.1313, allocations: 9.989 MB / 367.6 MB, free: 3.926 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006404/0.1377, allocations: 3.404 MB / 371 MB, free: 0.5117 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001492/0.1392, allocations: 67.81 kB / 371.1 MB, free: 456 kB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.1652/0.3044, allocations: 3.82 MB / 374.9 MB, free: 9.148 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004194/0.3087, allocations: 1.48 MB / 376.4 MB, free: 9.094 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002417/0.3111, allocations: 1.055 MB / 377.4 MB, free: 9.07 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.009571/0.3207, allocations: 9.194 MB / 386.6 MB, free: 5.699 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02606/0.3468, allocations: 20.53 MB / 407.1 MB, free: 8.527 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007249/0.3541, allocations: 5.045 MB / 412.2 MB, free: 3.82 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008852/0.3629, allocations: 6.14 MB / 418.3 MB, free: 13.87 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002713/0.3657, allocations: 1.395 MB / 419.7 MB, free: 12.48 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003932/0.3696, allocations: 1.659 MB / 421.4 MB, free: 10.82 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002607/0.3722, allocations: 2.916 MB / 424.3 MB, free: 7.949 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006692/0.379, allocations: 5.458 MB / 429.8 MB, free: 2.516 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01672/0.3957, allocations: 18.76 MB / 448.5 MB, free: 60 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.105e-06/0.3957, allocations: 0 / 448.5 MB, free: 60 kB / 350.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.3957, allocations: 0 / 448.5 MB, free: 60 kB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0004894/0.3962, allocations: 0 / 448.5 MB, free: 60 kB / 350.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.03653/0.4328, allocations: 12.31 MB / 460.8 MB, free: 3.754 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.4328, allocations: 12.03 kB / 460.8 MB, free: 3.742 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003534/0.4364, allocations: 1.335 MB / 462.2 MB, free: 2.406 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0483/0.4847, allocations: 8.505 MB / 470.7 MB, free: 9.992 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01171/0.4964, allocations: 5.751 MB / 476.4 MB, free: 4.207 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006048/0.4971, allocations: 0.6707 MB / 477.1 MB, free: 3.543 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003237/0.5003, allocations: 0.8653 MB / 478 MB, free: 2.684 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03524/0.5356, allocations: 15.98 MB / 493.9 MB, free: 2.691 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003977/0.536, allocations: 15.89 kB / 494 MB, free: 2.676 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002911/0.5389, allocations: 365 kB / 494.3 MB, free: 2.328 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005701/0.5395, allocations: 0.5582 MB / 494.9 MB, free: 1.766 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03029/0.5698, allocations: 15.72 MB / 0.4986 GB, free: 2.02 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3861/0.9559, allocations: 49.04 MB / 0.5465 GB, free: 110.2 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01607/0.972, allocations: 19.33 MB / 0.5654 GB, free: 97 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004187/0.9762, allocations: 3.584 MB / 0.5689 GB, free: 96.35 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003412/0.9766, allocations: 266.9 kB / 0.5692 GB, free: 96.15 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.476e-05/0.9766, allocations: 90.03 kB / 0.5692 GB, free: 96.08 MB / 446.1 MB Notification: Performance of pre-optimization done (n=468): time 6.141e-06/0.9767, allocations: 0 / 0.5692 GB, free: 96.08 MB / 446.1 MB Notification: Performance of matching and sorting (n=468): time 0.01955/0.9962, allocations: 11.53 MB / 0.5805 GB, free: 91.99 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.378e-05/0.9963, allocations: 130.1 kB / 0.5806 GB, free: 91.89 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005488/1.002, allocations: 3.843 MB / 0.5844 GB, free: 90.55 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006655/1.003, allocations: 100.6 kB / 0.5845 GB, free: 90.46 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001928/1.004, allocations: 3.892 MB / 0.5883 GB, free: 87.19 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001233/1.006, allocations: 1.618 MB / 0.5899 GB, free: 85.8 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001856/1.008, allocations: 1.471 MB / 0.5913 GB, free: 84.98 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.848e-05/1.008, allocations: 305.1 kB / 0.5916 GB, free: 84.68 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00436/1.012, allocations: 3.697 MB / 0.5952 GB, free: 82.74 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00579/1.018, allocations: 6.521 MB / 0.6016 GB, free: 77.01 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01512/1.033, allocations: 10.82 MB / 0.6121 GB, free: 66.5 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001199/1.033, allocations: 28 kB / 0.6122 GB, free: 66.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.02975/1.063, allocations: 11.95 MB / 0.6238 GB, free: 54.45 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.803e-05/1.063, allocations: 48 kB / 0.6239 GB, free: 54.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001607/1.063, allocations: 92 kB / 0.624 GB, free: 54.31 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008168/1.071, allocations: 1.629 MB / 0.6256 GB, free: 52.67 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007831/1.079, allocations: 1.669 MB / 0.6272 GB, free: 51 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01627/1.095, allocations: 17.67 MB / 0.6444 GB, free: 32.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005779/1.101, allocations: 0.9585 MB / 0.6454 GB, free: 31.53 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001166/1.102, allocations: 364 kB / 0.6457 GB, free: 31.18 MB / 446.1 MB 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.006272/1.109, allocations: 3.75 MB / 0.6494 GB, free: 27.41 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001012/1.11, allocations: 395.1 kB / 0.6498 GB, free: 27.02 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01424/1.124, allocations: 8.576 MB / 0.6581 GB, free: 18.36 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.809e-05/1.124, allocations: 56 kB / 0.6582 GB, free: 18.3 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.028e-05/1.124, allocations: 12 kB / 0.6582 GB, free: 18.29 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.693e-05/1.124, allocations: 23.91 kB / 0.6582 GB, free: 18.27 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0279/1.152, allocations: 16.94 MB / 0.6748 GB, free: 1.258 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.39e-05/1.152, allocations: 3.984 kB / 0.6748 GB, free: 1.254 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003379/1.156, allocations: 0.862 MB / 0.6756 GB, free: 400 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005638/1.161, allocations: 1.519 MB / 0.6771 GB, free: 14.85 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00123/1.162, allocations: 104 kB / 0.6772 GB, free: 14.75 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03116/1.194, allocations: 17.47 MB / 0.6943 GB, free: 12.45 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.053e-06/1.194, allocations: 4 kB / 0.6943 GB, free: 12.45 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2383/1.432, allocations: 12.24 MB / 0.7062 GB, free: 141.1 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003947/1.436, allocations: 1.096 MB / 0.7073 GB, free: 141 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001006/1.437, allocations: 85.44 kB / 0.7074 GB, free: 141 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002824/1.44, allocations: 302.7 kB / 0.7077 GB, free: 141 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009477/1.441, allocations: 322 kB / 0.708 GB, free: 141 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003775/1.441, allocations: 134.5 kB / 0.7081 GB, free: 141 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.005732/1.447, allocations: 2.575 MB / 0.7106 GB, free: 140.8 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.31e-07/1.447, allocations: 0 / 0.7106 GB, free: 140.8 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.008426/1.455, allocations: 2.382 MB / 0.7129 GB, free: 140.6 MB / 478.1 MB 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.02064/1.476, allocations: 12.96 MB / 0.7256 GB, free: 136.6 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.02701/1.503, allocations: 15.47 MB / 0.7407 GB, free: 132.8 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.218e-05/1.503, allocations: 10.2 kB / 0.7407 GB, free: 132.8 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007263/1.51, allocations: 4.474 MB / 0.7451 GB, free: 130.8 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004111/1.515, allocations: 0.732 MB / 0.7458 GB, free: 130.5 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0929/1.608, allocations: 68.58 MB / 0.8128 GB, free: 63.34 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0078/1.615, allocations: 6.042 MB / 0.8187 GB, free: 57.27 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.008565/1.624, allocations: 3.259 MB / 0.8219 GB, free: 54 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004998/1.629, allocations: 3.038 MB / 0.8248 GB, free: 50.96 MB / 478.1 MB Notification: Performance of SimCode: time 1.132e-06/1.629, allocations: 0 / 0.8248 GB, free: 50.96 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4004/2.029, allocations: 127.5 MB / 0.9493 GB, free: 119.3 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.91/13.94, allocations: 15.16 kB / 0.9493 GB, free: 119.3 MB / 494.1 MB (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.0.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