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.001368/0.001368, allocations: 118.8 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001574/0.001574, allocations: 202 kB / 18.73 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.413/1.413, allocations: 227.4 MB / 246.9 MB, free: 10.4 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 59.91 kB / 358.3 MB, free: 13.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3017/0.303, allocations: 50.54 MB / 408.8 MB, free: 1.496 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.03789/0.3409, allocations: 38.92 MB / 447.7 MB, free: 10.41 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02155/0.3625, allocations: 10.32 MB / 458 MB, free: 52 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008806/0.3714, allocations: 299 kB / 458.3 MB, free: 15.75 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0234/0.3948, allocations: 10.19 MB / 468.5 MB, free: 5.539 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01466/0.4095, allocations: 4.042 MB / 472.6 MB, free: 1.48 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008457/0.418, allocations: 2.422 MB / 475 MB, free: 15.07 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02047/0.4385, allocations: 16.51 MB / 491.5 MB, free: 14.5 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04483/0.4833, allocations: 31.21 MB / 0.5105 GB, free: 15.03 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0124/0.4958, allocations: 8.521 MB / 0.5188 GB, free: 6.488 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01425/0.5101, allocations: 9.496 MB / 0.528 GB, free: 12.96 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007173/0.5173, allocations: 2.414 MB / 0.5304 GB, free: 10.54 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01002/0.5273, allocations: 2.835 MB / 0.5332 GB, free: 7.707 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00864/0.536, allocations: 4.809 MB / 0.5379 GB, free: 2.887 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.5102/1.046, allocations: 9.205 MB / 0.5469 GB, free: 48.04 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03539/1.082, allocations: 32.16 MB / 0.5783 GB, free: 40.68 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/1.082, allocations: 0 / 0.5783 GB, free: 40.68 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.132e-06/1.082, allocations: 0 / 0.5783 GB, free: 40.68 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.000911/1.083, allocations: 0 / 0.5783 GB, free: 40.68 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.05768/1.14, allocations: 18.71 MB / 0.5965 GB, free: 29.12 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/1.14, allocations: 17.25 kB / 0.5966 GB, free: 29.12 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.009668/1.15, allocations: 2.287 MB / 0.5988 GB, free: 27.66 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04483/1.195, allocations: 8.337 MB / 0.6069 GB, free: 23.54 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02143/1.216, allocations: 10.24 MB / 0.6169 GB, free: 13.74 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001054/1.217, allocations: 1.063 MB / 0.618 GB, free: 12.69 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007718/1.225, allocations: 1.399 MB / 0.6193 GB, free: 11.3 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07216/1.297, allocations: 22.75 MB / 0.6416 GB, free: 4.5 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008672/1.298, allocations: 19.89 kB / 0.6416 GB, free: 4.48 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00701/1.305, allocations: 0.576 MB / 0.6421 GB, free: 3.918 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001042/1.306, allocations: 0.7787 MB / 0.6429 GB, free: 3.141 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05782/1.364, allocations: 21.01 MB / 0.6634 GB, free: 14.12 MB / 0.4982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1482/1.512, allocations: 72.65 MB / 0.7344 GB, free: 5.02 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2927/1.805, allocations: 42.71 MB / 0.7761 GB, free: 176.6 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009149/1.814, allocations: 5.204 MB / 0.7812 GB, free: 176.6 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0229/1.837, allocations: 12.96 MB / 0.7938 GB, free: 174.2 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.695e-05/1.837, allocations: 91.95 kB / 0.7939 GB, free: 174.1 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=498): time 6.302e-06/1.837, allocations: 0 / 0.7939 GB, free: 174.1 MB / 0.5763 GB Notification: Performance of matching and sorting (n=506): time 0.0539/1.891, allocations: 26.29 MB / 0.8196 GB, free: 162.8 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.763e-05/1.891, allocations: 139.6 kB / 0.8197 GB, free: 162.7 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008631/1.9, allocations: 5.783 MB / 0.8254 GB, free: 160.6 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.001131/1.901, allocations: 111.9 kB / 0.8255 GB, free: 160.5 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.003138/1.904, allocations: 6.162 MB / 0.8315 GB, free: 155.2 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.002028/1.906, allocations: 1.738 MB / 0.8332 GB, free: 153.6 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002285/1.909, allocations: 1.457 MB / 0.8346 GB, free: 152.3 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 5.153e-05/1.909, allocations: 305.1 kB / 0.8349 GB, free: 152 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004733/1.914, allocations: 3.625 MB / 0.8384 GB, free: 148.9 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006107/1.92, allocations: 6.474 MB / 0.8448 GB, free: 141.8 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01175/1.931, allocations: 10.77 MB / 0.8553 GB, free: 130.6 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001168/1.932, allocations: 24 kB / 0.8553 GB, free: 130.6 MB / 0.5763 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.02046/1.952, allocations: 12.09 MB / 0.8671 GB, free: 118.6 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001089/1.952, allocations: 44 kB / 0.8671 GB, free: 118.6 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001445/1.952, allocations: 95.94 kB / 0.8672 GB, free: 118.5 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004212/1.957, allocations: 1.59 MB / 0.8688 GB, free: 116.9 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00615/1.963, allocations: 1.673 MB / 0.8704 GB, free: 115.2 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02058/1.983, allocations: 19.61 MB / 0.8896 GB, free: 94.94 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006888/1.99, allocations: 435.4 kB / 0.89 GB, free: 94.51 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00177/1.992, allocations: 368 kB / 0.8903 GB, free: 94.15 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.01192/2.004, allocations: 5.199 MB / 0.8954 GB, free: 88.94 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002415/2.007, allocations: 0.5942 MB / 0.896 GB, free: 88.34 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01829/2.025, allocations: 9.36 MB / 0.9051 GB, free: 78.88 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009117/2.034, allocations: 5.876 MB / 0.9109 GB, free: 72.97 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.106e-05/2.034, allocations: 16 kB / 0.9109 GB, free: 72.96 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.26e-05/2.034, allocations: 31.89 kB / 0.9109 GB, free: 72.93 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04177/2.076, allocations: 21.01 MB / 0.9314 GB, free: 51.82 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.08e-05/2.076, allocations: 8 kB / 0.9314 GB, free: 51.82 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003592/2.08, allocations: 0.8665 MB / 0.9323 GB, free: 50.95 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004497/2.084, allocations: 1.637 MB / 0.9339 GB, free: 49.3 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007798/2.085, allocations: 128 kB / 0.934 GB, free: 49.17 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02087/2.106, allocations: 23.18 MB / 0.9566 GB, free: 25.05 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.242e-06/2.106, allocations: 11.94 kB / 0.9567 GB, free: 25.04 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01895/2.125, allocations: 13.72 MB / 0.9701 GB, free: 10.96 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003656/2.129, allocations: 1.352 MB / 0.9714 GB, free: 9.586 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00171/2.13, allocations: 112 kB / 0.9715 GB, free: 9.477 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003776/2.134, allocations: 279.7 kB / 0.9717 GB, free: 9.203 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009519/2.135, allocations: 416.2 kB / 0.9721 GB, free: 8.797 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003432/2.135, allocations: 160 kB / 0.9723 GB, free: 8.641 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.00641/2.142, allocations: 3.9 MB / 0.9761 GB, free: 4.77 MB / 0.5763 GB Notification: Performance of sort global known variables: time 4.31e-07/2.142, allocations: 0 / 0.9761 GB, free: 4.77 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.01172/2.154, allocations: 2.337 MB / 0.9784 GB, free: 2.434 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.3207/2.474, allocations: 14.49 MB / 0.9925 GB, free: 185.1 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01546/2.49, allocations: 9.884 MB / 1.002 GB, free: 183.9 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.11e-05/2.49, allocations: 2.906 kB / 1.002 GB, free: 183.9 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.00729/2.497, allocations: 5.447 MB / 1.008 GB, free: 181.4 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007593/2.505, allocations: 1.649 MB / 1.009 GB, free: 180.9 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.148/2.653, allocations: 79.9 MB / 1.087 GB, free: 117.2 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01714/2.67, allocations: 8.862 MB / 1.096 GB, free: 108.3 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.008343/2.678, allocations: 2.531 MB / 1.098 GB, free: 105.8 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009302/2.688, allocations: 5.178 MB / 1.103 GB, free: 100.6 MB / 0.5763 GB Notification: Performance of SimCode: time 1.513e-06/2.688, allocations: 4 kB / 1.103 GB, free: 100.6 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5234/3.211, allocations: 187.9 MB / 1.287 GB, free: 138 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.61/26.82, allocations: 3.25 kB / 1.287 GB, free: 138 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_DOL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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