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.00138/0.00138, allocations: 109.3 kB / 17.73 MB, free: 5.316 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.001982/0.001982, allocations: 188.2 kB / 18.66 MB, free: 4.391 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.498/1.498, allocations: 205.1 MB / 224.5 MB, free: 12.21 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.002762/0.002762, allocations: 55.92 kB / 328 MB, free: 3.797 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1171, allocations: 46.61 MB / 374.6 MB, free: 5.074 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.006769/0.1239, allocations: 4.614 MB / 379.3 MB, free: 444 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1972/0.3211, allocations: 1.731 MB / 381 MB, free: 9.156 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005376/0.3218, allocations: 22.47 kB / 381 MB, free: 9.156 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006394/0.3224, allocations: 262.1 kB / 381.3 MB, free: 9.129 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001613/0.324, allocations: 0.6895 MB / 382 MB, free: 8.945 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005202/0.3246, allocations: 232.9 kB / 382.2 MB, free: 8.926 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002179/0.3268, allocations: 1.898 MB / 384.1 MB, free: 8.543 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001302/0.3281, allocations: 1.262 MB / 385.3 MB, free: 8.098 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001264/0.3294, allocations: 0.78 MB / 386.1 MB, free: 7.758 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001547/0.3309, allocations: 0.9848 MB / 387.1 MB, free: 7.332 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003494/0.3313, allocations: 186.1 kB / 387.3 MB, free: 7.332 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008327/0.3321, allocations: 305.2 kB / 387.6 MB, free: 7.293 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004547/0.3326, allocations: 0.537 MB / 388.1 MB, free: 7.004 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009639/0.3336, allocations: 0.8899 MB / 389 MB, free: 6.445 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003209/0.3368, allocations: 2.575 MB / 391.6 MB, free: 5.562 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.626e-06/0.3368, allocations: 0.7031 kB / 391.6 MB, free: 5.562 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.3368, allocations: 3.938 kB / 391.6 MB, free: 5.559 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.28e-05/0.3369, allocations: 0 / 391.6 MB, free: 5.559 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.005778/0.3427, allocations: 2.217 MB / 393.8 MB, free: 4.301 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.134e-05/0.3427, allocations: 14.66 kB / 393.8 MB, free: 4.297 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000339/0.3431, allocations: 204.4 kB / 394 MB, free: 4.172 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001893/0.345, allocations: 374.5 kB / 394.4 MB, free: 4.059 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002057/0.3471, allocations: 1.059 MB / 395.4 MB, free: 3.449 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.063e-05/0.3471, allocations: 100.3 kB / 395.5 MB, free: 3.402 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003421/0.3475, allocations: 138.4 kB / 395.7 MB, free: 3.352 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00367/0.3512, allocations: 1.889 MB / 397.6 MB, free: 2.633 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.085e-05/0.3512, allocations: 1.219 kB / 397.6 MB, free: 2.633 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001453/0.3514, allocations: 51 kB / 397.6 MB, free: 2.594 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.865e-05/0.3515, allocations: 48.11 kB / 397.7 MB, free: 2.594 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002902/0.3544, allocations: 1.686 MB / 399.4 MB, free: 1.996 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009723/0.3641, allocations: 5.532 MB / 404.9 MB, free: 14.02 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003741/0.3679, allocations: 2.908 MB / 407.8 MB, free: 11.18 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009528/0.3689, allocations: 0.4957 MB / 408.3 MB, free: 10.93 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003032/0.372, allocations: 1.535 MB / 409.8 MB, free: 9.715 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.767e-05/0.372, allocations: 46.7 kB / 409.9 MB, free: 9.664 MB / 334.1 MB Notification: Performance of pre-optimization done (n=53): time 2.846e-06/0.372, allocations: 0 / 409.9 MB, free: 9.664 MB / 334.1 MB Notification: Performance of matching and sorting (n=53): time 0.003305/0.3754, allocations: 1.406 MB / 411.3 MB, free: 8.883 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.949e-05/0.3754, allocations: 86.55 kB / 411.4 MB, free: 8.785 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001644/0.3771, allocations: 1.029 MB / 412.4 MB, free: 8.227 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 7.158e-05/0.3772, allocations: 36.77 kB / 412.4 MB, free: 8.188 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005429/0.3777, allocations: 0.6919 MB / 413.1 MB, free: 7.578 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001966/0.3779, allocations: 199 kB / 413.3 MB, free: 7.41 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002087/0.3781, allocations: 133.2 kB / 413.4 MB, free: 7.328 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001495/0.3783, allocations: 334.2 kB / 413.8 MB, free: 7.004 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005939/0.3789, allocations: 357 kB / 414.1 MB, free: 6.828 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000735/0.3796, allocations: 0.5202 MB / 414.6 MB, free: 6.363 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001352/0.381, allocations: 0.8765 MB / 415.5 MB, free: 5.422 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.381, allocations: 0 / 415.5 MB, free: 5.422 MB / 334.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001865/0.3829, allocations: 1.01 MB / 416.5 MB, free: 4.41 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.336e-05/0.3829, allocations: 8.031 kB / 416.5 MB, free: 4.402 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.3829, allocations: 8 kB / 416.5 MB, free: 4.395 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.784e-05/0.383, allocations: 11.94 kB / 416.6 MB, free: 4.383 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007685/0.3838, allocations: 187.7 kB / 416.7 MB, free: 4.199 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.652e-05/0.3838, allocations: 8 kB / 416.7 MB, free: 4.191 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007226/0.3845, allocations: 87.47 kB / 416.8 MB, free: 4.105 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.309e-05/0.3846, allocations: 28 kB / 416.9 MB, free: 4.078 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.0009902/0.3856, allocations: 0.5289 MB / 417.4 MB, free: 3.539 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002209/0.3858, allocations: 91.44 kB / 417.5 MB, free: 3.449 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001364/0.3872, allocations: 0.6863 MB / 418.2 MB, free: 2.75 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.727e-06/0.3872, allocations: 4 kB / 418.2 MB, free: 2.746 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.188e-05/0.3872, allocations: 4 kB / 418.2 MB, free: 2.742 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.214e-05/0.3872, allocations: 11.92 kB / 418.2 MB, free: 2.73 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002775/0.39, allocations: 1.66 MB / 419.8 MB, free: 1.016 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.39, allocations: 0 / 419.8 MB, free: 1.016 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004618/0.3905, allocations: 96.14 kB / 419.9 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000463/0.391, allocations: 161.8 kB / 420.1 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.018e-05/0.391, allocations: 19.98 kB / 420.1 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003553/0.3946, allocations: 2.841 MB / 423 MB, free: 13.76 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.3946, allocations: 0 / 423 MB, free: 13.76 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002495/0.3971, allocations: 1.475 MB / 424.4 MB, free: 12.26 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003954/0.3975, allocations: 200.4 kB / 424.6 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001277/0.3977, allocations: 20 kB / 424.6 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005641/0.3982, allocations: 59.86 kB / 424.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001616/0.3984, allocations: 55.86 kB / 424.8 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.427e-05/0.3985, allocations: 16 kB / 424.8 MB, free: 11.89 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001095/0.3996, allocations: 0.7371 MB / 425.5 MB, free: 11.16 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3996, allocations: 0 / 425.5 MB, free: 11.16 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001215/0.4008, allocations: 362.9 kB / 425.9 MB, free: 10.81 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.002989/0.4038, allocations: 2.057 MB / 427.9 MB, free: 8.715 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00161/0.4054, allocations: 0.7833 MB / 428.7 MB, free: 7.93 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 8.055e-06/0.4054, allocations: 1.125 kB / 428.7 MB, free: 7.93 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001256/0.4067, allocations: 0.5941 MB / 429.3 MB, free: 7.32 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001135/0.4079, allocations: 177 kB / 429.5 MB, free: 7.148 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01682/0.4247, allocations: 10.56 MB / 440 MB, free: 12.31 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001364/0.4261, allocations: 1.499 MB / 441.5 MB, free: 10.78 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0007074/0.4268, allocations: 242.7 kB / 441.8 MB, free: 10.54 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006774/0.4275, allocations: 483.3 kB / 442.2 MB, free: 10.06 MB / 366.1 MB Notification: Performance of SimCode: time 1.182e-06/0.4275, allocations: 0 / 442.2 MB, free: 10.06 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06112/0.4887, allocations: 23.06 MB / 465.3 MB, free: 2.914 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.64/12.13, allocations: 8 kB / 465.3 MB, free: 2.906 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_Components_MultiPhaseInductance_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 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.mat","/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