Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Itr|Iqs",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Itr|Iqs",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001704/0.001704, allocations: 120.9 kB / 17.83 MB, free: 5.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001977/0.001977, allocations: 208.3 kB / 18.79 MB, free: 4.102 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.474/1.474, allocations: 230.4 MB / 250 MB, free: 8.996 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001917/0.001917, allocations: 67.84 kB / 367.4 MB, free: 6.969 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2556/0.2575, allocations: 53.31 MB / 420.7 MB, free: 8.453 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.04484/0.3023, allocations: 39.06 MB / 459.8 MB, free: 1.223 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02353/0.3259, allocations: 10.34 MB / 470.1 MB, free: 6.848 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009528/0.3354, allocations: 295.1 kB / 470.4 MB, free: 6.559 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02465/0.36, allocations: 10.31 MB / 480.7 MB, free: 12.21 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01386/0.3739, allocations: 4.133 MB / 484.8 MB, free: 8.066 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007524/0.3814, allocations: 2.425 MB / 487.3 MB, free: 5.648 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02488/0.4063, allocations: 16.52 MB / 0.492 GB, free: 5.078 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04284/0.4491, allocations: 23.68 MB / 0.5151 GB, free: 13.15 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01454/0.4637, allocations: 8.521 MB / 0.5234 GB, free: 4.605 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01744/0.4811, allocations: 9.589 MB / 0.5328 GB, free: 10.98 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006281/0.4874, allocations: 2.414 MB / 0.5351 GB, free: 8.566 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009113/0.4965, allocations: 2.835 MB / 0.5379 GB, free: 5.73 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00768/0.5042, allocations: 4.836 MB / 0.5426 GB, free: 0.8828 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.4246/0.9288, allocations: 9.205 MB / 0.5516 GB, free: 40.67 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03929/0.9681, allocations: 32.24 MB / 0.5831 GB, free: 31.57 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.77e-06/0.9681, allocations: 0 / 0.5831 GB, free: 31.57 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.9681, allocations: 0.8125 kB / 0.5831 GB, free: 31.57 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0008695/0.969, allocations: 0 / 0.5831 GB, free: 31.57 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.07076/1.04, allocations: 19.06 MB / 0.6017 GB, free: 19.53 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/1.04, allocations: 7.469 kB / 0.6017 GB, free: 19.53 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04516/1.085, allocations: 8.422 MB / 0.61 GB, free: 15.69 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01911/1.104, allocations: 10.27 MB / 0.62 GB, free: 6.625 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007411/1.105, allocations: 1.062 MB / 0.621 GB, free: 5.574 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005565/1.11, allocations: 1.4 MB / 0.6224 GB, free: 4.188 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05828/1.169, allocations: 22.74 MB / 0.6446 GB, free: 13.39 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004304/1.169, allocations: 31.39 kB / 0.6446 GB, free: 13.37 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003317/1.172, allocations: 0.5796 MB / 0.6452 GB, free: 12.8 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008519/1.173, allocations: 0.7832 MB / 0.646 GB, free: 12.02 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04788/1.221, allocations: 21.01 MB / 0.6665 GB, free: 7.008 MB / 0.4982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1274/1.349, allocations: 72.85 MB / 0.7376 GB, free: 13.72 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2504/1.599, allocations: 42.08 MB / 0.7787 GB, free: 193 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009248/1.608, allocations: 4.739 MB / 0.7833 GB, free: 192.9 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02174/1.63, allocations: 12.98 MB / 0.796 GB, free: 190.7 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.825e-05/1.63, allocations: 89.7 kB / 0.7961 GB, free: 190.6 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=498): time 6.362e-06/1.63, allocations: 1.094 kB / 0.7961 GB, free: 190.6 MB / 0.5919 GB Notification: Performance of matching and sorting (n=506): time 0.05155/1.682, allocations: 26.55 MB / 0.822 GB, free: 179.1 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.27e-05/1.682, allocations: 136.1 kB / 0.8222 GB, free: 179 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008319/1.69, allocations: 5.791 MB / 0.8278 GB, free: 176.9 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.001106/1.691, allocations: 112 kB / 0.8279 GB, free: 176.8 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.002799/1.694, allocations: 6.373 MB / 0.8341 GB, free: 172 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.00169/1.695, allocations: 1.813 MB / 0.8359 GB, free: 170.5 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002066/1.698, allocations: 1.47 MB / 0.8373 GB, free: 169.1 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 5.118e-05/1.698, allocations: 301.1 kB / 0.8376 GB, free: 168.8 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00457/1.702, allocations: 3.629 MB / 0.8412 GB, free: 165.8 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005689/1.708, allocations: 6.473 MB / 0.8475 GB, free: 158.7 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01114/1.719, allocations: 10.77 MB / 0.858 GB, free: 147.5 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.998e-05/1.719, allocations: 28 kB / 0.858 GB, free: 147.4 MB / 0.5919 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.01802/1.737, allocations: 12.07 MB / 0.8698 GB, free: 135.8 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.965e-05/1.737, allocations: 46.66 kB / 0.8699 GB, free: 135.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001026/1.737, allocations: 92 kB / 0.87 GB, free: 135.6 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004183/1.741, allocations: 1.594 MB / 0.8715 GB, free: 134 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006148/1.748, allocations: 1.665 MB / 0.8731 GB, free: 132.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01961/1.767, allocations: 19.64 MB / 0.8923 GB, free: 112 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006128/1.773, allocations: 435.5 kB / 0.8927 GB, free: 111.6 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001153/1.774, allocations: 368 kB / 0.8931 GB, free: 111.3 MB / 0.5919 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.007986/1.782, allocations: 5.187 MB / 0.8981 GB, free: 106.1 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001376/1.784, allocations: 0.6288 MB / 0.8988 GB, free: 105.4 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01438/1.798, allocations: 9.315 MB / 0.9079 GB, free: 96.01 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007803/1.806, allocations: 5.833 MB / 0.9136 GB, free: 90.14 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.274e-05/1.806, allocations: 20 kB / 0.9136 GB, free: 90.12 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.666e-05/1.806, allocations: 23.91 kB / 0.9136 GB, free: 90.1 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03128/1.837, allocations: 20.96 MB / 0.9341 GB, free: 69.04 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.837e-05/1.837, allocations: 4 kB / 0.9341 GB, free: 69.03 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003592/1.841, allocations: 0.862 MB / 0.9349 GB, free: 68.17 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004473/1.845, allocations: 1.642 MB / 0.9365 GB, free: 66.51 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001028/1.847, allocations: 122.3 kB / 0.9366 GB, free: 66.39 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02093/1.867, allocations: 23.21 MB / 0.9593 GB, free: 42.22 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/1.867, allocations: 12.16 kB / 0.9593 GB, free: 42.21 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01892/1.886, allocations: 13.68 MB / 0.9727 GB, free: 28.17 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002987/1.889, allocations: 1.387 MB / 0.974 GB, free: 26.76 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00105/1.89, allocations: 112.2 kB / 0.9741 GB, free: 26.65 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003002/1.893, allocations: 287.7 kB / 0.9744 GB, free: 26.37 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009258/1.894, allocations: 416.2 kB / 0.9748 GB, free: 25.96 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003342/1.895, allocations: 156 kB / 0.975 GB, free: 25.81 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.005252/1.9, allocations: 3.904 MB / 0.9788 GB, free: 21.94 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8.1e-08/1.9, allocations: 0 / 0.9788 GB, free: 21.94 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.007332/1.907, allocations: 2.34 MB / 0.9811 GB, free: 19.6 MB / 0.5919 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.0007072/1.908, allocations: 314.2 kB / 0.9814 GB, free: 19.29 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01297/1.921, allocations: 9.505 MB / 0.9906 GB, free: 9.684 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 8.466e-06/1.921, allocations: 0 / 0.9906 GB, free: 9.684 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.007327/1.928, allocations: 5.136 MB / 0.9956 GB, free: 4.461 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007234/1.936, allocations: 1.64 MB / 0.9973 GB, free: 2.863 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2581/2.194, allocations: 25.04 MB / 1.022 GB, free: 191.2 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01451/2.208, allocations: 8.857 MB / 1.03 GB, free: 190 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.008006/2.216, allocations: 2.53 MB / 1.033 GB, free: 189.7 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001609/2.218, allocations: 459.3 kB / 1.033 GB, free: 189.7 MB / 0.5919 GB Notification: Performance of SimCode: time 1.403e-06/2.218, allocations: 0 / 1.033 GB, free: 189.7 MB / 0.5919 GB Notification: Performance of Templates: time 0.1533/2.371, allocations: 98.94 MB / 1.13 GB, free: 104.1 MB / 0.5919 GB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_DOL/IMC_DOL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches