Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_Components_MultiPhaseInductance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_Components_MultiPhaseInductance",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.001197/0.001197, allocations: 113.2 kB / 17.73 MB, free: 5.336 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.001202/0.001202, allocations: 188.2 kB / 18.67 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.37/1.37, allocations: 205.1 MB / 224.5 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 51.94 kB / 328 MB, free: 3.812 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09367/0.095, allocations: 46.62 MB / 374.6 MB, free: 5.082 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.006517/0.1016, allocations: 4.606 MB / 379.2 MB, free: 460 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2092/0.3108, allocations: 1.741 MB / 381 MB, free: 9.203 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007459/0.3117, allocations: 23.69 kB / 381 MB, free: 9.203 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000842/0.3125, allocations: 270.1 kB / 381.3 MB, free: 9.168 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001851/0.3144, allocations: 0.7007 MB / 382 MB, free: 8.984 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005722/0.315, allocations: 230.2 kB / 382.2 MB, free: 8.965 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002326/0.3173, allocations: 1.894 MB / 384.1 MB, free: 8.586 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001288/0.3186, allocations: 1.26 MB / 385.4 MB, free: 8.113 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001063/0.3197, allocations: 0.7906 MB / 386.1 MB, free: 7.77 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001198/0.3209, allocations: 0.9814 MB / 387.1 MB, free: 7.344 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003069/0.3212, allocations: 188 kB / 387.3 MB, free: 7.344 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007051/0.3219, allocations: 301.9 kB / 387.6 MB, free: 7.309 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004679/0.3224, allocations: 0.5371 MB / 388.1 MB, free: 7.02 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000927/0.3234, allocations: 0.8885 MB / 389 MB, free: 6.461 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003106/0.3265, allocations: 2.581 MB / 391.6 MB, free: 5.574 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.3265, allocations: 3.938 kB / 391.6 MB, free: 5.57 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.677e-06/0.3265, allocations: 1.188 kB / 391.6 MB, free: 5.57 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.955e-05/0.3266, allocations: 3.938 kB / 391.6 MB, free: 5.566 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.00552/0.3321, allocations: 2.213 MB / 393.8 MB, free: 4.312 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.179e-05/0.3322, allocations: 13.66 kB / 393.8 MB, free: 4.309 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003098/0.3325, allocations: 205 kB / 394 MB, free: 4.184 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001957/0.3344, allocations: 378.6 kB / 394.4 MB, free: 4.066 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002032/0.3365, allocations: 1.049 MB / 395.5 MB, free: 3.461 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.922e-05/0.3366, allocations: 102.1 kB / 395.6 MB, free: 3.414 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002128/0.3368, allocations: 146.6 kB / 395.7 MB, free: 3.359 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003174/0.34, allocations: 1.887 MB / 397.6 MB, free: 2.645 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.296e-05/0.34, allocations: 4 kB / 397.6 MB, free: 2.641 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001307/0.3402, allocations: 52.38 kB / 397.6 MB, free: 2.602 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.768e-05/0.3402, allocations: 48.62 kB / 397.7 MB, free: 2.598 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003099/0.3433, allocations: 1.681 MB / 399.4 MB, free: 2 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008861/0.3522, allocations: 5.528 MB / 404.9 MB, free: 14.02 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003515/0.3558, allocations: 2.903 MB / 407.8 MB, free: 11.19 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008314/0.3566, allocations: 0.4924 MB / 408.3 MB, free: 10.94 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002468/0.3591, allocations: 1.54 MB / 409.8 MB, free: 9.723 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.245e-05/0.3592, allocations: 46.62 kB / 409.9 MB, free: 9.672 MB / 334.1 MB Notification: Performance of pre-optimization done (n=53): time 2.104e-06/0.3592, allocations: 0 / 409.9 MB, free: 9.672 MB / 334.1 MB Notification: Performance of matching and sorting (n=53): time 0.003093/0.3623, allocations: 1.407 MB / 411.3 MB, free: 8.891 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.225e-05/0.3623, allocations: 91.05 kB / 411.4 MB, free: 8.789 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001337/0.3637, allocations: 1.029 MB / 412.4 MB, free: 8.23 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.957e-05/0.3637, allocations: 36.45 kB / 412.4 MB, free: 8.191 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004398/0.3642, allocations: 0.6941 MB / 413.1 MB, free: 7.582 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001379/0.3643, allocations: 199.4 kB / 413.3 MB, free: 7.414 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002081/0.3645, allocations: 124.2 kB / 413.5 MB, free: 7.34 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001164/0.3647, allocations: 343 kB / 413.8 MB, free: 7.008 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000579/0.3652, allocations: 356.9 kB / 414.1 MB, free: 6.832 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006583/0.3659, allocations: 0.5113 MB / 414.6 MB, free: 6.34 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00119/0.3671, allocations: 0.8749 MB / 415.5 MB, free: 5.398 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.291e-06/0.3671, allocations: 4.281 kB / 415.5 MB, free: 5.395 MB / 334.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001569/0.3687, allocations: 1.007 MB / 416.5 MB, free: 4.387 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.3688, allocations: 15.97 kB / 416.5 MB, free: 4.371 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.3688, allocations: 7.938 kB / 416.6 MB, free: 4.363 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.548e-05/0.3688, allocations: 11.94 kB / 416.6 MB, free: 4.352 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007274/0.3696, allocations: 179.8 kB / 416.7 MB, free: 4.176 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.952e-05/0.3696, allocations: 19.98 kB / 416.8 MB, free: 4.156 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006015/0.3702, allocations: 87.47 kB / 416.8 MB, free: 4.07 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.044e-05/0.3703, allocations: 32 kB / 416.9 MB, free: 4.039 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (82): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008031/0.3711, allocations: 0.5211 MB / 417.4 MB, free: 3.508 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001588/0.3712, allocations: 91.44 kB / 417.5 MB, free: 3.418 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00121/0.3725, allocations: 0.6863 MB / 418.2 MB, free: 2.719 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.794e-06/0.3725, allocations: 8 kB / 418.2 MB, free: 2.711 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.969e-06/0.3725, allocations: 0 / 418.2 MB, free: 2.711 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.398e-06/0.3725, allocations: 15.86 kB / 418.2 MB, free: 2.695 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002307/0.3748, allocations: 1.648 MB / 419.8 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.626e-06/0.3748, allocations: 0 / 419.8 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004361/0.3753, allocations: 95.88 kB / 419.9 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000415/0.3757, allocations: 162.4 kB / 420.1 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.145e-05/0.3758, allocations: 23.98 kB / 420.1 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002837/0.3786, allocations: 2.843 MB / 423 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.3786, allocations: 0 / 423 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002095/0.3807, allocations: 1.473 MB / 424.4 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002589/0.381, allocations: 200.4 kB / 424.6 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001132/0.3811, allocations: 23.98 kB / 424.7 MB, free: 11.99 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00053/0.3816, allocations: 59.88 kB / 424.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001349/0.3818, allocations: 47.92 kB / 424.8 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.092e-05/0.3818, allocations: 19.98 kB / 424.8 MB, free: 11.87 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0009331/0.3828, allocations: 0.7332 MB / 425.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3828, allocations: 0 / 425.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00102/0.3838, allocations: 362.9 kB / 425.9 MB, free: 10.79 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (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) * 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 (37): * Single equations (assignments): 36 * 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,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002491/0.3863, allocations: 2.067 MB / 427.9 MB, free: 8.68 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001309/0.3876, allocations: 0.778 MB / 428.7 MB, free: 7.902 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.3877, allocations: 1.125 kB / 428.7 MB, free: 7.902 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001012/0.3887, allocations: 0.5902 MB / 429.3 MB, free: 7.297 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001017/0.3897, allocations: 185.4 kB / 429.5 MB, free: 7.117 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0139/0.4036, allocations: 10.56 MB / 440 MB, free: 12.27 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000997/0.4047, allocations: 1.491 MB / 441.5 MB, free: 10.75 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0006103/0.4053, allocations: 230.7 kB / 441.8 MB, free: 10.52 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005422/0.4058, allocations: 495.3 kB / 442.2 MB, free: 10.04 MB / 366.1 MB Notification: Performance of SimCode: time 8.01e-07/0.4058, allocations: 0 / 442.2 MB, free: 10.04 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04842/0.4543, allocations: 23.08 MB / 465.3 MB, free: 2.879 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.7/11.16, allocations: 0 / 465.3 MB, free: 2.879 MB / 382.1 MB (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01 Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_Components_MultiPhaseInductance.fmu > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/Components/MultiPhaseInductance/MultiPhaseInductance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches