Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,fileNamePrefix="Modelica_trunk_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_trunk_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 trunk/package.mo): time 0.001202/0.001202, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001334/0.001335, allocations: 198 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.336/1.336, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 64.08 kB / 358.2 MB, free: 13.38 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2652/0.2664, allocations: 50.56 MB / 408.8 MB, free: 1.637 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.03759/0.3041, allocations: 38.91 MB / 447.7 MB, free: 10.56 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02224/0.3264, allocations: 10.32 MB / 458 MB, free: 212 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008252/0.3347, allocations: 295.1 kB / 458.3 MB, free: 15.91 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02525/0.36, allocations: 10.27 MB / 468.6 MB, free: 5.621 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01524/0.3752, allocations: 4.125 MB / 472.7 MB, free: 1.48 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008267/0.3835, allocations: 2.422 MB / 475.1 MB, free: 15.07 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02213/0.4057, allocations: 16.53 MB / 491.7 MB, free: 14.49 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05293/0.4586, allocations: 31.2 MB / 0.5106 GB, free: 15.03 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01463/0.4733, allocations: 8.521 MB / 0.5189 GB, free: 6.484 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01604/0.4894, allocations: 9.488 MB / 0.5282 GB, free: 12.96 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007217/0.4966, allocations: 2.418 MB / 0.5306 GB, free: 10.54 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008735/0.5054, allocations: 2.835 MB / 0.5333 GB, free: 7.707 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007772/0.5132, allocations: 4.812 MB / 0.538 GB, free: 2.883 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.4718/0.9851, allocations: 9.207 MB / 0.547 GB, free: 48.2 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04304/1.028, allocations: 32.23 MB / 0.5785 GB, free: 40.43 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.168e-06/1.028, allocations: 0 / 0.5785 GB, free: 40.43 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.375e-06/1.028, allocations: 2.625 kB / 0.5785 GB, free: 40.43 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.001013/1.029, allocations: 0 / 0.5785 GB, free: 40.43 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.06278/1.092, allocations: 19.07 MB / 0.5971 GB, free: 28.51 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.312e-05/1.092, allocations: 7.625 kB / 0.5971 GB, free: 28.51 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.009331/1.101, allocations: 2.292 MB / 0.5994 GB, free: 27.05 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04637/1.148, allocations: 8.417 MB / 0.6076 GB, free: 22.91 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02228/1.17, allocations: 10.27 MB / 0.6176 GB, free: 13.09 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008762/1.171, allocations: 1.06 MB / 0.6186 GB, free: 12.04 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006606/1.178, allocations: 1.397 MB / 0.62 GB, free: 10.65 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06058/1.238, allocations: 22.75 MB / 0.6422 GB, free: 3.852 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007473/1.239, allocations: 23.89 kB / 0.6423 GB, free: 3.828 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005621/1.245, allocations: 0.5753 MB / 0.6428 GB, free: 3.266 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009195/1.246, allocations: 0.7829 MB / 0.6436 GB, free: 2.484 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04471/1.29, allocations: 21.01 MB / 0.6641 GB, free: 13.47 MB / 0.4982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1301/1.421, allocations: 72.86 MB / 0.7352 GB, free: 4.199 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2762/1.697, allocations: 42.7 MB / 0.7769 GB, free: 175.9 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009891/1.707, allocations: 5.199 MB / 0.782 GB, free: 175.8 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02429/1.731, allocations: 12.98 MB / 0.7947 GB, free: 173.3 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.94e-05/1.731, allocations: 89.67 kB / 0.7948 GB, free: 173.2 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=498): time 6.172e-06/1.731, allocations: 0 / 0.7948 GB, free: 173.2 MB / 0.5763 GB Notification: Performance of matching and sorting (n=506): time 0.05758/1.789, allocations: 26.62 MB / 0.8208 GB, free: 161.7 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.348e-05/1.789, allocations: 131.9 kB / 0.8209 GB, free: 161.6 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009967/1.799, allocations: 5.791 MB / 0.8266 GB, free: 159.4 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.001097/1.8, allocations: 109.6 kB / 0.8267 GB, free: 159.4 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.00306/1.803, allocations: 6.374 MB / 0.8329 GB, free: 153.8 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.00182/1.805, allocations: 1.815 MB / 0.8347 GB, free: 152.1 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00234/1.807, allocations: 1.469 MB / 0.8361 GB, free: 150.8 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 4.831e-05/1.807, allocations: 301.1 kB / 0.8364 GB, free: 150.5 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004871/1.812, allocations: 3.633 MB / 0.8399 GB, free: 147.4 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006077/1.818, allocations: 6.477 MB / 0.8463 GB, free: 140.3 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01186/1.83, allocations: 10.76 MB / 0.8568 GB, free: 129.1 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.777e-05/1.83, allocations: 28 kB / 0.8568 GB, free: 129.1 MB / 0.5763 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.02156/1.852, allocations: 12.12 MB / 0.8686 GB, free: 117.1 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 7.245e-05/1.852, allocations: 44 kB / 0.8687 GB, free: 117 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001443/1.852, allocations: 96.03 kB / 0.8688 GB, free: 117 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004179/1.856, allocations: 1.598 MB / 0.8703 GB, free: 115.3 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006492/1.863, allocations: 1.661 MB / 0.8719 GB, free: 113.7 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01978/1.883, allocations: 19.65 MB / 0.8911 GB, free: 93.37 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006653/1.889, allocations: 423.5 kB / 0.8915 GB, free: 92.95 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001601/1.891, allocations: 368 kB / 0.8919 GB, free: 92.59 MB / 0.5763 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.009799/1.901, allocations: 5.187 MB / 0.897 GB, free: 87.39 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001525/1.902, allocations: 0.6327 MB / 0.8976 GB, free: 86.75 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01516/1.917, allocations: 9.373 MB / 0.9067 GB, free: 77.29 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008515/1.926, allocations: 5.869 MB / 0.9125 GB, free: 71.39 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.032e-05/1.926, allocations: 20 kB / 0.9125 GB, free: 71.37 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.766e-05/1.926, allocations: 23.91 kB / 0.9125 GB, free: 71.34 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03843/1.965, allocations: 21.02 MB / 0.933 GB, free: 50.23 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.289e-05/1.965, allocations: 8.781 kB / 0.933 GB, free: 50.22 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003756/1.968, allocations: 0.8582 MB / 0.9339 GB, free: 49.36 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00445/1.973, allocations: 1.635 MB / 0.9355 GB, free: 47.7 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007935/1.974, allocations: 124 kB / 0.9356 GB, free: 47.58 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02081/1.995, allocations: 23.22 MB / 0.9583 GB, free: 23.42 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/1.995, allocations: 4 kB / 0.9583 GB, free: 23.42 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01859/2.013, allocations: 13.75 MB / 0.9717 GB, free: 9.312 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003717/2.017, allocations: 1.399 MB / 0.9731 GB, free: 7.891 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00138/2.018, allocations: 100 kB / 0.9732 GB, free: 7.793 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00319/2.022, allocations: 287.7 kB / 0.9734 GB, free: 7.512 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008131/2.022, allocations: 412.4 kB / 0.9738 GB, free: 7.109 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003279/2.023, allocations: 155.9 kB / 0.974 GB, free: 6.957 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.006005/2.029, allocations: 3.9 MB / 0.9778 GB, free: 3.086 MB / 0.5763 GB Notification: Performance of sort global known variables: time 1.6e-07/2.029, allocations: 0 / 0.9778 GB, free: 3.086 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0102/2.039, allocations: 2.344 MB / 0.9801 GB, free: 0.7422 MB / 0.5763 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,5,100.0%), (1,8,100.0%), (1,13,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.2754/2.314, allocations: 14.52 MB / 0.9942 GB, free: 185.1 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01631/2.331, allocations: 9.898 MB / 1.004 GB, free: 183.2 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.115e-05/2.331, allocations: 3.938 kB / 1.004 GB, free: 183.2 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.00822/2.339, allocations: 5.452 MB / 1.009 GB, free: 180.6 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008823/2.348, allocations: 1.651 MB / 1.011 GB, free: 180 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1241/2.472, allocations: 80.32 MB / 1.089 GB, free: 114.5 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01169/2.484, allocations: 8.864 MB / 1.098 GB, free: 105.6 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.006614/2.49, allocations: 2.531 MB / 1.1 GB, free: 103.1 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00724/2.498, allocations: 5.174 MB / 1.105 GB, free: 97.89 MB / 0.5763 GB Notification: Performance of SimCode: time 1.122e-06/2.498, allocations: 8 kB / 1.105 GB, free: 97.88 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5586/3.056, allocations: 187.4 MB / 1.288 GB, free: 136 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.65/26.71, allocations: 448 / 1.288 GB, free: 136 MB / 0.5763 GB (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_DOL.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches