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_DOL.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_DOL,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_DOL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_DOL",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.001387/0.001387, allocations: 113.9 kB / 17.07 MB, free: 6.012 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.001463/0.001463, allocations: 191 kB / 18 MB, free: 5.098 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.35/1.35, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009895/0.0009895, allocations: 51.92 kB / 350.8 MB, free: 3.703 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3169/0.3179, allocations: 49.43 MB / 400.3 MB, free: 8.434 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.03752/0.3555, allocations: 38.27 MB / 438.5 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02275/0.3783, allocations: 10.02 MB / 448.6 MB, free: 8.32 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01023/0.3886, allocations: 299 kB / 448.9 MB, free: 8.027 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0237/0.4123, allocations: 10.24 MB / 459.1 MB, free: 13.76 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01494/0.4272, allocations: 4.133 MB / 463.2 MB, free: 9.613 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008307/0.4356, allocations: 2.383 MB / 465.6 MB, free: 7.238 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02224/0.4578, allocations: 16.37 MB / 482 MB, free: 6.82 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04653/0.5044, allocations: 31.21 MB / 0.5012 GB, free: 7.344 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0151/0.5195, allocations: 8.505 MB / 0.5095 GB, free: 14.82 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01614/0.5357, allocations: 9.32 MB / 0.5186 GB, free: 5.465 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007321/0.5431, allocations: 2.418 MB / 0.5209 GB, free: 3.047 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01012/0.5532, allocations: 2.816 MB / 0.5237 GB, free: 236 kB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008411/0.5617, allocations: 4.805 MB / 0.5284 GB, free: 11.41 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01796/0.5797, allocations: 9.202 MB / 0.5374 GB, free: 2.176 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.5401/1.12, allocations: 32.18 MB / 0.5688 GB, free: 48.26 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.175e-06/1.12, allocations: 2.406 kB / 0.5688 GB, free: 48.26 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.783e-06/1.12, allocations: 0 / 0.5688 GB, free: 48.26 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.001114/1.121, allocations: 0 / 0.5688 GB, free: 48.26 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: 3921 * Number of variables: 3921 Notification: Performance of Generate backend data structure: time 0.07251/1.194, allocations: 19.02 MB / 0.5874 GB, free: 39.68 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.5e-05/1.194, allocations: 15.48 kB / 0.5874 GB, free: 39.68 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.009644/1.203, allocations: 2.288 MB / 0.5896 GB, free: 38.22 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04557/1.249, allocations: 8.368 MB / 0.5978 GB, free: 34.4 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02368/1.273, allocations: 10.24 MB / 0.6078 GB, free: 25.99 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009388/1.274, allocations: 1.06 MB / 0.6088 GB, free: 24.94 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006837/1.28, allocations: 1.401 MB / 0.6102 GB, free: 23.55 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06156/1.342, allocations: 22.76 MB / 0.6324 GB, free: 0.7422 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007131/1.343, allocations: 19.91 kB / 0.6324 GB, free: 0.7227 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00692/1.35, allocations: 0.5751 MB / 0.633 GB, free: 164 kB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009185/1.351, allocations: 0.7793 MB / 0.6338 GB, free: 15.38 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05098/1.402, allocations: 21.01 MB / 0.6543 GB, free: 10.36 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1399/1.542, allocations: 72.17 MB / 0.7248 GB, free: 1.918 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.278/1.82, allocations: 42.4 MB / 0.7662 GB, free: 167.9 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009604/1.829, allocations: 5.163 MB / 0.7712 GB, free: 167.8 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02321/1.853, allocations: 12.7 MB / 0.7836 GB, free: 164.3 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.15e-05/1.853, allocations: 93.02 kB / 0.7837 GB, free: 164.3 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=498): time 7.024e-06/1.853, allocations: 0 / 0.7837 GB, free: 164.3 MB / 0.5607 GB Notification: Performance of matching and sorting (n=506): time 0.05775/1.91, allocations: 26.59 MB / 0.8097 GB, free: 152.7 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.512e-05/1.911, allocations: 129.3 kB / 0.8098 GB, free: 152.6 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01034/1.921, allocations: 5.758 MB / 0.8154 GB, free: 149 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.001404/1.922, allocations: 113.7 kB / 0.8155 GB, free: 148.9 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.003949/1.926, allocations: 6.359 MB / 0.8217 GB, free: 143.3 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.00235/1.929, allocations: 1.822 MB / 0.8235 GB, free: 141.6 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002771/1.932, allocations: 1.466 MB / 0.8249 GB, free: 140.3 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 5.102e-05/1.932, allocations: 305.1 kB / 0.8252 GB, free: 140 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004976/1.937, allocations: 3.627 MB / 0.8288 GB, free: 136.9 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006292/1.943, allocations: 6.474 MB / 0.8351 GB, free: 129.8 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01144/1.954, allocations: 10.77 MB / 0.8456 GB, free: 118.3 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.293e-05/1.954, allocations: 28 kB / 0.8456 GB, free: 118.3 MB / 0.5607 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.02014/1.975, allocations: 12.11 MB / 0.8575 GB, free: 106.1 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 7.248e-05/1.975, allocations: 44 kB / 0.8575 GB, free: 106.1 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001195/1.975, allocations: 92 kB / 0.8576 GB, free: 106 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004159/1.979, allocations: 1.596 MB / 0.8591 GB, free: 104.4 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006259/1.985, allocations: 1.661 MB / 0.8608 GB, free: 102.7 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01973/2.005, allocations: 19.64 MB / 0.88 GB, free: 82.43 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007239/2.012, allocations: 423.6 kB / 0.8804 GB, free: 82.02 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001611/2.014, allocations: 368 kB / 0.8807 GB, free: 81.66 MB / 0.5607 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 423 * Number of states: 0 () * Number of discrete variables: 6 (booleanStepQS[3].y,booleanStepQS[2].y,booleanStepQS[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (865): * Single equations (assignments): 858 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,1,100.0%), (12,64,52.1%), (1,5,100.0%), (1,1,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00976/2.024, allocations: 5.185 MB / 0.8858 GB, free: 76.46 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001892/2.026, allocations: 0.6306 MB / 0.8864 GB, free: 75.83 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01596/2.042, allocations: 9.351 MB / 0.8955 GB, free: 66.38 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008844/2.051, allocations: 5.868 MB / 0.9013 GB, free: 60.48 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.248e-05/2.051, allocations: 27.98 kB / 0.9013 GB, free: 60.45 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-05/2.051, allocations: 23.91 kB / 0.9013 GB, free: 60.43 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04106/2.092, allocations: 21 MB / 0.9218 GB, free: 39.33 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.854e-05/2.092, allocations: 11.98 kB / 0.9218 GB, free: 39.32 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003851/2.096, allocations: 0.8543 MB / 0.9227 GB, free: 38.46 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004841/2.101, allocations: 1.643 MB / 0.9243 GB, free: 36.8 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001226/2.102, allocations: 127.9 kB / 0.9244 GB, free: 36.67 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0222/2.124, allocations: 23.22 MB / 0.9471 GB, free: 12.51 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/2.124, allocations: 4 kB / 0.9471 GB, free: 12.51 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2842/2.408, allocations: 13.74 MB / 0.9605 GB, free: 178 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00512/2.413, allocations: 1.387 MB / 0.9618 GB, free: 177.9 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002405/2.416, allocations: 104.9 kB / 0.9619 GB, free: 177.9 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005225/2.421, allocations: 286.8 kB / 0.9622 GB, free: 177.9 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001905/2.423, allocations: 407.5 kB / 0.9626 GB, free: 177.9 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006463/2.424, allocations: 153.3 kB / 0.9627 GB, free: 177.9 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.008669/2.432, allocations: 3.881 MB / 0.9665 GB, free: 177.7 MB / 0.5607 GB Notification: Performance of sort global known variables: time 6.01e-07/2.432, allocations: 0.6562 kB / 0.9665 GB, free: 177.7 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.01143/2.444, allocations: 2.341 MB / 0.9688 GB, free: 177.7 MB / 0.5607 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 10 (imc.inertiaRotor.w,imc.stator.zeroInductor.i0,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque.phi,loadInertiaQS.w,quadraticLoadTorqueQS.phi,imcQS.rotorCage.port_p.reference.gamma) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (438): * Single equations (assignments): 430 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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%), (1,13,100.0%), (1,5,100.0%), (1,8,100.0%), (2,12,100.0%), (1,1,100.0%), (12,64,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02352/2.467, allocations: 14.53 MB / 0.983 GB, free: 174.3 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01679/2.484, allocations: 9.898 MB / 0.9927 GB, free: 170.2 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-05/2.484, allocations: 2.062 kB / 0.9927 GB, free: 170.2 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.009534/2.494, allocations: 5.462 MB / 0.998 GB, free: 167.6 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01165/2.506, allocations: 1.627 MB / 0.9996 GB, free: 167 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1507/2.656, allocations: 80.25 MB / 1.078 GB, free: 94.95 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01489/2.671, allocations: 8.852 MB / 1.087 GB, free: 86.05 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.007922/2.679, allocations: 2.539 MB / 1.089 GB, free: 83.5 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009483/2.689, allocations: 5.158 MB / 1.094 GB, free: 78.34 MB / 0.5607 GB Notification: Performance of SimCode: time 1.413e-06/2.689, allocations: 0 / 1.094 GB, free: 78.34 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5269/3.216, allocations: 187.3 MB / 1.277 GB, free: 106.3 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.38/27.6, allocations: 10.44 kB / 1.277 GB, free: 106.3 MB / 0.5607 GB (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_DOL.fmu > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL_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_DOL/IMC_DOL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches