Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 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.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,fileNamePrefix="Modelica_3_2_3_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_3_2_3_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.001404/0.001404, allocations: 110.4 kB / 17.73 MB, free: 5.34 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.001574/0.001574, allocations: 179.1 kB / 18.66 MB, free: 4.414 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.569/1.569, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001522/0.001523, allocations: 51.92 kB / 328.1 MB, free: 3.789 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.113, allocations: 46.62 MB / 374.7 MB, free: 5.059 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.2638/0.377, allocations: 27.07 MB / 401.8 MB, free: 12.01 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0246/0.4016, allocations: 8.005 MB / 409.8 MB, free: 6.293 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008963/0.4106, allocations: 166.5 kB / 409.9 MB, free: 6.262 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02318/0.4339, allocations: 9.43 MB / 419.4 MB, free: 15.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01778/0.4517, allocations: 3.413 MB / 422.8 MB, free: 13.13 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007203/0.4589, allocations: 1.837 MB / 424.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.02069/0.4796, allocations: 12.28 MB / 436.9 MB, free: 1.758 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04561/0.5253, allocations: 24.42 MB / 461.3 MB, free: 9.145 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01378/0.5391, allocations: 6.55 MB / 467.9 MB, free: 2.578 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01348/0.5526, allocations: 7.261 MB / 475.1 MB, free: 11.29 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005924/0.5586, allocations: 1.852 MB / 477 MB, free: 9.438 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01096/0.5695, allocations: 2.207 MB / 479.2 MB, free: 7.234 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007671/0.5773, allocations: 3.671 MB / 482.8 MB, free: 3.555 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01611/0.5934, allocations: 6.996 MB / 489.8 MB, free: 12.53 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03971/0.6332, allocations: 24.84 MB / 0.5026 GB, free: 3.617 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.899e-06/0.6332, allocations: 0 / 0.5026 GB, free: 3.617 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.6332, allocations: 0 / 0.5026 GB, free: 3.617 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0009274/0.6342, allocations: 0 / 0.5026 GB, free: 3.617 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3092 * Number of variables: 3092 Notification: Performance of Generate backend data structure: time 0.05222/0.6864, allocations: 14.93 MB / 0.5172 GB, free: 4.566 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.471e-05/0.6865, allocations: 8.031 kB / 0.5172 GB, free: 4.559 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007235/0.6937, allocations: 1.821 MB / 0.519 GB, free: 2.727 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05372/0.7475, allocations: 9.524 MB / 0.5283 GB, free: 9.184 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02008/0.7676, allocations: 6.917 MB / 0.535 GB, free: 2.184 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001174/0.7688, allocations: 0.8188 MB / 0.5358 GB, free: 1.363 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006266/0.7751, allocations: 1.078 MB / 0.5369 GB, free: 292 kB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.484/1.259, allocations: 18.74 MB / 0.5552 GB, free: 127.2 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004639/1.26, allocations: 13.91 kB / 0.5552 GB, free: 127.2 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004816/1.264, allocations: 455.8 kB / 0.5556 GB, free: 127.2 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001173/1.266, allocations: 0.6991 MB / 0.5563 GB, free: 127.2 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04575/1.311, allocations: 18.22 MB / 0.5741 GB, free: 121.1 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09946/1.411, allocations: 59.51 MB / 0.6322 GB, free: 76.73 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0287/1.44, allocations: 46.71 MB / 0.6778 GB, free: 25.07 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005888/1.446, allocations: 4.277 MB / 0.682 GB, free: 20.78 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01864/1.464, allocations: 12.38 MB / 0.6941 GB, free: 8.582 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.516e-05/1.464, allocations: 73.58 kB / 0.6942 GB, free: 8.5 MB / 478.1 MB Notification: Performance of pre-optimization done (n=385): time 5.099e-06/1.464, allocations: 0 / 0.6942 GB, free: 8.5 MB / 478.1 MB Notification: Performance of matching and sorting (n=391): time 0.04458/1.509, allocations: 19.44 MB / 0.7132 GB, free: 5.43 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.545e-05/1.509, allocations: 94.45 kB / 0.7133 GB, free: 5.324 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007186/1.516, allocations: 4.347 MB / 0.7175 GB, free: 1.012 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008353/1.517, allocations: 85.7 kB / 0.7176 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003665/1.521, allocations: 5.005 MB / 0.7225 GB, free: 11.94 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.002196/1.523, allocations: 1.419 MB / 0.7239 GB, free: 10.54 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002307/1.525, allocations: 1.275 MB / 0.7251 GB, free: 9.25 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 9.975e-05/1.525, allocations: 305.1 kB / 0.7254 GB, free: 8.949 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004796/1.53, allocations: 3.12 MB / 0.7284 GB, free: 5.824 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006586/1.537, allocations: 5.741 MB / 0.734 GB, free: 14.86 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01334/1.55, allocations: 9.45 MB / 0.7433 GB, free: 4.176 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001026/1.55, allocations: 24 kB / 0.7433 GB, free: 4.152 MB / 0.5138 GB Notification: Performance of matching and sorting (n=822) (initialization): time 0.2663/1.817, allocations: 10.29 MB / 0.7533 GB, free: 164.7 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001151/1.817, allocations: 43.47 kB / 0.7534 GB, free: 164.7 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002715/1.817, allocations: 89.31 kB / 0.7535 GB, free: 164.7 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004755/1.822, allocations: 1.448 MB / 0.7549 GB, free: 164.7 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006347/1.828, allocations: 1.465 MB / 0.7563 GB, free: 164.7 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01762/1.846, allocations: 11.46 MB / 0.7675 GB, free: 159.4 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0058/1.852, allocations: 398.3 kB / 0.7679 GB, free: 159.3 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001493/1.853, allocations: 328.5 kB / 0.7682 GB, free: 159.2 MB / 0.5138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 396 * 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 (752): * Single equations (assignments): 750 * 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.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008828/1.862, allocations: 4.178 MB / 0.7723 GB, free: 157.2 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001368/1.863, allocations: 468.9 kB / 0.7727 GB, free: 157.2 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01244/1.876, allocations: 7.355 MB / 0.7799 GB, free: 154.4 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008628/1.885, allocations: 6.037 MB / 0.7858 GB, free: 152 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.187e-05/1.885, allocations: 10.75 kB / 0.7858 GB, free: 152 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.075e-05/1.885, allocations: 22.11 kB / 0.7858 GB, free: 152 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03013/1.915, allocations: 16.34 MB / 0.8018 GB, free: 144.1 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.515e-05/1.915, allocations: 0 / 0.8018 GB, free: 144.1 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003076/1.918, allocations: 0.7319 MB / 0.8025 GB, free: 143.5 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003318/1.921, allocations: 1.291 MB / 0.8038 GB, free: 142.5 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000534/1.922, allocations: 87.45 kB / 0.8038 GB, free: 142.4 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01228/1.934, allocations: 10.2 MB / 0.8138 GB, free: 133.5 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/1.934, allocations: 0 / 0.8138 GB, free: 133.5 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0139/1.948, allocations: 10.56 MB / 0.8241 GB, free: 123 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002875/1.951, allocations: 1.066 MB / 0.8252 GB, free: 121.9 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009099/1.952, allocations: 71.98 kB / 0.8252 GB, free: 121.9 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002489/1.954, allocations: 251.8 kB / 0.8255 GB, free: 121.6 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006017/1.955, allocations: 267.5 kB / 0.8257 GB, free: 121.4 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002319/1.955, allocations: 115.9 kB / 0.8258 GB, free: 121.2 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.003851/1.959, allocations: 2.908 MB / 0.8287 GB, free: 118.3 MB / 0.5138 GB Notification: Performance of sort global known variables: time 2.21e-07/1.959, allocations: 0 / 0.8287 GB, free: 118.3 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.006959/1.966, allocations: 1.85 MB / 0.8305 GB, free: 116.5 MB / 0.5138 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (imsQS.rotor.strayReluctance.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 (360): * Single equations (assignments): 358 * 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.01371/1.98, allocations: 11.28 MB / 0.8415 GB, free: 105.1 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01418/1.994, allocations: 7.922 MB / 0.8492 GB, free: 97.22 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.495e-05/1.994, allocations: 2 kB / 0.8492 GB, free: 97.22 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.006803/2.001, allocations: 3.656 MB / 0.8528 GB, free: 93.56 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005108/2.006, allocations: 1.101 MB / 0.8539 GB, free: 92.48 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09903/2.105, allocations: 62.02 MB / 0.9144 GB, free: 27.37 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009327/2.115, allocations: 7.028 MB / 0.9213 GB, free: 20.29 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.005722/2.12, allocations: 2.248 MB / 0.9235 GB, free: 18.04 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006083/2.126, allocations: 3.881 MB / 0.9273 GB, free: 14.16 MB / 0.5138 GB Notification: Performance of SimCode: time 1.273e-06/2.126, allocations: 0 / 0.9273 GB, free: 14.16 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4572/2.584, allocations: 140.4 MB / 1.064 GB, free: 66.93 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.27/22.85, allocations: 0.875 kB / 1.064 GB, free: 66.93 MB / 0.5138 GB (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Characteristics.fmu > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMS_Characteristics/IMS_Characteristics.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches