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_Initialize.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_Initialize,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Initialize",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Initialize",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.00216/0.00216, allocations: 103.5 kB / 16.92 MB, free: 5.848 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.002777/0.002777, allocations: 191.3 kB / 17.85 MB, free: 5.176 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.517/2.517, allocations: 222.9 MB / 241.5 MB, free: 15.27 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002028/0.002029, allocations: 47.02 kB / 300.7 MB, free: 5.77 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1852/0.1873, allocations: 49.45 MB / 350.2 MB, free: 4.32 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.4132/0.6006, allocations: 32.84 MB / 383 MB, free: 9.926 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.04435/0.645, allocations: 8.981 MB / 392 MB, free: 4.383 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01861/0.6637, allocations: 240.6 kB / 392.2 MB, free: 4.332 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02543/0.6893, allocations: 7.951 MB / 400.2 MB, free: 15.43 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02266/0.712, allocations: 3.643 MB / 403.8 MB, free: 12.49 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01109/0.7231, allocations: 2.091 MB / 405.9 MB, free: 10.79 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.02825/0.7514, allocations: 12.93 MB / 418.9 MB, free: 1.332 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05226/0.8037, allocations: 22.59 MB / 441.5 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01968/0.8235, allocations: 6.534 MB / 448 MB, free: 4.023 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02045/0.844, allocations: 7.237 MB / 455.2 MB, free: 12.76 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01263/0.8567, allocations: 1.879 MB / 457.1 MB, free: 10.88 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01489/0.8717, allocations: 2.253 MB / 459.4 MB, free: 8.629 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01047/0.8823, allocations: 3.756 MB / 463.1 MB, free: 4.863 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02412/0.9064, allocations: 7.105 MB / 470.2 MB, free: 13.73 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.06103/0.9676, allocations: 24.86 MB / 495.1 MB, free: 4.801 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.754e-05/0.9676, allocations: 7.922 kB / 495.1 MB, free: 4.793 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.9677, allocations: 0 / 495.1 MB, free: 4.793 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.00111/0.9688, allocations: 0 / 495.1 MB, free: 4.793 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: 2952 * Number of variables: 2952 Notification: Performance of Generate backend data structure: time 0.0985/1.067, allocations: 14.62 MB / 0.4978 GB, free: 6.055 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.798e-05/1.067, allocations: 8.031 kB / 0.4978 GB, free: 6.047 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01207/1.08, allocations: 1.514 MB / 0.4993 GB, free: 4.52 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06556/1.145, allocations: 6.753 MB / 0.5058 GB, free: 13.75 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03828/1.184, allocations: 7.877 MB / 0.5135 GB, free: 5.789 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001888/1.185, allocations: 0.7947 MB / 0.5143 GB, free: 4.992 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009441/1.195, allocations: 1.054 MB / 0.5153 GB, free: 3.938 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.8766/2.072, allocations: 17.21 MB / 0.5321 GB, free: 110.8 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001685/2.073, allocations: 18.64 kB / 0.5322 GB, free: 110.8 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01029/2.084, allocations: 450.1 kB / 0.5326 GB, free: 110.4 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002723/2.087, allocations: 0.6222 MB / 0.5332 GB, free: 110.4 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07639/2.163, allocations: 16.3 MB / 0.5491 GB, free: 103.9 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.173/2.336, allocations: 55.8 MB / 0.6036 GB, free: 52.06 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04376/2.38, allocations: 31.09 MB / 0.634 GB, free: 17.28 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01317/2.393, allocations: 4.339 MB / 0.6382 GB, free: 12.94 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03566/2.429, allocations: 10.45 MB / 0.6484 GB, free: 2.504 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.338e-05/2.429, allocations: 77.81 kB / 0.6485 GB, free: 2.418 MB / 430.1 MB Notification: Performance of pre-optimization done (n=398): time 8.516e-06/2.429, allocations: 0 / 0.6485 GB, free: 2.418 MB / 430.1 MB Notification: Performance of matching and sorting (n=423): time 0.09879/2.528, allocations: 21.57 MB / 0.6696 GB, free: 12.48 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001514/2.528, allocations: 124.7 kB / 0.6697 GB, free: 12.34 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0165/2.545, allocations: 4.673 MB / 0.6742 GB, free: 7.66 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001763/2.546, allocations: 97.7 kB / 0.6743 GB, free: 7.559 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.007261/2.554, allocations: 4.656 MB / 0.6789 GB, free: 2.871 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.003789/2.558, allocations: 1.456 MB / 0.6803 GB, free: 1.43 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007967/2.566, allocations: 1.128 MB / 0.6814 GB, free: 296 kB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001888/2.566, allocations: 305.1 kB / 0.6817 GB, free: 15.99 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01069/2.577, allocations: 2.912 MB / 0.6845 GB, free: 13.07 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01456/2.591, allocations: 4.945 MB / 0.6894 GB, free: 7.195 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3729/2.964, allocations: 8.331 MB / 0.6975 GB, free: 144.4 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002051/2.964, allocations: 19.47 kB / 0.6975 GB, free: 144.4 MB / 478.1 MB Notification: Performance of matching and sorting (n=764) (initialization): time 0.04052/3.005, allocations: 9.729 MB / 0.707 GB, free: 141.8 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001567/3.005, allocations: 32.78 kB / 0.7071 GB, free: 141.8 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000318/3.006, allocations: 65.19 kB / 0.7071 GB, free: 141.8 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00856/3.014, allocations: 1.66 MB / 0.7087 GB, free: 141.4 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008033/3.022, allocations: 1.321 MB / 0.71 GB, free: 141.3 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0403/3.063, allocations: 17.77 MB / 0.7274 GB, free: 130 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01115/3.074, allocations: 324.1 kB / 0.7277 GB, free: 129.9 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002429/3.076, allocations: 279.8 kB / 0.728 GB, free: 129.8 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 296 * 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 (671): * Single equations (assignments): 667 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (7,28,61.2%), (1,1,100.0%), (14,44,39.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01506/3.091, allocations: 3.892 MB / 0.7318 GB, free: 127.9 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002563/3.094, allocations: 497.4 kB / 0.7322 GB, free: 127.9 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02352/3.118, allocations: 7.794 MB / 0.7399 GB, free: 124.5 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.992e-05/3.118, allocations: 45.34 kB / 0.7399 GB, free: 124.5 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.377e-05/3.118, allocations: 19.69 kB / 0.7399 GB, free: 124.5 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000101/3.118, allocations: 25.64 kB / 0.7399 GB, free: 124.5 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06351/3.181, allocations: 17.45 MB / 0.757 GB, free: 117 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001132/3.181, allocations: 7.75 kB / 0.757 GB, free: 117 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00584/3.187, allocations: 0.7273 MB / 0.7577 GB, free: 116.8 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007464/3.195, allocations: 1.56 MB / 0.7592 GB, free: 115.4 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001384/3.196, allocations: 104 kB / 0.7593 GB, free: 115.3 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03261/3.229, allocations: 21.24 MB / 0.7801 GB, free: 93.3 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-05/3.229, allocations: 11.94 kB / 0.7801 GB, free: 93.29 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02605/3.255, allocations: 11.44 MB / 0.7912 GB, free: 81.8 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005165/3.26, allocations: 1.138 MB / 0.7924 GB, free: 80.64 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002175/3.263, allocations: 91.92 kB / 0.7924 GB, free: 80.55 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004864/3.267, allocations: 235.8 kB / 0.7927 GB, free: 80.32 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001317/3.269, allocations: 326 kB / 0.793 GB, free: 80 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004283/3.269, allocations: 136 kB / 0.7931 GB, free: 79.87 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.007633/3.277, allocations: 3.166 MB / 0.7962 GB, free: 76.7 MB / 478.1 MB Notification: Performance of sort global known variables: time 7.11e-07/3.277, allocations: 0 / 0.7962 GB, free: 76.7 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.01344/3.29, allocations: 1.863 MB / 0.798 GB, free: 74.84 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 10 (imcQS.inertiaRotor.w,imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.phi,imc.inertiaRotor.w,imc.stator.zeroInductor.i0,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.stator.stray.Phi.re,imc.stator.stray.Phi.im,loadInertia.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 (364): * Single equations (assignments): 357 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,1,100.0%), (14,44,41.3%), (2,12,100.0%), (1,1,100.0%), (1,12,100.0%), (1,5,100.0%), (1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.026/3.316, allocations: 12.17 MB / 0.8099 GB, free: 62.48 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.03504/3.351, allocations: 11.6 MB / 0.8212 GB, free: 50.88 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.802e-05/3.352, allocations: 0 / 0.8212 GB, free: 50.88 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01135/3.363, allocations: 4.636 MB / 0.8258 GB, free: 46.15 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01253/3.376, allocations: 1.295 MB / 0.827 GB, free: 44.89 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.609/3.985, allocations: 79.01 MB / 0.9042 GB, free: 142.8 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02231/4.007, allocations: 6.771 MB / 0.9108 GB, free: 140.4 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.01185/4.019, allocations: 1.857 MB / 0.9126 GB, free: 140.3 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01105/4.03, allocations: 3.91 MB / 0.9164 GB, free: 136.9 MB / 494.1 MB Notification: Performance of SimCode: time 2.775e-06/4.03, allocations: 0 / 0.9164 GB, free: 136.9 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7866/4.817, allocations: 153.6 MB / 1.066 GB, free: 131 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 20.53/25.35, allocations: 11.89 kB / 1.066 GB, free: 131 MB / 494.1 MB (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize_res.csv --start-time 0 --stop-time 1.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1e-05 Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Initialize.fmu > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize_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_Initialize/IMC_Initialize.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches