Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Characteristics",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Characteristics",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.001555/0.001555, allocations: 112.9 kB / 17.05 MB, free: 6.086 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.001577/0.001578, allocations: 185.4 kB / 17.99 MB, free: 5.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 51.92 kB / 350.8 MB, free: 3.75 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3025/0.304, allocations: 49.43 MB / 400.3 MB, free: 8.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.0306/0.3346, allocations: 26.97 MB / 427.2 MB, free: 13.87 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01768/0.3523, allocations: 8.039 MB / 435.3 MB, free: 5.809 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006346/0.3587, allocations: 203.4 kB / 435.5 MB, free: 5.609 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02208/0.3808, allocations: 9.341 MB / 444.8 MB, free: 12.25 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01175/0.3926, allocations: 3.318 MB / 448.1 MB, free: 8.918 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005959/0.3986, allocations: 1.815 MB / 449.9 MB, free: 7.113 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01801/0.4166, allocations: 12.14 MB / 462.1 MB, free: 10.93 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03828/0.4549, allocations: 24.38 MB / 486.5 MB, free: 2.363 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01084/0.4658, allocations: 6.441 MB / 492.9 MB, free: 11.91 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01232/0.4782, allocations: 7.172 MB / 0.4883 GB, free: 4.711 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00546/0.4837, allocations: 1.84 MB / 0.4901 GB, free: 2.871 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00808/0.4918, allocations: 2.203 MB / 0.4923 GB, free: 0.668 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00699/0.4988, allocations: 3.601 MB / 0.4958 GB, free: 13.06 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01428/0.5131, allocations: 6.919 MB / 0.5026 GB, free: 6.113 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0321/0.5453, allocations: 24.8 MB / 0.5268 GB, free: 13.22 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.5453, allocations: 0 / 0.5268 GB, free: 13.22 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.5453, allocations: 4 kB / 0.5268 GB, free: 13.22 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0006508/0.546, allocations: 0 / 0.5268 GB, free: 13.22 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3035 * Number of variables: 3035 Notification: Performance of Generate backend data structure: time 0.4536/0.9996, allocations: 14.72 MB / 0.5412 GB, free: 114.1 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.801e-05/0.9997, allocations: 12.81 kB / 0.5412 GB, free: 114.1 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006458/1.006, allocations: 1.792 MB / 0.5429 GB, free: 113.3 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04395/1.05, allocations: 8.542 MB / 0.5513 GB, free: 110.8 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01658/1.067, allocations: 7.66 MB / 0.5588 GB, free: 106.1 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007805/1.068, allocations: 0.8103 MB / 0.5595 GB, free: 105.3 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004364/1.072, allocations: 1.062 MB / 0.5606 GB, free: 104.3 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04184/1.114, allocations: 18.29 MB / 0.5784 GB, free: 85.98 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004166/1.114, allocations: 19.88 kB / 0.5785 GB, free: 85.96 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002936/1.117, allocations: 450.9 kB / 0.5789 GB, free: 85.53 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005433/1.118, allocations: 0.6735 MB / 0.5796 GB, free: 84.86 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03361/1.151, allocations: 17.54 MB / 0.5967 GB, free: 67.31 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08837/1.24, allocations: 58.22 MB / 0.6535 GB, free: 8.422 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03377/1.274, allocations: 37.47 MB / 0.6901 GB, free: 15.04 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007525/1.281, allocations: 4.118 MB / 0.6941 GB, free: 10.89 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005701/1.282, allocations: 189 kB / 0.6943 GB, free: 10.69 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.406e-05/1.282, allocations: 82.62 kB / 0.6944 GB, free: 10.59 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=518): time 6.261e-06/1.282, allocations: 4 kB / 0.6944 GB, free: 10.59 MB / 0.4982 GB Notification: Performance of matching and sorting (n=524): time 0.05112/1.333, allocations: 21.58 MB / 0.7155 GB, free: 4.918 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.863e-05/1.333, allocations: 107.5 kB / 0.7156 GB, free: 4.797 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006918/1.34, allocations: 4.179 MB / 0.7197 GB, free: 0.5898 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0008655/1.341, allocations: 113.7 kB / 0.7198 GB, free: 484 kB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.003634/1.345, allocations: 4.659 MB / 0.7243 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002883/1.348, allocations: 1.871 MB / 0.7261 GB, free: 9.887 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002807/1.35, allocations: 1.359 MB / 0.7275 GB, free: 8.52 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001219/1.351, allocations: 305.1 kB / 0.7278 GB, free: 8.219 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006046/1.357, allocations: 3.441 MB / 0.7311 GB, free: 4.773 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00867/1.365, allocations: 5.873 MB / 0.7369 GB, free: 13.8 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01525/1.381, allocations: 10.02 MB / 0.7467 GB, free: 2.613 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.205e-05/1.381, allocations: 20 kB / 0.7467 GB, free: 2.594 MB / 0.545 GB Notification: Performance of matching and sorting (n=910) (initialization): time 0.2627/1.643, allocations: 10.96 MB / 0.7574 GB, free: 188.3 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.788e-05/1.644, allocations: 44.72 kB / 0.7574 GB, free: 188.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001307/1.644, allocations: 77.69 kB / 0.7575 GB, free: 188.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003626/1.647, allocations: 1.449 MB / 0.7589 GB, free: 188 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005552/1.653, allocations: 1.612 MB / 0.7605 GB, free: 187.9 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01421/1.667, allocations: 11.49 MB / 0.7717 GB, free: 182 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005317/1.672, allocations: 412.4 kB / 0.7721 GB, free: 181.9 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001305/1.674, allocations: 334.8 kB / 0.7724 GB, free: 181.9 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 354 * 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 (840): * Single equations (assignments): 838 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {(14,56,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007886/1.682, allocations: 4.166 MB / 0.7765 GB, free: 179.8 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001201/1.683, allocations: 0.4936 MB / 0.777 GB, free: 179.8 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01239/1.695, allocations: 8.473 MB / 0.7852 GB, free: 176.3 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009241/1.705, allocations: 7.089 MB / 0.7922 GB, free: 170.2 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.045e-05/1.705, allocations: 15.89 kB / 0.7922 GB, free: 170.1 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-05/1.705, allocations: 23.06 kB / 0.7922 GB, free: 170.1 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02757/1.732, allocations: 18.78 MB / 0.8105 GB, free: 152.4 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-05/1.732, allocations: 0 / 0.8105 GB, free: 152.4 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003413/1.736, allocations: 0.9439 MB / 0.8115 GB, free: 151.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003174/1.739, allocations: 1.293 MB / 0.8127 GB, free: 150.2 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004905/1.739, allocations: 112 kB / 0.8128 GB, free: 150.1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01164/1.751, allocations: 10.19 MB / 0.8228 GB, free: 139.9 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/1.751, allocations: 3.938 kB / 0.8228 GB, free: 139.9 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01568/1.767, allocations: 12.3 MB / 0.8348 GB, free: 127.4 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002346/1.769, allocations: 1.183 MB / 0.8359 GB, free: 126.2 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007928/1.77, allocations: 96 kB / 0.836 GB, free: 126.1 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002381/1.772, allocations: 271.8 kB / 0.8363 GB, free: 125.8 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006521/1.773, allocations: 348.4 kB / 0.8366 GB, free: 125.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000276/1.773, allocations: 148 kB / 0.8368 GB, free: 125.3 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003369/1.777, allocations: 2.811 MB / 0.8395 GB, free: 122.5 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.41e-07/1.777, allocations: 3.938 kB / 0.8395 GB, free: 122.5 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005828/1.783, allocations: 1.935 MB / 0.8414 GB, free: 120.6 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (imsQS.rotor.stray.port_p.reference.gamma,speed.phi) * 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 (499): * Single equations (assignments): 497 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {(14,56,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01541/1.798, allocations: 13.07 MB / 0.8542 GB, free: 107.3 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01181/1.81, allocations: 8.748 MB / 0.8627 GB, free: 98.52 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.965e-06/1.81, allocations: 4 kB / 0.8627 GB, free: 98.51 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006087/1.816, allocations: 4.199 MB / 0.8668 GB, free: 94.29 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007318/1.823, allocations: 1.122 MB / 0.8679 GB, free: 93.19 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08968/1.913, allocations: 64.11 MB / 0.9305 GB, free: 26.14 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008036/1.921, allocations: 7.009 MB / 0.9374 GB, free: 19.09 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005537/1.927, allocations: 2.313 MB / 0.9396 GB, free: 16.77 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00603/1.933, allocations: 3.865 MB / 0.9434 GB, free: 12.9 MB / 0.545 GB Notification: Performance of SimCode: time 1.332e-06/1.933, allocations: 0 / 0.9434 GB, free: 12.9 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3994/2.332, allocations: 149 MB / 1.089 GB, free: 67.06 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.09/23.42, allocations: 0.875 kB / 1.089 GB, free: 67.06 MB / 0.545 GB (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Characteristics.fmu > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMS_Characteristics/IMS_Characteristics.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches