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.001063/0.001063, allocations: 100.5 kB / 17.85 MB, free: 5.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001252/0.001252, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.362/1.362, allocations: 227.4 MB / 246.9 MB, free: 10.61 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 60.16 kB / 306.9 MB, free: 0.9844 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09545/0.09672, allocations: 50.53 MB / 357.5 MB, free: 14.45 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.2014/0.2981, allocations: 38.21 MB / 395.7 MB, free: 14.86 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02831/0.3265, allocations: 10.21 MB / 405.9 MB, free: 7.477 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01298/0.3396, allocations: 285.1 kB / 406.2 MB, free: 7.414 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02462/0.3642, allocations: 9.586 MB / 415.8 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01745/0.3817, allocations: 3.702 MB / 419.5 MB, free: 13.59 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008568/0.3903, allocations: 2.245 MB / 421.7 MB, free: 11.8 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.02489/0.4152, allocations: 16.83 MB / 438.5 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05218/0.4674, allocations: 25.51 MB / 464 MB, free: 1.543 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0142/0.4817, allocations: 7.181 MB / 471.2 MB, free: 10.34 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01517/0.4969, allocations: 8.832 MB / 480.1 MB, free: 1.477 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006046/0.503, allocations: 1.539 MB / 481.6 MB, free: 15.93 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008519/0.5115, allocations: 1.953 MB / 483.5 MB, free: 13.98 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007202/0.5188, allocations: 3.898 MB / 487.4 MB, free: 10.07 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01698/0.5358, allocations: 8.273 MB / 495.7 MB, free: 1.766 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03003/0.5659, allocations: 27.89 MB / 0.5113 GB, free: 5.809 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.739e-06/0.5659, allocations: 0 / 0.5113 GB, free: 5.809 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.5659, allocations: 0 / 0.5113 GB, free: 5.809 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0009732/0.5669, allocations: 0 / 0.5113 GB, free: 5.809 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.06209/0.629, allocations: 18.79 MB / 0.5297 GB, free: 2.891 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/0.6291, allocations: 8.031 kB / 0.5297 GB, free: 2.883 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.4479/1.077, allocations: 8.286 MB / 0.5378 GB, free: 123.3 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02203/1.099, allocations: 9.908 MB / 0.5475 GB, free: 118.7 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001273/1.1, allocations: 1.062 MB / 0.5485 GB, free: 118.2 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006754/1.107, allocations: 1.398 MB / 0.5499 GB, free: 117.8 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05567/1.163, allocations: 22.77 MB / 0.5721 GB, free: 103.5 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005891/1.163, allocations: 19.81 kB / 0.5721 GB, free: 103.5 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004778/1.168, allocations: 0.5849 MB / 0.5727 GB, free: 102.9 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006125/1.169, allocations: 0.7715 MB / 0.5734 GB, free: 102.2 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03871/1.208, allocations: 21.03 MB / 0.594 GB, free: 81.12 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.107/1.315, allocations: 73.55 MB / 0.6658 GB, free: 6.352 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03509/1.35, allocations: 42.75 MB / 0.7076 GB, free: 6.633 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009737/1.36, allocations: 5.278 MB / 0.7127 GB, free: 1.355 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2816/1.641, allocations: 13.09 MB / 0.7255 GB, free: 152.3 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.489e-05/1.641, allocations: 89.75 kB / 0.7256 GB, free: 152.2 MB / 494.1 MB Notification: Performance of pre-optimization done (n=504): time 7.674e-06/1.641, allocations: 5.188 kB / 0.7256 GB, free: 152.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=512): time 0.05545/1.697, allocations: 26.69 MB / 0.7516 GB, free: 140.7 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.545e-05/1.697, allocations: 133.6 kB / 0.7518 GB, free: 140.6 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007602/1.705, allocations: 5.792 MB / 0.7574 GB, free: 138.5 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009877/1.706, allocations: 109 kB / 0.7575 GB, free: 138.4 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002988/1.709, allocations: 6.154 MB / 0.7635 GB, free: 133.8 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001903/1.71, allocations: 1.747 MB / 0.7652 GB, free: 132.5 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002116/1.713, allocations: 1.466 MB / 0.7667 GB, free: 131.8 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.761e-05/1.713, allocations: 309 kB / 0.767 GB, free: 131.5 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004581/1.717, allocations: 3.668 MB / 0.7706 GB, free: 130.1 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005748/1.723, allocations: 6.515 MB / 0.7769 GB, free: 123.5 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01104/1.734, allocations: 10.84 MB / 0.7875 GB, free: 111.3 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.991e-05/1.734, allocations: 28 kB / 0.7875 GB, free: 111.3 MB / 494.1 MB Notification: Performance of matching and sorting (n=968) (initialization): time 0.01916/1.753, allocations: 12.17 MB / 0.7994 GB, free: 99.03 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.403e-05/1.753, allocations: 44.56 kB / 0.7995 GB, free: 98.98 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000121/1.754, allocations: 92 kB / 0.7995 GB, free: 98.89 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004131/1.758, allocations: 1.597 MB / 0.8011 GB, free: 97.29 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006085/1.764, allocations: 1.661 MB / 0.8027 GB, free: 95.62 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0187/1.783, allocations: 18.23 MB / 0.8205 GB, free: 76.75 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005745/1.788, allocations: 427.4 kB / 0.8209 GB, free: 76.33 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001151/1.789, allocations: 372 kB / 0.8213 GB, free: 75.97 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.007797/1.797, allocations: 5.188 MB / 0.8264 GB, free: 70.77 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001436/1.799, allocations: 0.6019 MB / 0.8269 GB, free: 70.16 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01384/1.813, allocations: 9.448 MB / 0.8362 GB, free: 60.62 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007747/1.82, allocations: 5.947 MB / 0.842 GB, free: 54.64 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.931e-05/1.82, allocations: 23.94 kB / 0.842 GB, free: 54.62 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-05/1.82, allocations: 23.91 kB / 0.842 GB, free: 54.6 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03123/1.852, allocations: 21.16 MB / 0.8627 GB, free: 33.32 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.027e-05/1.852, allocations: 8 kB / 0.8627 GB, free: 33.31 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003348/1.855, allocations: 0.8581 MB / 0.8635 GB, free: 32.45 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004273/1.859, allocations: 1.645 MB / 0.8651 GB, free: 30.79 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006538/1.86, allocations: 124 kB / 0.8653 GB, free: 30.67 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01965/1.88, allocations: 21.35 MB / 0.8861 GB, free: 8.426 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.967e-06/1.88, allocations: 11.94 kB / 0.8861 GB, free: 8.414 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2208/2.101, allocations: 13.85 MB / 0.8996 GB, free: 136.4 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004018/2.105, allocations: 1.367 MB / 0.901 GB, free: 136.3 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001981/2.107, allocations: 104.7 kB / 0.9011 GB, free: 136.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003957/2.111, allocations: 286.3 kB / 0.9014 GB, free: 136.3 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001219/2.112, allocations: 414.7 kB / 0.9017 GB, free: 136.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003899/2.112, allocations: 157.5 kB / 0.9019 GB, free: 136.2 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.007192/2.119, allocations: 3.902 MB / 0.9057 GB, free: 134.8 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.5e-07/2.119, allocations: 0 / 0.9057 GB, free: 134.8 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01121/2.131, allocations: 2.346 MB / 0.908 GB, free: 134.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.001127/2.132, allocations: 325.6 kB / 0.9083 GB, free: 134.4 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01379/2.146, allocations: 9.943 MB / 0.918 GB, free: 130.3 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.936e-06/2.146, allocations: 0 / 0.918 GB, free: 130.3 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.008293/2.154, allocations: 5.475 MB / 0.9234 GB, free: 127.7 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01057/2.165, allocations: 1.56 MB / 0.9249 GB, free: 127.2 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05141/2.216, allocations: 30.57 MB / 0.9547 GB, free: 109.1 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008994/2.225, allocations: 8.576 MB / 0.9631 GB, free: 102.5 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002525/2.228, allocations: 0.5056 MB / 0.9636 GB, free: 102.1 MB / 494.1 MB Notification: Performance of SimCode: time 1.303e-06/2.228, allocations: 0 / 0.9636 GB, free: 102.1 MB / 494.1 MB Notification: Performance of Templates: time 1.289/3.516, allocations: 0.6689 GB / 1.633 GB, free: 17.66 MB / 0.5138 GB 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/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