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.001442/0.001443, allocations: 105.3 kB / 17.58 MB, free: 5.559 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.001787/0.001787, allocations: 192 kB / 18.51 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.02/2.02, allocations: 205.1 MB / 224.4 MB, free: 12.3 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.002169/0.002169, allocations: 59.92 kB / 280.8 MB, free: 3.027 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1176, allocations: 46.62 MB / 327.4 MB, free: 4.336 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.04217/0.1598, allocations: 27.08 MB / 354.5 MB, free: 9.125 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02421/0.184, allocations: 7.997 MB / 362.5 MB, free: 1.102 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006816/0.1909, allocations: 167.5 kB / 362.7 MB, free: 0.9375 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02963/0.2206, allocations: 9.362 MB / 372 MB, free: 7.535 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01465/0.2352, allocations: 3.365 MB / 375.4 MB, free: 4.152 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007297/0.2426, allocations: 1.829 MB / 377.2 MB, free: 2.32 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.2353/0.4779, allocations: 12.18 MB / 389.4 MB, free: 11.92 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0579/0.5359, allocations: 24.53 MB / 413.9 MB, free: 1.816 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03721/0.5732, allocations: 7.905 MB / 421.8 MB, free: 0 / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02635/0.5996, allocations: 7.352 MB / 429.2 MB, free: 9.109 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01091/0.6105, allocations: 1.852 MB / 431 MB, free: 7.258 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0147/0.6253, allocations: 2.211 MB / 433.2 MB, free: 5.07 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01331/0.6387, allocations: 3.681 MB / 436.9 MB, free: 1.48 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01897/0.6577, allocations: 7 MB / 443.9 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04204/0.6998, allocations: 24.65 MB / 468.6 MB, free: 2.328 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.616e-06/0.6999, allocations: 0 / 468.6 MB, free: 2.328 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.6999, allocations: 0 / 468.6 MB, free: 2.328 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.00091/0.7008, allocations: 0 / 468.6 MB, free: 2.328 MB / 366.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.07437/0.7753, allocations: 14.73 MB / 483.3 MB, free: 3.605 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.15e-05/0.7753, allocations: 8.031 kB / 483.3 MB, free: 3.598 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.009682/0.785, allocations: 1.822 MB / 485.1 MB, free: 1.777 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09531/0.8804, allocations: 9.421 MB / 494.6 MB, free: 8.461 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02161/0.9021, allocations: 6.872 MB / 0.4897 GB, free: 1.84 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001373/0.9035, allocations: 0.8237 MB / 0.4905 GB, free: 1.031 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005942/0.9095, allocations: 1.074 MB / 0.4915 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07121/0.9807, allocations: 18.76 MB / 0.5098 GB, free: 13.18 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007038/0.9815, allocations: 15 kB / 0.5099 GB, free: 13.17 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005467/0.987, allocations: 462.7 kB / 0.5103 GB, free: 12.73 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001194/0.9882, allocations: 0.695 MB / 0.511 GB, free: 12.04 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05944/1.048, allocations: 18.21 MB / 0.5288 GB, free: 9.82 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6221/1.67, allocations: 60.03 MB / 0.5874 GB, free: 109.3 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04887/1.719, allocations: 46.72 MB / 0.633 GB, free: 63.89 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01224/1.731, allocations: 4.279 MB / 0.6372 GB, free: 61.39 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04273/1.774, allocations: 12.4 MB / 0.6493 GB, free: 49.07 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.329e-05/1.774, allocations: 81.52 kB / 0.6494 GB, free: 48.98 MB / 446.1 MB Notification: Performance of pre-optimization done (n=385): time 1.06e-05/1.774, allocations: 7.938 kB / 0.6494 GB, free: 48.97 MB / 446.1 MB Notification: Performance of matching and sorting (n=391): time 0.1133/1.887, allocations: 19.3 MB / 0.6682 GB, free: 29.59 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.927e-05/1.887, allocations: 90.47 kB / 0.6683 GB, free: 29.48 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009308/1.897, allocations: 4.342 MB / 0.6726 GB, free: 25.12 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001025/1.898, allocations: 89.7 kB / 0.6726 GB, free: 25.03 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0034/1.901, allocations: 4.818 MB / 0.6773 GB, free: 20.18 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002008/1.903, allocations: 1.35 MB / 0.6787 GB, free: 18.84 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002927/1.906, allocations: 1.266 MB / 0.6799 GB, free: 17.56 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.499e-05/1.906, allocations: 316.2 kB / 0.6802 GB, free: 17.25 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007329/1.914, allocations: 3.116 MB / 0.6832 GB, free: 14.13 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01211/1.926, allocations: 5.744 MB / 0.6889 GB, free: 7.164 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01919/1.945, allocations: 9.442 MB / 0.6981 GB, free: 12.48 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001128/1.945, allocations: 28 kB / 0.6981 GB, free: 12.46 MB / 462.1 MB Notification: Performance of matching and sorting (n=822) (initialization): time 0.03703/1.982, allocations: 10.27 MB / 0.7081 GB, free: 2.16 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001854/1.982, allocations: 43.94 kB / 0.7082 GB, free: 2.117 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000268/1.983, allocations: 88 kB / 0.7083 GB, free: 2.031 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008129/1.991, allocations: 1.465 MB / 0.7097 GB, free: 0.5664 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.3031/2.294, allocations: 1.453 MB / 0.7111 GB, free: 149 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02515/2.319, allocations: 11.46 MB / 0.7223 GB, free: 145 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007443/2.327, allocations: 400.8 kB / 0.7227 GB, free: 144.9 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001732/2.329, allocations: 331.5 kB / 0.723 GB, free: 144.8 MB / 462.1 MB 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.009254/2.338, allocations: 4.174 MB / 0.7271 GB, free: 142.9 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001455/2.339, allocations: 452.6 kB / 0.7275 GB, free: 142.9 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01382/2.353, allocations: 7.354 MB / 0.7347 GB, free: 140 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01311/2.366, allocations: 6.035 MB / 0.7406 GB, free: 137.6 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.472e-05/2.366, allocations: 16.52 kB / 0.7406 GB, free: 137.6 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001276/2.367, allocations: 20.81 kB / 0.7406 GB, free: 137.6 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05363/2.42, allocations: 16.38 MB / 0.7566 GB, free: 130.7 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.892e-05/2.42, allocations: 0 / 0.7566 GB, free: 130.7 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00693/2.427, allocations: 0.7212 MB / 0.7573 GB, free: 130 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007102/2.434, allocations: 1.312 MB / 0.7586 GB, free: 128.7 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001271/2.436, allocations: 79.98 kB / 0.7587 GB, free: 128.6 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02591/2.462, allocations: 10.21 MB / 0.7687 GB, free: 118.4 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/2.462, allocations: 0 / 0.7687 GB, free: 118.4 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03213/2.494, allocations: 10.53 MB / 0.7789 GB, free: 108 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004624/2.499, allocations: 1.042 MB / 0.78 GB, free: 107 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002488/2.501, allocations: 72.06 kB / 0.78 GB, free: 106.9 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005879/2.507, allocations: 253.3 kB / 0.7803 GB, free: 106.6 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001622/2.509, allocations: 267.5 kB / 0.7805 GB, free: 106.4 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008444/2.51, allocations: 116 kB / 0.7806 GB, free: 106.3 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.008342/2.518, allocations: 2.912 MB / 0.7835 GB, free: 103.4 MB / 462.1 MB Notification: Performance of sort global known variables: time 6.71e-07/2.518, allocations: 0 / 0.7835 GB, free: 103.4 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.01271/2.531, allocations: 1.849 MB / 0.7853 GB, free: 101.5 MB / 462.1 MB 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.0305/2.561, allocations: 11.25 MB / 0.7963 GB, free: 90.2 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.05644/2.618, allocations: 14.22 MB / 0.8102 GB, free: 76.01 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.391e-05/2.618, allocations: 0 / 0.8102 GB, free: 76.01 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01179/2.63, allocations: 3.636 MB / 0.8137 GB, free: 72.37 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01062/2.64, allocations: 1.092 MB / 0.8148 GB, free: 71.29 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3914/3.032, allocations: 72.59 MB / 0.8857 GB, free: 142.9 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02064/3.053, allocations: 7.034 MB / 0.8925 GB, free: 141.9 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.01331/3.066, allocations: 2.244 MB / 0.8947 GB, free: 141.8 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01112/3.077, allocations: 3.873 MB / 0.8985 GB, free: 138.5 MB / 462.1 MB Notification: Performance of SimCode: time 2.615e-06/3.077, allocations: 0 / 0.8985 GB, free: 138.5 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2447/3.322, allocations: 142.2 MB / 1.037 GB, free: 10.5 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 19.47/22.79, allocations: 11.97 kB / 1.037 GB, free: 10.49 MB / 462.1 MB (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