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.001161/0.001161, allocations: 108.2 kB / 17.06 MB, free: 6.016 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.001128/0.001128, allocations: 191 kB / 18 MB, free: 5.102 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.387/1.387, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001082/0.001082, allocations: 47.92 kB / 350.8 MB, free: 3.711 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2889/0.29, allocations: 49.43 MB / 400.3 MB, free: 8.43 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.02769/0.3177, allocations: 26.97 MB / 427.2 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01641/0.3342, allocations: 8.039 MB / 435.3 MB, free: 5.648 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005335/0.3395, allocations: 199.4 kB / 435.5 MB, free: 5.453 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02119/0.3608, allocations: 9.408 MB / 444.9 MB, free: 12.02 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01282/0.3736, allocations: 3.369 MB / 448.3 MB, free: 8.641 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006415/0.3801, allocations: 1.812 MB / 450.1 MB, free: 6.836 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01796/0.3981, allocations: 12.14 MB / 462.2 MB, free: 10.66 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03866/0.4368, allocations: 24.38 MB / 486.6 MB, free: 2.082 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0118/0.4486, allocations: 6.468 MB / 493.1 MB, free: 11.6 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01312/0.4618, allocations: 7.164 MB / 0.4885 GB, free: 4.41 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00551/0.4673, allocations: 1.84 MB / 0.4903 GB, free: 2.57 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006744/0.4741, allocations: 2.203 MB / 0.4924 GB, free: 376 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00571/0.4799, allocations: 3.609 MB / 0.496 GB, free: 12.75 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01295/0.4928, allocations: 6.915 MB / 0.5027 GB, free: 5.809 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03069/0.5235, allocations: 24.8 MB / 0.5269 GB, free: 12.92 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.022e-05/0.5236, allocations: 0 / 0.5269 GB, free: 12.92 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.815e-06/0.5236, allocations: 0 / 0.5269 GB, free: 12.92 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0008596/0.5245, allocations: 0 / 0.5269 GB, free: 12.92 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.4583/0.9828, allocations: 14.73 MB / 0.5413 GB, free: 113.9 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.505e-05/0.9829, allocations: 11.27 kB / 0.5413 GB, free: 113.9 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007881/0.9908, allocations: 1.795 MB / 0.5431 GB, free: 113 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.046/1.037, allocations: 8.537 MB / 0.5514 GB, free: 110.6 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0176/1.054, allocations: 7.672 MB / 0.5589 GB, free: 105.8 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008773/1.055, allocations: 0.8044 MB / 0.5597 GB, free: 105.1 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00508/1.061, allocations: 1.057 MB / 0.5607 GB, free: 104 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04593/1.106, allocations: 18.29 MB / 0.5786 GB, free: 85.71 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005765/1.107, allocations: 19.89 kB / 0.5786 GB, free: 85.7 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004034/1.111, allocations: 447.2 kB / 0.579 GB, free: 85.27 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006315/1.112, allocations: 0.675 MB / 0.5797 GB, free: 84.6 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03406/1.146, allocations: 17.54 MB / 0.5968 GB, free: 67.05 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08576/1.232, allocations: 58.21 MB / 0.6537 GB, free: 8.148 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02778/1.26, allocations: 37.47 MB / 0.6903 GB, free: 14.76 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005918/1.265, allocations: 4.115 MB / 0.6943 GB, free: 10.62 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003809/1.266, allocations: 197 kB / 0.6945 GB, free: 10.41 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.666e-05/1.266, allocations: 86.56 kB / 0.6946 GB, free: 10.31 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=518): time 7.043e-06/1.266, allocations: 0 / 0.6946 GB, free: 10.31 MB / 0.4982 GB Notification: Performance of matching and sorting (n=524): time 0.04559/1.312, allocations: 21.59 MB / 0.7156 GB, free: 4.637 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.724e-05/1.312, allocations: 107.5 kB / 0.7157 GB, free: 4.516 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006093/1.318, allocations: 4.183 MB / 0.7198 GB, free: 312 kB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0007942/1.319, allocations: 109.7 kB / 0.7199 GB, free: 196 kB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.002683/1.321, allocations: 4.663 MB / 0.7245 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001961/1.323, allocations: 1.863 MB / 0.7263 GB, free: 9.609 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001985/1.325, allocations: 1.359 MB / 0.7276 GB, free: 8.242 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001011/1.325, allocations: 305.1 kB / 0.7279 GB, free: 7.941 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005045/1.33, allocations: 3.445 MB / 0.7313 GB, free: 4.492 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007679/1.338, allocations: 5.881 MB / 0.737 GB, free: 13.51 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01338/1.352, allocations: 10.02 MB / 0.7468 GB, free: 2.328 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.331e-05/1.352, allocations: 20 kB / 0.7468 GB, free: 2.309 MB / 0.545 GB Notification: Performance of matching and sorting (n=910) (initialization): time 0.2436/1.595, allocations: 10.96 MB / 0.7575 GB, free: 188.4 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.449e-05/1.595, allocations: 38.62 kB / 0.7576 GB, free: 188.4 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001331/1.596, allocations: 78.03 kB / 0.7576 GB, free: 188.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003447/1.599, allocations: 1.44 MB / 0.759 GB, free: 188.1 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005335/1.604, allocations: 1.615 MB / 0.7606 GB, free: 188 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01402/1.618, allocations: 11.5 MB / 0.7719 GB, free: 182.1 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00497/1.623, allocations: 411.5 kB / 0.7723 GB, free: 182 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008769/1.624, allocations: 332.7 kB / 0.7726 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.006042/1.63, allocations: 4.16 MB / 0.7766 GB, free: 179.9 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001098/1.631, allocations: 498.3 kB / 0.7771 GB, free: 179.9 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01262/1.644, allocations: 8.483 MB / 0.7854 GB, free: 176.1 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009856/1.654, allocations: 7.086 MB / 0.7923 GB, free: 169.9 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.033e-05/1.654, allocations: 12 kB / 0.7923 GB, free: 169.9 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.882e-05/1.654, allocations: 26.86 kB / 0.7923 GB, free: 169.9 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03076/1.685, allocations: 18.77 MB / 0.8107 GB, free: 152.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.009e-05/1.685, allocations: 4 kB / 0.8107 GB, free: 152.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003518/1.688, allocations: 0.94 MB / 0.8116 GB, free: 151.2 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003222/1.692, allocations: 1.301 MB / 0.8129 GB, free: 149.9 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004403/1.692, allocations: 104 kB / 0.813 GB, free: 149.8 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01161/1.704, allocations: 10.19 MB / 0.8229 GB, free: 139.6 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/1.704, allocations: 4 kB / 0.8229 GB, free: 139.6 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01607/1.72, allocations: 12.3 MB / 0.8349 GB, free: 127.1 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003152/1.723, allocations: 1.179 MB / 0.8361 GB, free: 125.9 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00109/1.724, allocations: 96 kB / 0.8362 GB, free: 125.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003226/1.727, allocations: 275.8 kB / 0.8364 GB, free: 125.6 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008948/1.728, allocations: 352.3 kB / 0.8368 GB, free: 125.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003125/1.729, allocations: 148 kB / 0.8369 GB, free: 125.1 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004008/1.733, allocations: 2.811 MB / 0.8397 GB, free: 122.3 MB / 0.545 GB Notification: Performance of sort global known variables: time 5.21e-07/1.733, allocations: 4 kB / 0.8397 GB, free: 122.3 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00756/1.74, allocations: 1.926 MB / 0.8416 GB, free: 120.3 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.01677/1.757, allocations: 13.07 MB / 0.8543 GB, free: 107.1 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01196/1.769, allocations: 8.746 MB / 0.8629 GB, free: 98.27 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.875e-06/1.769, allocations: 4 kB / 0.8629 GB, free: 98.27 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006206/1.775, allocations: 4.203 MB / 0.867 GB, free: 94.04 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005406/1.781, allocations: 1.118 MB / 0.8681 GB, free: 92.95 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08625/1.867, allocations: 64.12 MB / 0.9307 GB, free: 25.89 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007681/1.875, allocations: 7.001 MB / 0.9375 GB, free: 18.84 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0056/1.88, allocations: 2.313 MB / 0.9398 GB, free: 16.52 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005456/1.886, allocations: 3.866 MB / 0.9435 GB, free: 12.66 MB / 0.545 GB Notification: Performance of SimCode: time 6.91e-07/1.886, allocations: 0 / 0.9435 GB, free: 12.66 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3964/2.282, allocations: 149 MB / 1.089 GB, free: 66.67 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.65/24.93, allocations: 0.875 kB / 1.089 GB, free: 66.67 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