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.IMC_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.IMC_Characteristics,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Characteristics",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_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.001299/0.001299, allocations: 106.5 kB / 17.06 MB, free: 6.102 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.0014/0.0014, allocations: 193.4 kB / 18 MB, free: 5.172 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.443/1.443, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001417/0.001417, allocations: 43.92 kB / 350.8 MB, free: 3.695 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2716/0.2731, allocations: 49.44 MB / 400.3 MB, free: 8.414 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.02844/0.3015, allocations: 24.76 MB / 425 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01555/0.3171, allocations: 7.345 MB / 432.4 MB, free: 8.562 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00443/0.3216, allocations: 187.4 kB / 432.6 MB, free: 8.379 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02084/0.3425, allocations: 8.784 MB / 441.3 MB, free: 15.57 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01087/0.3534, allocations: 2.922 MB / 444.3 MB, free: 12.64 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005966/0.3594, allocations: 1.699 MB / 446 MB, free: 10.95 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01716/0.3765, allocations: 10.73 MB / 456.7 MB, free: 184 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03855/0.4151, allocations: 21.83 MB / 478.5 MB, free: 10.21 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009812/0.425, allocations: 5.701 MB / 484.2 MB, free: 4.496 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01088/0.4359, allocations: 6.249 MB / 490.5 MB, free: 14.23 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004628/0.4406, allocations: 1.672 MB / 492.1 MB, free: 12.55 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006639/0.4472, allocations: 2.035 MB / 494.2 MB, free: 10.52 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005239/0.4525, allocations: 3.161 MB / 497.3 MB, free: 7.352 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01196/0.4645, allocations: 6.087 MB / 0.4916 GB, free: 1.242 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0294/0.4939, allocations: 22.37 MB / 0.5135 GB, free: 10.8 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.226e-06/0.494, allocations: 0 / 0.5135 GB, free: 10.8 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.494, allocations: 4 kB / 0.5135 GB, free: 10.8 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0006458/0.4947, allocations: 0 / 0.5135 GB, free: 10.8 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2620 * Number of variables: 2620 Notification: Performance of Generate backend data structure: time 0.04288/0.5376, allocations: 12.94 MB / 0.5261 GB, free: 13.75 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.309e-05/0.5376, allocations: 12.03 kB / 0.5261 GB, free: 13.73 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005924/0.5436, allocations: 1.544 MB / 0.5276 GB, free: 12.18 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03616/0.5797, allocations: 6.249 MB / 0.5337 GB, free: 5.914 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4118/0.9916, allocations: 6.919 MB / 0.5405 GB, free: 113.2 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008762/0.9925, allocations: 0.7023 MB / 0.5412 GB, free: 113.2 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003688/0.9962, allocations: 0.9229 MB / 0.5421 GB, free: 113.2 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03385/1.03, allocations: 15.74 MB / 0.5575 GB, free: 106.9 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003629/1.03, allocations: 16.59 kB / 0.5575 GB, free: 106.9 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002651/1.033, allocations: 388.7 kB / 0.5578 GB, free: 106.6 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005233/1.034, allocations: 0.5512 MB / 0.5584 GB, free: 106.6 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02789/1.062, allocations: 14.77 MB / 0.5728 GB, free: 94.28 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07068/1.132, allocations: 51.13 MB / 0.6227 GB, free: 42.82 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01907/1.151, allocations: 26.45 MB / 0.6486 GB, free: 13.35 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004635/1.156, allocations: 3.208 MB / 0.6517 GB, free: 10.14 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004607/1.157, allocations: 171.5 kB / 0.6519 GB, free: 9.965 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.254e-05/1.157, allocations: 69.69 kB / 0.6519 GB, free: 9.887 MB / 462.1 MB Notification: Performance of pre-optimization done (n=398): time 7.073e-06/1.157, allocations: 0 / 0.6519 GB, free: 9.887 MB / 462.1 MB Notification: Performance of matching and sorting (n=404): time 0.04125/1.198, allocations: 17.42 MB / 0.669 GB, free: 8.777 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.768e-05/1.198, allocations: 90.58 kB / 0.669 GB, free: 8.676 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007451/1.206, allocations: 3.701 MB / 0.6727 GB, free: 5.023 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000645/1.206, allocations: 85.7 kB / 0.6727 GB, free: 4.934 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003332/1.21, allocations: 4.126 MB / 0.6768 GB, free: 0.9492 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001903/1.211, allocations: 1.439 MB / 0.6782 GB, free: 15.53 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003102/1.215, allocations: 1.152 MB / 0.6793 GB, free: 14.36 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000135/1.215, allocations: 301.1 kB / 0.6796 GB, free: 14.07 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005098/1.22, allocations: 2.791 MB / 0.6823 GB, free: 11.27 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007095/1.227, allocations: 4.959 MB / 0.6871 GB, free: 5.316 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01328/1.24, allocations: 8.317 MB / 0.6953 GB, free: 12 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.408e-05/1.24, allocations: 20 kB / 0.6953 GB, free: 11.98 MB / 0.4982 GB Notification: Performance of matching and sorting (n=752) (initialization): time 0.01909/1.259, allocations: 9.109 MB / 0.7042 GB, free: 2.855 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001061/1.26, allocations: 36 kB / 0.7042 GB, free: 2.82 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001399/1.26, allocations: 72.53 kB / 0.7043 GB, free: 2.75 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003934/1.264, allocations: 1.219 MB / 0.7055 GB, free: 1.531 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005196/1.269, allocations: 1.33 MB / 0.7068 GB, free: 204 kB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01737/1.286, allocations: 9.934 MB / 0.7165 GB, free: 6.133 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004428/1.291, allocations: 331.6 kB / 0.7168 GB, free: 5.809 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001151/1.292, allocations: 280 kB / 0.7171 GB, free: 5.535 MB / 0.5138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 319 * 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 (694): * Single equations (assignments): 692 * 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,44,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007511/1.3, allocations: 3.717 MB / 0.7207 GB, free: 1.805 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001454/1.301, allocations: 417.3 kB / 0.7211 GB, free: 1.395 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01512/1.316, allocations: 6.693 MB / 0.7276 GB, free: 10.67 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01095/1.327, allocations: 5.591 MB / 0.7331 GB, free: 5.055 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.789e-05/1.327, allocations: 15.98 kB / 0.7331 GB, free: 5.039 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.778e-05/1.327, allocations: 19.92 kB / 0.7331 GB, free: 5.02 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2523/1.58, allocations: 15.77 MB / 0.7485 GB, free: 173.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.186e-05/1.58, allocations: 7.938 kB / 0.7485 GB, free: 173.4 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002849/1.582, allocations: 0.7168 MB / 0.7492 GB, free: 173.4 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003052/1.586, allocations: 1.118 MB / 0.7503 GB, free: 173.1 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000598/1.586, allocations: 98.89 kB / 0.7504 GB, free: 173.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01104/1.597, allocations: 8.852 MB / 0.7591 GB, free: 168.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.199e-06/1.597, allocations: 14.2 kB / 0.7591 GB, free: 168.3 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0135/1.611, allocations: 9.859 MB / 0.7687 GB, free: 164.2 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001878/1.613, allocations: 0.9744 MB / 0.7697 GB, free: 163.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005788/1.613, allocations: 83.27 kB / 0.7697 GB, free: 163.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001843/1.615, allocations: 200.4 kB / 0.7699 GB, free: 163.7 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005447/1.616, allocations: 288.5 kB / 0.7702 GB, free: 163.7 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002249/1.616, allocations: 117.3 kB / 0.7703 GB, free: 163.7 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003347/1.619, allocations: 2.495 MB / 0.7727 GB, free: 162.7 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.91e-07/1.619, allocations: 0 / 0.7727 GB, free: 162.7 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004952/1.624, allocations: 1.609 MB / 0.7743 GB, free: 162.6 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 2 (imcQS.rotorCage.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 (389): * Single equations (assignments): 387 * 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,44,40.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01294/1.637, allocations: 10.6 MB / 0.7847 GB, free: 153.8 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01015/1.647, allocations: 7.149 MB / 0.7917 GB, free: 147.6 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.857e-06/1.647, allocations: 4 kB / 0.7917 GB, free: 147.6 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005235/1.653, allocations: 3.401 MB / 0.795 GB, free: 144.5 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004804/1.657, allocations: 0.9825 MB / 0.7959 GB, free: 143.5 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08043/1.738, allocations: 54.37 MB / 0.849 GB, free: 86.65 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008621/1.747, allocations: 6.191 MB / 0.8551 GB, free: 80.41 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004806/1.751, allocations: 1.904 MB / 0.8569 GB, free: 78.5 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005134/1.757, allocations: 3.315 MB / 0.8602 GB, free: 75.18 MB / 0.5294 GB Notification: Performance of SimCode: time 1.312e-06/1.757, allocations: 0 / 0.8602 GB, free: 75.18 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4329/2.19, allocations: 127.1 MB / 0.9843 GB, free: 158.9 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.25/21.44, allocations: 18.5 kB / 0.9843 GB, free: 158.9 MB / 0.545 GB (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_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_IMC_Characteristics.fmu > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_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/IMC_Characteristics/IMC_Characteristics.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches