Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.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.FundamentalWave.Examples.Components.PolyphaseInductance,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_Components_PolyphaseInductance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_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.001662/0.001662, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002009/0.002009, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.425/1.425, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 63.55 kB / 307.1 MB, free: 0.5391 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08966/0.09088, allocations: 50.53 MB / 357.6 MB, free: 14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.007423/0.09834, allocations: 6.634 MB / 364.2 MB, free: 7.332 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003928/0.1023, allocations: 2.254 MB / 366.5 MB, free: 5.07 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008886/0.1032, allocations: 43.81 kB / 366.5 MB, free: 5.027 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001032/0.1043, allocations: 369.5 kB / 366.9 MB, free: 4.664 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002283/0.1066, allocations: 0.8355 MB / 367.7 MB, free: 3.824 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009226/0.1075, allocations: 361.9 kB / 368.1 MB, free: 3.477 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003225/0.1108, allocations: 3.168 MB / 371.2 MB, free: 300 kB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.178/0.2887, allocations: 2.006 MB / 373.2 MB, free: 9.406 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001962/0.2907, allocations: 1.3 MB / 374.5 MB, free: 9.27 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002053/0.2928, allocations: 1.619 MB / 376.2 MB, free: 9 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004932/0.2933, allocations: 295.2 kB / 376.4 MB, free: 9 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009111/0.2942, allocations: 430.7 kB / 376.9 MB, free: 9 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000665/0.2949, allocations: 0.8462 MB / 377.7 MB, free: 8.902 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001474/0.2964, allocations: 1.463 MB / 379.2 MB, free: 8.508 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004085/0.3005, allocations: 4.071 MB / 383.2 MB, free: 7.203 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.3005, allocations: 0 / 383.2 MB, free: 7.203 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.003e-06/0.3005, allocations: 0 / 383.2 MB, free: 7.203 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.339e-05/0.3006, allocations: 4.281 kB / 383.3 MB, free: 7.203 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 588 * Number of variables: 588 Notification: Performance of Generate backend data structure: time 0.007841/0.3085, allocations: 3.492 MB / 386.7 MB, free: 5.41 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/0.3085, allocations: 10.22 kB / 386.8 MB, free: 5.41 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004311/0.309, allocations: 332.1 kB / 387.1 MB, free: 5.219 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004075/0.313, allocations: 0.7575 MB / 387.8 MB, free: 5.031 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002782/0.3158, allocations: 1.671 MB / 389.5 MB, free: 4.207 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001033/0.3159, allocations: 169.2 kB / 389.7 MB, free: 4.129 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003207/0.3163, allocations: 229.9 kB / 389.9 MB, free: 4.051 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004758/0.321, allocations: 3.198 MB / 393.1 MB, free: 2.199 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.856e-05/0.3211, allocations: 4 kB / 393.1 MB, free: 2.195 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000215/0.3213, allocations: 95.53 kB / 393.2 MB, free: 2.121 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.619e-05/0.3214, allocations: 72.58 kB / 393.3 MB, free: 2.113 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003915/0.3253, allocations: 2.86 MB / 396.1 MB, free: 0.6641 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01378/0.3391, allocations: 9.239 MB / 405.4 MB, free: 8.953 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004454/0.3436, allocations: 4.395 MB / 409.8 MB, free: 3.941 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001147/0.3448, allocations: 0.8015 MB / 410.6 MB, free: 3.137 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004104/0.3489, allocations: 3.153 MB / 413.7 MB, free: 15.76 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.334e-05/0.3489, allocations: 54.75 kB / 413.8 MB, free: 15.7 MB / 334.1 MB Notification: Performance of pre-optimization done (n=92): time 2.325e-06/0.3489, allocations: 0 / 413.8 MB, free: 15.7 MB / 334.1 MB Notification: Performance of matching and sorting (n=100): time 0.007755/0.3567, allocations: 4.194 MB / 418 MB, free: 11.43 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.765e-05/0.3568, allocations: 121.9 kB / 418.1 MB, free: 11.29 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002231/0.359, allocations: 1.614 MB / 419.7 MB, free: 9.66 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 9.066e-05/0.3591, allocations: 45.98 kB / 419.7 MB, free: 9.609 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008348/0.36, allocations: 1.117 MB / 420.9 MB, free: 8.48 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002997/0.3603, allocations: 352.4 kB / 421.2 MB, free: 8.141 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003759/0.3607, allocations: 242.7 kB / 421.4 MB, free: 7.898 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.3608, allocations: 361.9 kB / 421.8 MB, free: 7.539 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000963/0.3618, allocations: 0.6388 MB / 422.4 MB, free: 6.902 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001161/0.363, allocations: 1.013 MB / 423.4 MB, free: 5.73 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002274/0.3652, allocations: 1.701 MB / 425.1 MB, free: 3.922 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/0.3653, allocations: 0 / 425.1 MB, free: 3.922 MB / 334.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.00314/0.3684, allocations: 1.94 MB / 427.1 MB, free: 2.047 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.278e-05/0.3684, allocations: 12 kB / 427.1 MB, free: 2.035 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.838e-05/0.3685, allocations: 12 kB / 427.1 MB, free: 2.023 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003447/0.3688, allocations: 134.1 kB / 427.2 MB, free: 1.887 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00123/0.3701, allocations: 332.8 kB / 427.6 MB, free: 1.582 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002798/0.3729, allocations: 3.425 MB / 431 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001144/0.374, allocations: 95.53 kB / 431.1 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.331e-05/0.3741, allocations: 59.98 kB / 431.1 MB, free: 13.74 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (155): * Single equations (assignments): 153 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001318/0.3755, allocations: 0.8347 MB / 432 MB, free: 12.92 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002796/0.3758, allocations: 150.2 kB / 432.1 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002453/0.3782, allocations: 1.391 MB / 433.5 MB, free: 11.37 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.083e-05/0.3782, allocations: 12 kB / 433.5 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.917e-06/0.3783, allocations: 8 kB / 433.5 MB, free: 11.35 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.128e-05/0.3783, allocations: 7.922 kB / 433.5 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003876/0.3821, allocations: 2.449 MB / 436 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.053e-06/0.3822, allocations: 4 kB / 436 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008284/0.383, allocations: 185.5 kB / 436.2 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006499/0.3837, allocations: 262.3 kB / 436.4 MB, free: 8.406 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.208e-05/0.3838, allocations: 39.97 kB / 436.5 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005366/0.3891, allocations: 6.248 MB / 442.7 MB, free: 1.734 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/0.3892, allocations: 7.969 kB / 442.7 MB, free: 1.727 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003786/0.393, allocations: 2.559 MB / 445.3 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004742/0.3934, allocations: 251.1 kB / 445.5 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003314/0.3938, allocations: 31.92 kB / 445.6 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001023/0.3948, allocations: 91.91 kB / 445.6 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002272/0.3951, allocations: 95.86 kB / 445.7 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.867e-05/0.3951, allocations: 27.98 kB / 445.8 MB, free: 14.64 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001453/0.3966, allocations: 1.135 MB / 446.9 MB, free: 13.5 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3966, allocations: 0 / 446.9 MB, free: 13.5 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001524/0.3981, allocations: 448 kB / 447.3 MB, free: 13.06 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (inductor_e.inductor[1].i,inductor_e.inductor[2].i,inductor_e.inductor[3].i,converter_m.singlePhaseElectroMagneticConverter[3].Phi.re,converter_m.singlePhaseElectroMagneticConverter[3].Phi.im,converter_s[1].Phi.re,converter_s[2].Phi.im,converter_s[3].Phi.im) * 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 (76): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,16,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003985/0.4021, allocations: 3.163 MB / 450.5 MB, free: 9.879 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003084/0.4052, allocations: 1.905 MB / 452.4 MB, free: 8 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.309e-06/0.4052, allocations: 0 / 452.4 MB, free: 8 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001768/0.407, allocations: 1.165 MB / 453.6 MB, free: 6.816 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001594/0.4086, allocations: 290.1 kB / 453.9 MB, free: 6.531 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02553/0.4342, allocations: 18.97 MB / 472.8 MB, free: 2.602 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001944/0.4361, allocations: 2.109 MB / 474.9 MB, free: 464 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001288/0.4374, allocations: 459.3 kB / 475.4 MB, free: 4 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001104/0.4386, allocations: 0.8265 MB / 476.2 MB, free: 15.18 MB / 398.1 MB Notification: Performance of SimCode: time 8.62e-07/0.4386, allocations: 0 / 476.2 MB, free: 15.18 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1167/0.5553, allocations: 37.48 MB / 0.5016 GB, free: 10.08 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.39/10.95, allocations: 7.922 kB / 0.5017 GB, free: 10.07 MB / 430.1 MB (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Magnetic.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_FundamentalWave_Examples_Components_PolyphaseInductance.fmu > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches