Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.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.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_DOL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_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.001708/0.001708, allocations: 107.8 kB / 17.06 MB, free: 6.02 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.001878/0.001878, allocations: 189.4 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.379/1.379, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001468/0.001468, allocations: 43.92 kB / 350.8 MB, free: 3.746 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.242/0.2435, allocations: 49.45 MB / 400.3 MB, free: 8.43 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.02377/0.2673, allocations: 19.53 MB / 419.8 MB, free: 5.223 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.012/0.2794, allocations: 5.649 MB / 425.4 MB, free: 15.55 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003673/0.2831, allocations: 123.5 kB / 425.6 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004133/0.2872, allocations: 1.3 MB / 426.9 MB, free: 14.12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006635/0.2939, allocations: 1.91 MB / 428.8 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003192/0.2972, allocations: 1.154 MB / 429.9 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.008832/0.306, allocations: 6.384 MB / 436.3 MB, free: 4.645 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00705/0.3131, allocations: 5.409 MB / 441.7 MB, free: 15.14 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004725/0.3178, allocations: 2.96 MB / 444.7 MB, free: 12.18 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005981/0.3238, allocations: 3.472 MB / 448.1 MB, free: 8.691 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00181/0.3257, allocations: 0.8008 MB / 448.9 MB, free: 7.891 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002902/0.3286, allocations: 1.082 MB / 450 MB, free: 6.809 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002488/0.3311, allocations: 1.971 MB / 452 MB, free: 4.832 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005636/0.3368, allocations: 3.435 MB / 455.4 MB, free: 1.383 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01392/0.3507, allocations: 10.65 MB / 466.1 MB, free: 6.695 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.526e-06/0.3508, allocations: 0 / 466.1 MB, free: 6.695 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.3508, allocations: 0 / 466.1 MB, free: 6.695 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003386/0.3511, allocations: 0 / 466.1 MB, free: 6.695 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1348 * Number of variables: 1348 Notification: Performance of Generate backend data structure: time 0.01877/0.3699, allocations: 6.848 MB / 472.9 MB, free: 15.76 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/0.37, allocations: 11.89 kB / 472.9 MB, free: 15.75 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001673/0.3716, allocations: 0.7117 MB / 473.7 MB, free: 15.02 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005446/0.3771, allocations: 1.102 MB / 474.8 MB, free: 13.92 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008181/0.3853, allocations: 3.719 MB / 478.5 MB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004561/0.3858, allocations: 394.6 kB / 478.9 MB, free: 9.738 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001689/0.3875, allocations: 0.5076 MB / 479.4 MB, free: 9.23 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01669/0.4042, allocations: 6.945 MB / 486.3 MB, free: 2.207 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001692/0.4044, allocations: 19.88 kB / 486.3 MB, free: 2.188 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008832/0.4053, allocations: 204 kB / 486.5 MB, free: 1.988 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002869/0.4056, allocations: 242.2 kB / 486.8 MB, free: 1.75 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01335/0.419, allocations: 5.927 MB / 492.7 MB, free: 11.81 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04034/0.4594, allocations: 21.14 MB / 0.5018 GB, free: 6.199 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009928/0.4693, allocations: 8.702 MB / 0.5103 GB, free: 12.55 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004533/0.4739, allocations: 2.373 MB / 0.5126 GB, free: 10.18 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01182/0.4858, allocations: 6.11 MB / 0.5186 GB, free: 3.957 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.075e-05/0.4859, allocations: 60.5 kB / 0.5186 GB, free: 3.887 MB / 446.1 MB Notification: Performance of pre-optimization done (n=219): time 4.088e-06/0.4859, allocations: 4 kB / 0.5186 GB, free: 3.883 MB / 446.1 MB Notification: Performance of matching and sorting (n=238): time 0.02594/0.5118, allocations: 11.37 MB / 0.5297 GB, free: 8.305 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.558e-05/0.512, allocations: 85.34 kB / 0.5298 GB, free: 8.211 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005413/0.5174, allocations: 2.994 MB / 0.5327 GB, free: 5.207 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004375/0.5179, allocations: 65.7 kB / 0.5328 GB, free: 5.137 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002097/0.52, allocations: 2.365 MB / 0.5351 GB, free: 2.75 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001017/0.521, allocations: 0.856 MB / 0.536 GB, free: 1.887 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009469/0.522, allocations: 0.5061 MB / 0.5364 GB, free: 1.371 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.5221, allocations: 305.1 kB / 0.5367 GB, free: 1.07 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2011/0.7233, allocations: 1.355 MB / 0.5381 GB, free: 126 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003672/0.727, allocations: 2.132 MB / 0.5401 GB, free: 125.1 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004484/0.7315, allocations: 3.696 MB / 0.5438 GB, free: 123.1 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-05/0.7315, allocations: 3.969 kB / 0.5438 GB, free: 123.1 MB / 462.1 MB Notification: Performance of matching and sorting (n=367) (initialization): time 0.006698/0.7382, allocations: 4.68 MB / 0.5483 GB, free: 121.3 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.569e-05/0.7383, allocations: 14.91 kB / 0.5483 GB, free: 121.3 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.983e-05/0.7383, allocations: 24.25 kB / 0.5484 GB, free: 121.3 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001594/0.7399, allocations: 0.7597 MB / 0.5491 GB, free: 121 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002185/0.7421, allocations: 0.6279 MB / 0.5497 GB, free: 120.9 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009195/0.7514, allocations: 14.53 MB / 0.5639 GB, free: 108.7 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00263/0.754, allocations: 159.3 kB / 0.5641 GB, free: 108.7 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003635/0.7544, allocations: 124.2 kB / 0.5642 GB, free: 108.6 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 106 * Number of states: 0 () * Number of discrete variables: 3 (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 (324): * Single equations (assignments): 314 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (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): 7 systems {(1,8,100.0%), (2,12,100.0%), (1,1,100.0%), (1,13,100.0%), (1,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002474/0.7569, allocations: 1.599 MB / 0.5657 GB, free: 107.8 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006578/0.7575, allocations: 342.7 kB / 0.5661 GB, free: 107.8 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005891/0.7634, allocations: 4.2 MB / 0.5702 GB, free: 104.7 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-05/0.7635, allocations: 24 kB / 0.5702 GB, free: 104.7 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.428e-05/0.7635, allocations: 8 kB / 0.5702 GB, free: 104.7 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.904e-05/0.7635, allocations: 10.17 kB / 0.5702 GB, free: 104.7 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01183/0.7754, allocations: 9.11 MB / 0.5791 GB, free: 95.47 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.164e-05/0.7754, allocations: 4 kB / 0.5791 GB, free: 95.47 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001441/0.7769, allocations: 380 kB / 0.5795 GB, free: 95.1 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002115/0.779, allocations: 0.9272 MB / 0.5804 GB, free: 94.15 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001845/0.7792, allocations: 67.91 kB / 0.5804 GB, free: 94.09 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0123/0.7915, allocations: 18 MB / 0.598 GB, free: 75.14 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.561e-06/0.7915, allocations: 11.92 kB / 0.598 GB, free: 75.13 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008313/0.7999, allocations: 6.071 MB / 0.604 GB, free: 69.11 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001709/0.8016, allocations: 0.7097 MB / 0.6047 GB, free: 68.38 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007503/0.8024, allocations: 51.98 kB / 0.6047 GB, free: 68.33 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001614/0.804, allocations: 139.8 kB / 0.6048 GB, free: 68.19 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004764/0.8045, allocations: 189.7 kB / 0.605 GB, free: 68.01 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000146/0.8046, allocations: 72.53 kB / 0.6051 GB, free: 67.94 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002675/0.8073, allocations: 2.041 MB / 0.6071 GB, free: 65.9 MB / 462.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.8073, allocations: 4 kB / 0.6071 GB, free: 65.89 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003635/0.811, allocations: 0.9765 MB / 0.608 GB, free: 64.92 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 14 (aimcM.inertiaRotor.w,aimcM.stator.zeroInductor.i0,aimcM.stator.core.Phi.re,aimcM.stator.core.Phi.im,aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,aimcE.inertiaRotor.w,aimcE.i_0_s,aimcE.idq_sr[1],aimcE.idq_sr[2],aimcE.idq_rr[1],aimcE.idq_rr[2],quadraticLoadTorqueM.phi,quadraticLoadTorqueE.phi) * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (179): * Single equations (assignments): 170 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 8 * 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): 8 systems {(2,12,100.0%), (1,1,100.0%), (1,8,100.0%), (2,1,100.0%), (1,1,100.0%), (1,8,100.0%), (1,13,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008055/0.8191, allocations: 6.788 MB / 0.6147 GB, free: 58 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005654/0.8247, allocations: 4.595 MB / 0.6192 GB, free: 53.26 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.115e-06/0.8248, allocations: 448 / 0.6192 GB, free: 53.26 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003535/0.8283, allocations: 3.051 MB / 0.6221 GB, free: 50.09 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004131/0.8325, allocations: 0.8981 MB / 0.623 GB, free: 49.2 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0481/0.8806, allocations: 35.2 MB / 0.6574 GB, free: 12.86 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002707/0.8833, allocations: 3.435 MB / 0.6607 GB, free: 9.387 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.00223/0.8856, allocations: 0.762 MB / 0.6615 GB, free: 8.621 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001942/0.8876, allocations: 1.956 MB / 0.6634 GB, free: 6.664 MB / 462.1 MB Notification: Performance of SimCode: time 1.032e-06/0.8876, allocations: 3.938 kB / 0.6634 GB, free: 6.66 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3874/1.275, allocations: 86.76 MB / 0.7481 GB, free: 172.5 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.92/18.19, allocations: 6.781 kB / 0.7481 GB, free: 172.5 MB / 0.5137 GB (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL_res.csv --start-time 0 --stop-time 1.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_DOL.fmu > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.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/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_DOL/IMC_DOL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches