Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.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.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,fileNamePrefix="Modelica_trunk_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_trunk_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 trunk/package.mo): time 0.00112/0.00112, allocations: 103.7 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001239/0.001239, allocations: 208.6 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.412/1.412, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001434/0.001434, allocations: 63.47 kB / 307.1 MB, free: 0.5469 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1207, allocations: 50.54 MB / 357.6 MB, free: 14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.2206/0.3414, allocations: 20.16 MB / 377.8 MB, free: 10.07 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01392/0.3554, allocations: 5.942 MB / 383.7 MB, free: 7.875 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005626/0.361, allocations: 122.7 kB / 383.8 MB, free: 7.848 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004798/0.3659, allocations: 1.316 MB / 385.1 MB, free: 7.125 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00823/0.3742, allocations: 1.877 MB / 387 MB, free: 5.906 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004266/0.3785, allocations: 1.217 MB / 388.2 MB, free: 5.137 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.009234/0.3877, allocations: 6.386 MB / 394.6 MB, free: 1.844 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006935/0.3947, allocations: 5.419 MB / 400 MB, free: 15.54 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005186/0.3999, allocations: 2.975 MB / 403 MB, free: 13.88 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005753/0.4057, allocations: 3.593 MB / 406.6 MB, free: 11.24 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001825/0.4075, allocations: 0.8008 MB / 407.4 MB, free: 10.44 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003539/0.4111, allocations: 1.109 MB / 408.5 MB, free: 9.332 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002027/0.4131, allocations: 1.975 MB / 410.5 MB, free: 7.352 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005602/0.4187, allocations: 3.45 MB / 413.9 MB, free: 3.887 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01256/0.4313, allocations: 10.59 MB / 424.5 MB, free: 9.266 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.842e-06/0.4313, allocations: 0 / 424.5 MB, free: 9.266 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.886e-06/0.4314, allocations: 4 kB / 424.5 MB, free: 9.262 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0003075/0.4317, allocations: 0 / 424.5 MB, free: 9.262 MB / 334.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.01855/0.4502, allocations: 6.742 MB / 431.3 MB, free: 2.438 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.526e-05/0.4503, allocations: 8.031 kB / 431.3 MB, free: 2.43 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001207/0.4515, allocations: 0.7039 MB / 432 MB, free: 1.715 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005354/0.4569, allocations: 1.11 MB / 433.1 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00744/0.4643, allocations: 3.639 MB / 436.7 MB, free: 12.88 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003963/0.4647, allocations: 382.7 kB / 437.1 MB, free: 12.51 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001384/0.4661, allocations: 0.5076 MB / 437.6 MB, free: 12 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01609/0.4822, allocations: 6.945 MB / 444.6 MB, free: 4.977 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002281/0.4825, allocations: 15.84 kB / 444.6 MB, free: 4.961 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001204/0.4837, allocations: 212 kB / 444.8 MB, free: 4.754 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002673/0.484, allocations: 242.2 kB / 445 MB, free: 4.516 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01297/0.497, allocations: 5.927 MB / 451 MB, free: 14.58 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0432/0.5402, allocations: 21.44 MB / 472.4 MB, free: 8.641 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009282/0.5496, allocations: 8.725 MB / 481.1 MB, free: 14.98 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00431/0.5539, allocations: 2.366 MB / 483.5 MB, free: 12.61 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01244/0.5664, allocations: 6.363 MB / 489.8 MB, free: 6.074 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.377e-05/0.5665, allocations: 56.56 kB / 489.9 MB, free: 6.012 MB / 398.1 MB Notification: Performance of pre-optimization done (n=219): time 7.534e-06/0.5665, allocations: 0 / 489.9 MB, free: 6.012 MB / 398.1 MB Notification: Performance of matching and sorting (n=238): time 0.0254/0.5919, allocations: 11.31 MB / 0.4895 GB, free: 10.48 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.843e-05/0.592, allocations: 73.41 kB / 0.4895 GB, free: 10.39 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006111/0.5981, allocations: 3.019 MB / 0.4925 GB, free: 7.363 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003317/0.5985, allocations: 69.64 kB / 0.4926 GB, free: 7.289 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001792/0.6003, allocations: 2.327 MB / 0.4948 GB, free: 4.934 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009133/0.6012, allocations: 0.8087 MB / 0.4956 GB, free: 4.113 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001167/0.6024, allocations: 0.502 MB / 0.4961 GB, free: 3.602 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.785e-05/0.6025, allocations: 305.1 kB / 0.4964 GB, free: 3.301 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00234/0.6048, allocations: 1.356 MB / 0.4977 GB, free: 1.941 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002954/0.6078, allocations: 2.135 MB / 0.4998 GB, free: 15.47 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005338/0.6132, allocations: 3.693 MB / 0.5034 GB, free: 11.42 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-05/0.6132, allocations: 8 kB / 0.5034 GB, free: 11.41 MB / 430.1 MB Notification: Performance of matching and sorting (n=367) (initialization): time 0.008199/0.6214, allocations: 4.655 MB / 0.508 GB, free: 6.652 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.22e-05/0.6215, allocations: 20.66 kB / 0.508 GB, free: 6.633 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.652e-05/0.6215, allocations: 24 kB / 0.508 GB, free: 6.609 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00184/0.6234, allocations: 0.7727 MB / 0.5088 GB, free: 5.809 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002328/0.6257, allocations: 0.6279 MB / 0.5094 GB, free: 5.18 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01269/0.6384, allocations: 14.54 MB / 0.5236 GB, free: 5.672 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00295/0.6414, allocations: 163.6 kB / 0.5237 GB, free: 5.512 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005193/0.6419, allocations: 116 kB / 0.5238 GB, free: 5.398 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.003542/0.6455, allocations: 1.614 MB / 0.5254 GB, free: 3.773 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001068/0.6466, allocations: 324.1 kB / 0.5257 GB, free: 3.453 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2511/0.8977, allocations: 4.206 MB / 0.5298 GB, free: 137.4 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.912e-05/0.8978, allocations: 23.97 kB / 0.5299 GB, free: 137.4 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-05/0.8978, allocations: 11.31 kB / 0.5299 GB, free: 137.4 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.547e-05/0.8979, allocations: 11.02 kB / 0.5299 GB, free: 137.4 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01654/0.9145, allocations: 9.138 MB / 0.5388 GB, free: 134.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.286e-05/0.9145, allocations: 7.156 kB / 0.5388 GB, free: 134.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001644/0.9162, allocations: 370.1 kB / 0.5392 GB, free: 134.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002472/0.9187, allocations: 0.9415 MB / 0.5401 GB, free: 134.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002318/0.9189, allocations: 65.58 kB / 0.5401 GB, free: 134.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01396/0.9329, allocations: 17.98 MB / 0.5577 GB, free: 119.8 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.863e-06/0.9329, allocations: 5.312 kB / 0.5577 GB, free: 119.8 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008624/0.9415, allocations: 6.054 MB / 0.5636 GB, free: 117.2 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00162/0.9432, allocations: 0.7041 MB / 0.5643 GB, free: 116.9 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004991/0.9437, allocations: 59.59 kB / 0.5644 GB, free: 116.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001504/0.9452, allocations: 128.2 kB / 0.5645 GB, free: 116.9 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005188/0.9457, allocations: 196.5 kB / 0.5647 GB, free: 116.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001513/0.9459, allocations: 74.5 kB / 0.5647 GB, free: 116.8 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002722/0.9486, allocations: 2.06 MB / 0.5668 GB, free: 116 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.9486, allocations: 0 / 0.5668 GB, free: 116 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003231/0.9519, allocations: 0.9799 MB / 0.5677 GB, free: 115.9 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,13,100.0%), (1,8,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.007853/0.9598, allocations: 6.777 MB / 0.5743 GB, free: 112.8 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00954/0.9693, allocations: 6.113 MB / 0.5803 GB, free: 108.1 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.816e-06/0.9694, allocations: 4 kB / 0.5803 GB, free: 108.1 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003641/0.973, allocations: 3.045 MB / 0.5833 GB, free: 104.9 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003915/0.9769, allocations: 0.9187 MB / 0.5842 GB, free: 104 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04492/1.022, allocations: 41.88 MB / 0.6251 GB, free: 58.36 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002698/1.025, allocations: 3.436 MB / 0.6284 GB, free: 54.89 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002509/1.027, allocations: 0.7699 MB / 0.6292 GB, free: 54.12 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001995/1.029, allocations: 1.968 MB / 0.6311 GB, free: 52.15 MB / 446.1 MB Notification: Performance of SimCode: time 7.91e-07/1.029, allocations: 0 / 0.6311 GB, free: 52.15 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3383/1.367, allocations: 88.29 MB / 0.7173 GB, free: 144.8 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.53/12.9, allocations: 10.2 kB / 0.7173 GB, free: 144.8 MB / 462.1 MB (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_DOL.fmu > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches