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.002239/0.00224, allocations: 109.3 kB / 16.92 MB, free: 5.805 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.002402/0.002402, allocations: 191.5 kB / 17.85 MB, free: 5.16 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.415/2.415, allocations: 222.9 MB / 241.6 MB, free: 15.26 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002109/0.002109, allocations: 50.33 kB / 300.7 MB, free: 5.777 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1826/0.1848, allocations: 49.44 MB / 350.2 MB, free: 4.32 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.5015/0.6864, allocations: 26.95 MB / 377.1 MB, free: 10.03 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02945/0.7159, allocations: 8.044 MB / 385.2 MB, free: 8.215 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01197/0.728, allocations: 201 kB / 385.4 MB, free: 8.176 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03308/0.7612, allocations: 9.362 MB / 394.7 MB, free: 3.77 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02064/0.7818, allocations: 3.307 MB / 398 MB, free: 1.316 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009199/0.7911, allocations: 1.818 MB / 399.9 MB, free: 15.89 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.03122/0.8223, allocations: 12.06 MB / 411.9 MB, free: 8.32 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06511/0.8875, allocations: 24.48 MB / 436.4 MB, free: 15.65 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0223/0.9099, allocations: 6.433 MB / 442.8 MB, free: 9.199 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0206/0.9305, allocations: 7.211 MB / 450 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01025/0.9408, allocations: 1.84 MB / 451.9 MB, free: 128 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01583/0.9567, allocations: 2.203 MB / 454.1 MB, free: 13.92 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01155/0.9683, allocations: 3.612 MB / 457.7 MB, free: 10.3 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02748/0.9959, allocations: 6.926 MB / 464.6 MB, free: 3.348 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.05692/1.053, allocations: 24.62 MB / 489.2 MB, free: 10.66 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.516e-05/1.053, allocations: 0 / 489.2 MB, free: 10.66 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.216e-06/1.053, allocations: 0 / 489.2 MB, free: 10.66 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.001398/1.054, allocations: 0 / 489.2 MB, free: 10.66 MB / 398.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.08727/1.142, allocations: 14.55 MB / 0.492 GB, free: 12.01 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.48e-05/1.142, allocations: 8.031 kB / 0.492 GB, free: 12 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01401/1.156, allocations: 1.792 MB / 0.4937 GB, free: 10.2 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08408/1.24, allocations: 8.434 MB / 0.502 GB, free: 1.742 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02939/1.27, allocations: 7.445 MB / 0.5092 GB, free: 10.21 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001519/1.271, allocations: 0.8108 MB / 0.51 GB, free: 9.395 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008646/1.28, allocations: 1.058 MB / 0.5111 GB, free: 8.336 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.9032/2.183, allocations: 18.29 MB / 0.5289 GB, free: 110 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008753/2.184, allocations: 13.61 kB / 0.5289 GB, free: 110 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00694/2.191, allocations: 453.6 kB / 0.5294 GB, free: 109.7 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00183/2.193, allocations: 0.6637 MB / 0.53 GB, free: 109.6 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07224/2.265, allocations: 17.53 MB / 0.5471 GB, free: 103.1 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1403/2.406, allocations: 58.74 MB / 0.6045 GB, free: 51.15 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0321/2.438, allocations: 37.48 MB / 0.6411 GB, free: 9.754 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008309/2.446, allocations: 4.11 MB / 0.6451 GB, free: 5.621 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006913/2.447, allocations: 195.7 kB / 0.6453 GB, free: 5.422 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001091/2.447, allocations: 86.62 kB / 0.6454 GB, free: 5.324 MB / 430.1 MB Notification: Performance of pre-optimization done (n=518): time 1.004e-05/2.447, allocations: 0 / 0.6454 GB, free: 5.324 MB / 430.1 MB Notification: Performance of matching and sorting (n=524): time 0.07478/2.522, allocations: 21.44 MB / 0.6663 GB, free: 15.64 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001532/2.522, allocations: 107.5 kB / 0.6664 GB, free: 15.52 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01542/2.537, allocations: 4.171 MB / 0.6705 GB, free: 11.32 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.002056/2.54, allocations: 113.7 kB / 0.6706 GB, free: 11.21 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.007956/2.548, allocations: 4.507 MB / 0.675 GB, free: 6.676 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.005097/2.553, allocations: 1.784 MB / 0.6768 GB, free: 4.906 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.008991/2.562, allocations: 1.351 MB / 0.6781 GB, free: 3.547 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001793/2.562, allocations: 305.1 kB / 0.6784 GB, free: 3.246 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0136/2.576, allocations: 3.438 MB / 0.6817 GB, free: 15.8 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01763/2.593, allocations: 5.883 MB / 0.6875 GB, free: 8.828 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.4701/3.064, allocations: 10.02 MB / 0.6973 GB, free: 142.6 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001951/3.064, allocations: 22.34 kB / 0.6973 GB, free: 142.6 MB / 478.1 MB Notification: Performance of matching and sorting (n=910) (initialization): time 0.04189/3.106, allocations: 10.94 MB / 0.708 GB, free: 139.4 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001807/3.106, allocations: 37.69 kB / 0.708 GB, free: 139.4 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003556/3.106, allocations: 82.03 kB / 0.7081 GB, free: 139.4 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007506/3.114, allocations: 1.454 MB / 0.7095 GB, free: 139.2 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01027/3.124, allocations: 1.607 MB / 0.7111 GB, free: 139 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02298/3.147, allocations: 11.5 MB / 0.7223 GB, free: 133 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01068/3.158, allocations: 421.7 kB / 0.7227 GB, free: 132.9 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002885/3.161, allocations: 327.8 kB / 0.723 GB, free: 132.9 MB / 478.1 MB 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.02005/3.181, allocations: 4.168 MB / 0.7271 GB, free: 130.9 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004602/3.186, allocations: 476 kB / 0.7275 GB, free: 130.9 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03223/3.218, allocations: 8.481 MB / 0.7358 GB, free: 127.4 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01866/3.237, allocations: 7.083 MB / 0.7427 GB, free: 124.6 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.253e-05/3.237, allocations: 11.59 kB / 0.7427 GB, free: 124.6 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001566/3.237, allocations: 25.97 kB / 0.7428 GB, free: 124.6 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04636/3.284, allocations: 19.33 MB / 0.7617 GB, free: 112.3 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.86e-05/3.284, allocations: 0 / 0.7617 GB, free: 112.3 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005839/3.29, allocations: 0.9401 MB / 0.7626 GB, free: 111.4 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005924/3.295, allocations: 1.305 MB / 0.7638 GB, free: 110 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001935/3.297, allocations: 112 kB / 0.764 GB, free: 109.9 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02568/3.323, allocations: 10.19 MB / 0.7739 GB, free: 99.74 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.128e-05/3.323, allocations: 7.938 kB / 0.7739 GB, free: 99.73 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03967/3.363, allocations: 12.27 MB / 0.7859 GB, free: 87.26 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.007953/3.371, allocations: 1.159 MB / 0.787 GB, free: 86.07 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003359/3.375, allocations: 92 kB / 0.7871 GB, free: 85.98 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005201/3.38, allocations: 271.8 kB / 0.7874 GB, free: 85.72 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002023/3.382, allocations: 356.3 kB / 0.7877 GB, free: 85.37 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009525/3.383, allocations: 156 kB / 0.7879 GB, free: 85.21 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.00665/3.389, allocations: 2.811 MB / 0.7906 GB, free: 82.39 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.91e-07/3.39, allocations: 0 / 0.7906 GB, free: 82.39 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.01714/3.407, allocations: 1.939 MB / 0.7925 GB, free: 80.46 MB / 478.1 MB 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.04055/3.447, allocations: 13.03 MB / 0.8052 GB, free: 67.22 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.07042/3.518, allocations: 20.62 MB / 0.8254 GB, free: 46.59 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.18e-05/3.518, allocations: 0 / 0.8254 GB, free: 46.59 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.008707/3.527, allocations: 4.192 MB / 0.8295 GB, free: 42.39 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007428/3.534, allocations: 1.126 MB / 0.8306 GB, free: 41.29 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6247/4.159, allocations: 75.9 MB / 0.9047 GB, free: 127.1 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02508/4.184, allocations: 7.007 MB / 0.9115 GB, free: 124.5 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.01688/4.201, allocations: 2.319 MB / 0.9138 GB, free: 124.1 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01315/4.214, allocations: 3.864 MB / 0.9176 GB, free: 120.6 MB / 478.1 MB Notification: Performance of SimCode: time 3.146e-06/4.214, allocations: 0 / 0.9176 GB, free: 120.6 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7505/4.965, allocations: 151.1 MB / 1.065 GB, free: 141.2 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 19.96/24.92, allocations: 10.17 kB / 1.065 GB, free: 141.2 MB / 494.1 MB (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