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.002066/0.002067, allocations: 103.8 kB / 16.92 MB, free: 6.145 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.002461/0.002461, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.423/2.423, allocations: 222.9 MB / 241.5 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 43.17 kB / 300.7 MB, free: 5.746 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1748/0.176, allocations: 49.45 MB / 350.2 MB, free: 4.293 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.04046/0.2165, allocations: 19.53 MB / 369.7 MB, free: 0.6641 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.3551/0.5717, allocations: 5.644 MB / 375.4 MB, free: 10.99 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006884/0.5787, allocations: 123.2 kB / 375.5 MB, free: 10.99 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008409/0.5871, allocations: 1.311 MB / 376.8 MB, free: 10.85 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01343/0.6007, allocations: 1.897 MB / 378.7 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006905/0.6076, allocations: 1.151 MB / 379.8 MB, free: 9.547 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01559/0.6232, allocations: 6.347 MB / 386.2 MB, free: 6.504 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01379/0.6371, allocations: 5.411 MB / 391.6 MB, free: 4.297 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00981/0.647, allocations: 2.956 MB / 394.5 MB, free: 2.91 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01157/0.6586, allocations: 3.475 MB / 398 MB, free: 1.086 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004057/0.6628, allocations: 0.7996 MB / 398.8 MB, free: 1.086 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00748/0.6703, allocations: 1.083 MB / 399.9 MB, free: 500 kB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005527/0.6759, allocations: 1.983 MB / 401.9 MB, free: 14.52 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01219/0.6881, allocations: 3.434 MB / 405.3 MB, free: 11.09 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02215/0.7104, allocations: 10.52 MB / 415.8 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.438e-05/0.7104, allocations: 0 / 415.8 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.7105, allocations: 3.938 kB / 415.8 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0003855/0.7109, allocations: 4 kB / 415.9 MB, free: 0.7539 MB / 318.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.03341/0.7443, allocations: 6.7 MB / 422.6 MB, free: 10 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.469e-05/0.7444, allocations: 12.03 kB / 422.6 MB, free: 9.988 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002589/0.747, allocations: 0.7067 MB / 423.3 MB, free: 9.273 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01102/0.758, allocations: 1.076 MB / 424.3 MB, free: 8.195 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01362/0.7717, allocations: 3.6 MB / 427.9 MB, free: 4.566 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006495/0.7724, allocations: 389.9 kB / 428.3 MB, free: 4.188 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003357/0.7758, allocations: 0.4984 MB / 428.8 MB, free: 3.691 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02665/0.8025, allocations: 6.952 MB / 435.8 MB, free: 12.67 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002578/0.8028, allocations: 23.81 kB / 435.8 MB, free: 12.65 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001473/0.8043, allocations: 210.4 kB / 436 MB, free: 12.45 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003727/0.8047, allocations: 234.2 kB / 436.2 MB, free: 12.21 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02298/0.8277, allocations: 5.923 MB / 442.2 MB, free: 6.281 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07036/0.8981, allocations: 21.35 MB / 463.5 MB, free: 0.6289 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01568/0.9138, allocations: 8.695 MB / 472.2 MB, free: 7.004 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007923/0.9218, allocations: 2.375 MB / 474.6 MB, free: 4.633 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02067/0.9425, allocations: 6.127 MB / 480.7 MB, free: 14.46 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.293e-05/0.9427, allocations: 60.56 kB / 480.8 MB, free: 14.39 MB / 398.1 MB Notification: Performance of pre-optimization done (n=219): time 7.293e-06/0.9427, allocations: 0 / 480.8 MB, free: 14.39 MB / 398.1 MB Notification: Performance of matching and sorting (n=238): time 0.04351/0.9862, allocations: 11.29 MB / 492.1 MB, free: 2.887 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.189e-05/0.9864, allocations: 77.41 kB / 492.1 MB, free: 2.797 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008268/0.9947, allocations: 2.99 MB / 495.1 MB, free: 15.8 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006703/0.9954, allocations: 65.7 kB / 495.2 MB, free: 15.73 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002738/0.9981, allocations: 2.306 MB / 497.5 MB, free: 13.4 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001539/0.9997, allocations: 0.8107 MB / 498.3 MB, free: 12.6 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001458/1.001, allocations: 0.5136 MB / 498.8 MB, free: 12.07 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001335/1.001, allocations: 301.1 kB / 499.1 MB, free: 11.78 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003792/1.005, allocations: 1.356 MB / 0.4887 GB, free: 10.42 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004768/1.01, allocations: 2.131 MB / 0.4908 GB, free: 7.953 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009709/1.02, allocations: 3.693 MB / 0.4944 GB, free: 3.902 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-05/1.02, allocations: 12 kB / 0.4944 GB, free: 3.891 MB / 414.1 MB Notification: Performance of matching and sorting (n=367) (initialization): time 0.0153/1.035, allocations: 4.654 MB / 0.499 GB, free: 15.13 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.197e-05/1.035, allocations: 19.98 kB / 0.499 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.433e-05/1.035, allocations: 28 kB / 0.499 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003079/1.038, allocations: 0.7739 MB / 0.4998 GB, free: 14.28 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005211/1.044, allocations: 0.6318 MB / 0.5004 GB, free: 13.65 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02071/1.064, allocations: 14.51 MB / 0.5146 GB, free: 14.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004362/1.069, allocations: 163.8 kB / 0.5147 GB, free: 14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007838/1.07, allocations: 120 kB / 0.5148 GB, free: 13.88 MB / 446.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.00588/1.076, allocations: 1.606 MB / 0.5164 GB, free: 12.27 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001228/1.077, allocations: 320.1 kB / 0.5167 GB, free: 11.95 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008337/1.085, allocations: 4.199 MB / 0.5208 GB, free: 7.664 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-05/1.085, allocations: 24 kB / 0.5208 GB, free: 7.641 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.922e-05/1.085, allocations: 12 kB / 0.5209 GB, free: 7.629 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.3e-05/1.085, allocations: 15.94 kB / 0.5209 GB, free: 7.613 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3513/1.437, allocations: 9.126 MB / 0.5298 GB, free: 141.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.549e-05/1.437, allocations: 4.312 kB / 0.5298 GB, free: 141.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002577/1.439, allocations: 381.5 kB / 0.5301 GB, free: 141.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00355/1.443, allocations: 0.9358 MB / 0.5311 GB, free: 141.2 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005573/1.443, allocations: 69.45 kB / 0.5311 GB, free: 141.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01809/1.462, allocations: 18 MB / 0.5487 GB, free: 127.7 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.394e-06/1.462, allocations: 4.844 kB / 0.5487 GB, free: 127.7 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0113/1.473, allocations: 6.051 MB / 0.5546 GB, free: 125.1 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001852/1.475, allocations: 0.6995 MB / 0.5553 GB, free: 124.8 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006431/1.475, allocations: 59.44 kB / 0.5554 GB, free: 124.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001724/1.477, allocations: 130.5 kB / 0.5555 GB, free: 124.7 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005938/1.478, allocations: 198.6 kB / 0.5557 GB, free: 124.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001815/1.478, allocations: 66.92 kB / 0.5557 GB, free: 124.7 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003828/1.482, allocations: 2.037 MB / 0.5577 GB, free: 123.9 MB / 446.1 MB Notification: Performance of sort global known variables: time 6.82e-07/1.482, allocations: 0 / 0.5577 GB, free: 123.9 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00473/1.487, allocations: 0.9813 MB / 0.5587 GB, free: 123.8 MB / 446.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.009491/1.496, allocations: 6.766 MB / 0.5653 GB, free: 120.7 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01178/1.508, allocations: 6.114 MB / 0.5713 GB, free: 118.3 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.148e-05/1.508, allocations: 0 / 0.5713 GB, free: 118.3 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004304/1.512, allocations: 3.046 MB / 0.5742 GB, free: 116.5 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004659/1.517, allocations: 0.8988 MB / 0.5751 GB, free: 116.2 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06207/1.579, allocations: 41.74 MB / 0.6159 GB, free: 71.84 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003038/1.582, allocations: 3.434 MB / 0.6192 GB, free: 68.38 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002863/1.585, allocations: 0.7698 MB / 0.62 GB, free: 67.6 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002409/1.588, allocations: 1.956 MB / 0.6219 GB, free: 65.65 MB / 446.1 MB Notification: Performance of SimCode: time 1.393e-06/1.588, allocations: 0 / 0.6219 GB, free: 65.65 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5472/2.135, allocations: 87.75 MB / 0.7076 GB, free: 139 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 19.67/21.8, allocations: 6.375 kB / 0.7076 GB, free: 139 MB / 462.1 MB (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