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: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Itr|Iqs",fileNamePrefix="Modelica_trunk_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_trunk_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.0007553/0.0007555, allocations: 95.94 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001298/0.001298, allocations: 205.9 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.337/1.337, allocations: 227.7 MB / 246.8 MB, free: 11.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002107/0.0002108, allocations: 8 kB / 307.8 MB, free: 0.7969 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09012/0.09035, allocations: 51.52 MB / 359.3 MB, free: 13.29 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.2096/0.3, allocations: 36.71 MB / 396 MB, free: 15.99 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02524/0.3252, allocations: 10.1 MB / 406.1 MB, free: 8.73 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009678/0.335, allocations: 273.1 kB / 406.4 MB, free: 8.672 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009932/0.345, allocations: 2.477 MB / 408.9 MB, free: 7.238 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01575/0.3608, allocations: 3.681 MB / 412.5 MB, free: 4.332 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007658/0.3684, allocations: 2.136 MB / 414.7 MB, free: 2.629 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.02236/0.3908, allocations: 16.81 MB / 431.5 MB, free: 3.715 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0521/0.4429, allocations: 29.33 MB / 460.8 MB, free: 6.211 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009617/0.4526, allocations: 5.935 MB / 466.7 MB, free: 260 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01134/0.464, allocations: 7.223 MB / 474 MB, free: 9 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002929/0.4669, allocations: 0.9375 MB / 474.9 MB, free: 8.062 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005154/0.4721, allocations: 1.355 MB / 476.3 MB, free: 6.707 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00324/0.4753, allocations: 3.039 MB / 479.3 MB, free: 3.656 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01085/0.4862, allocations: 7.287 MB / 486.6 MB, free: 12.33 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02825/0.5145, allocations: 30.18 MB / 0.5047 GB, free: 14.05 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.5145, allocations: 0 / 0.5047 GB, free: 14.05 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.5145, allocations: 0 / 0.5047 GB, free: 14.05 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0006595/0.5152, allocations: 0 / 0.5047 GB, free: 14.05 MB / 430.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.04324/0.5584, allocations: 15.65 MB / 0.5199 GB, free: 14.29 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.5585, allocations: 11.97 kB / 0.5199 GB, free: 14.27 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0475/0.606, allocations: 8.333 MB / 0.5281 GB, free: 5.914 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3666/0.9726, allocations: 9.936 MB / 0.5378 GB, free: 118.1 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001098/0.9737, allocations: 1.062 MB / 0.5388 GB, free: 117.6 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005025/0.9788, allocations: 1.397 MB / 0.5402 GB, free: 117.1 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05401/1.033, allocations: 22.78 MB / 0.5624 GB, free: 108 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004305/1.033, allocations: 28.75 kB / 0.5625 GB, free: 108 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002479/1.036, allocations: 0.5772 MB / 0.563 GB, free: 107.6 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005567/1.036, allocations: 0.7707 MB / 0.5638 GB, free: 107.5 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03442/1.071, allocations: 21.05 MB / 0.5843 GB, free: 90.64 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09529/1.166, allocations: 73.78 MB / 0.6564 GB, free: 15.88 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03139/1.197, allocations: 42.73 MB / 0.6981 GB, free: 184 kB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009079/1.207, allocations: 5.295 MB / 0.7033 GB, free: 10.88 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2211/1.428, allocations: 13.11 MB / 0.7161 GB, free: 148.5 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.639e-05/1.428, allocations: 88.41 kB / 0.7162 GB, free: 148.4 MB / 494.1 MB Notification: Performance of pre-optimization done (n=504): time 6.472e-06/1.428, allocations: 0 / 0.7162 GB, free: 148.4 MB / 494.1 MB Notification: Performance of matching and sorting (n=512): time 0.05684/1.485, allocations: 26.84 MB / 0.7424 GB, free: 139.4 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.595e-05/1.485, allocations: 129.1 kB / 0.7425 GB, free: 139.3 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007021/1.492, allocations: 5.79 MB / 0.7482 GB, free: 137.2 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005103/1.492, allocations: 110.4 kB / 0.7483 GB, free: 137.1 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002668/1.495, allocations: 6.153 MB / 0.7543 GB, free: 132.5 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001193/1.496, allocations: 1.752 MB / 0.756 GB, free: 131.2 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007096/1.497, allocations: 0.5937 MB / 0.7566 GB, free: 130.9 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 3.642e-05/1.497, allocations: 301.1 kB / 0.7568 GB, free: 130.6 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004965/1.502, allocations: 3.685 MB / 0.7604 GB, free: 129.2 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00564/1.508, allocations: 6.523 MB / 0.7668 GB, free: 124.1 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01092/1.519, allocations: 10.87 MB / 0.7774 GB, free: 116.7 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.72e-05/1.519, allocations: 23.66 kB / 0.7775 GB, free: 116.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=968) (initialization): time 0.01715/1.536, allocations: 12.2 MB / 0.7894 GB, free: 107.9 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.553e-05/1.536, allocations: 44.56 kB / 0.7894 GB, free: 107.9 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001262/1.536, allocations: 100 kB / 0.7895 GB, free: 107.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004083/1.54, allocations: 1.589 MB / 0.7911 GB, free: 106.6 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005502/1.546, allocations: 1.657 MB / 0.7927 GB, free: 105.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01908/1.565, allocations: 18.24 MB / 0.8105 GB, free: 86.25 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005739/1.57, allocations: 435.3 kB / 0.8109 GB, free: 85.82 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009903/1.571, allocations: 367.9 kB / 0.8112 GB, free: 85.46 MB / 494.1 MB 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 (868): * Single equations (assignments): 858 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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,53.5%), (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.008498/1.58, allocations: 5.195 MB / 0.8163 GB, free: 80.25 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001474/1.581, allocations: 0.602 MB / 0.8169 GB, free: 79.64 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01554/1.597, allocations: 9.471 MB / 0.8262 GB, free: 70.08 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008437/1.605, allocations: 5.951 MB / 0.832 GB, free: 64.1 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-05/1.606, allocations: 24.12 kB / 0.832 GB, free: 64.08 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.592e-05/1.606, allocations: 27.89 kB / 0.832 GB, free: 64.05 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03612/1.642, allocations: 21.18 MB / 0.8527 GB, free: 42.77 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-05/1.642, allocations: 7.938 kB / 0.8527 GB, free: 42.76 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003708/1.645, allocations: 0.862 MB / 0.8535 GB, free: 41.9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004401/1.65, allocations: 1.648 MB / 0.8552 GB, free: 40.24 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006464/1.651, allocations: 120 kB / 0.8553 GB, free: 40.12 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02084/1.671, allocations: 21.37 MB / 0.8761 GB, free: 17.86 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/1.671, allocations: 7.938 kB / 0.8761 GB, free: 17.85 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02072/1.692, allocations: 13.89 MB / 0.8897 GB, free: 3.605 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003114/1.695, allocations: 1.372 MB / 0.8911 GB, free: 2.207 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001553/1.697, allocations: 103.9 kB / 0.8912 GB, free: 2.105 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003869/1.701, allocations: 303.7 kB / 0.8914 GB, free: 1.809 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001055/1.702, allocations: 412.6 kB / 0.8918 GB, free: 1.398 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004742/1.702, allocations: 152 kB / 0.892 GB, free: 1.25 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.2113/1.914, allocations: 3.904 MB / 0.8958 GB, free: 135.6 MB / 494.1 MB Notification: Performance of sort global known variables: time 5.71e-07/1.914, allocations: 0 / 0.8958 GB, free: 135.6 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.009957/1.924, allocations: 2.345 MB / 0.8981 GB, free: 135.6 MB / 494.1 MB 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 (441): * Single equations (assignments): 430 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.001153/1.925, allocations: 317.1 kB / 0.8984 GB, free: 135.5 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01708/1.942, allocations: 9.968 MB / 0.9081 GB, free: 133.5 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.918e-06/1.942, allocations: 2.094 kB / 0.9081 GB, free: 133.5 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.009168/1.951, allocations: 5.489 MB / 0.9135 GB, free: 130.9 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0134/1.965, allocations: 1.558 MB / 0.915 GB, free: 130.4 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04111/2.006, allocations: 31.15 MB / 0.9454 GB, free: 113.1 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0111/2.017, allocations: 8.856 MB / 0.9541 GB, free: 109.2 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.007535/2.024, allocations: 2.537 MB / 0.9566 GB, free: 107.5 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001593/2.026, allocations: 456.8 kB / 0.957 GB, free: 107 MB / 494.1 MB Notification: Performance of SimCode: time 7.51e-07/2.026, allocations: 0 / 0.957 GB, free: 107 MB / 494.1 MB Notification: Performance of Templates: time 0.1406/2.167, allocations: 97.68 MB / 1.052 GB, free: 14.04 MB / 494.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.makefile (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 & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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/jenkins/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