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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.001861/0.001861, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.349/1.349, allocations: 226.7 MB / 245.5 MB, free: 6.961 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001004/0.001005, allocations: 103.2 kB / 296.7 MB, free: 6.438 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00151/0.00151, allocations: 55.92 kB / 356.6 MB, free: 10.53 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.252/0.2535, allocations: 50.44 MB / 407.1 MB, free: 27.77 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.02867/0.2822, allocations: 38.19 MB / 445.3 MB, free: 5.434 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.02013/0.3024, allocations: 10.17 MB / 455.4 MB, free: 11.23 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007441/0.3099, allocations: 283.1 kB / 455.7 MB, free: 10.95 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02031/0.3303, allocations: 9.591 MB / 465.3 MB, free: 1.344 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01195/0.3422, allocations: 3.686 MB / 469 MB, free: 13.64 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008237/0.3505, allocations: 2.245 MB / 471.2 MB, free: 11.42 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.01973/0.3702, allocations: 17.05 MB / 488.3 MB, free: 10.32 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04261/0.4129, allocations: 25.52 MB / 0.5018 GB, free: 0.5547 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1899/0.6028, allocations: 7.21 MB / 0.5088 GB, free: 24.83 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01289/0.6157, allocations: 8.825 MB / 0.5174 GB, free: 23.34 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.005037/0.6208, allocations: 1.536 MB / 0.5189 GB, free: 23.34 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007211/0.628, allocations: 1.955 MB / 0.5208 GB, free: 23.34 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005954/0.634, allocations: 3.895 MB / 0.5246 GB, free: 22.81 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0123/0.6463, allocations: 8.269 MB / 0.5327 GB, free: 20.7 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03408/0.6804, allocations: 31.34 MB / 0.5633 GB, free: 0.9414 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.256e-06/0.6805, allocations: 0 / 0.5633 GB, free: 0.9414 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.6805, allocations: 0.7812 kB / 0.5633 GB, free: 0.9414 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0008974/0.6814, allocations: 0 / 0.5633 GB, free: 0.9414 MB / 378.7 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.08047/0.7619, allocations: 18.78 MB / 0.5817 GB, free: 14.22 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.14e-05/0.762, allocations: 8.031 kB / 0.5817 GB, free: 14.21 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06378/0.8258, allocations: 8.293 MB / 0.5898 GB, free: 5.996 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02281/0.8486, allocations: 9.882 MB / 0.5994 GB, free: 12.49 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001202/0.8498, allocations: 1.073 MB / 0.6005 GB, free: 11.43 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006041/0.8559, allocations: 1.395 MB / 0.6018 GB, free: 10.04 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06355/0.9194, allocations: 22.76 MB / 0.624 GB, free: 3.227 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005374/0.92, allocations: 31.36 kB / 0.6241 GB, free: 3.199 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004864/0.9249, allocations: 0.5828 MB / 0.6246 GB, free: 2.633 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008821/0.9258, allocations: 0.7715 MB / 0.6254 GB, free: 1.859 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04746/0.9733, allocations: 21.03 MB / 0.6459 GB, free: 12.83 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4759/1.449, allocations: 73.54 MB / 0.7178 GB, free: 123.8 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02488/1.474, allocations: 42.75 MB / 0.7595 GB, free: 82.58 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007171/1.481, allocations: 5.266 MB / 0.7646 GB, free: 79.88 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02033/1.502, allocations: 13.1 MB / 0.7774 GB, free: 71.06 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.764e-05/1.502, allocations: 92.42 kB / 0.7775 GB, free: 70.98 MB / 490.8 MB Notification: Performance of pre-optimization done (n=504): time 6.012e-06/1.502, allocations: 7.938 kB / 0.7775 GB, free: 70.97 MB / 490.8 MB Notification: Performance of matching and sorting (n=512): time 0.05262/1.554, allocations: 26.69 MB / 0.8036 GB, free: 45.49 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.145e-05/1.555, allocations: 129.4 kB / 0.8037 GB, free: 45.34 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007355/1.562, allocations: 5.768 MB / 0.8093 GB, free: 39.59 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.00106/1.563, allocations: 113.7 kB / 0.8095 GB, free: 39.48 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002532/1.566, allocations: 6.149 MB / 0.8155 GB, free: 33.29 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.00181/1.567, allocations: 1.754 MB / 0.8172 GB, free: 31.55 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002128/1.569, allocations: 1.465 MB / 0.8186 GB, free: 30.08 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 4.87e-05/1.57, allocations: 305.1 kB / 0.8189 GB, free: 29.78 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004622/1.574, allocations: 3.669 MB / 0.8225 GB, free: 26.11 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005926/1.58, allocations: 6.514 MB / 0.8288 GB, free: 18.3 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01131/1.591, allocations: 10.84 MB / 0.8394 GB, free: 6.133 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.068e-05/1.592, allocations: 24 kB / 0.8394 GB, free: 6.109 MB / 490.8 MB Notification: Performance of matching and sorting (n=968) (initialization): time 0.02115/1.613, allocations: 12.17 MB / 0.8513 GB, free: 9.875 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 7.133e-05/1.613, allocations: 44 kB / 0.8514 GB, free: 9.832 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001414/1.613, allocations: 96 kB / 0.8515 GB, free: 9.738 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004492/1.617, allocations: 1.597 MB / 0.853 GB, free: 8.129 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00647/1.624, allocations: 1.665 MB / 0.8547 GB, free: 6.461 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2172/1.841, allocations: 18.22 MB / 0.8724 GB, free: 155.3 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005915/1.847, allocations: 426.7 kB / 0.8728 GB, free: 155.2 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009673/1.848, allocations: 364.5 kB / 0.8732 GB, free: 155.1 MB / 0.4949 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 (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.008109/1.856, allocations: 5.193 MB / 0.8783 GB, free: 152.8 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001241/1.858, allocations: 0.5997 MB / 0.8789 GB, free: 152.8 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01437/1.872, allocations: 9.44 MB / 0.8881 GB, free: 148.9 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00833/1.88, allocations: 5.951 MB / 0.8939 GB, free: 146.6 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.271e-05/1.88, allocations: 19.66 kB / 0.8939 GB, free: 146.6 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.707e-05/1.88, allocations: 28.31 kB / 0.8939 GB, free: 146.6 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03467/1.915, allocations: 21.15 MB / 0.9146 GB, free: 137.2 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.439e-05/1.915, allocations: 8 kB / 0.9146 GB, free: 137.2 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003657/1.919, allocations: 0.859 MB / 0.9154 GB, free: 136.4 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004416/1.923, allocations: 1.646 MB / 0.917 GB, free: 134.7 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006573/1.924, allocations: 128 kB / 0.9172 GB, free: 134.6 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01976/1.944, allocations: 21.35 MB / 0.938 GB, free: 112.7 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.76e-06/1.944, allocations: 8 kB / 0.938 GB, free: 112.7 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08903/2.033, allocations: 64.58 MB / 1.001 GB, free: 47.09 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003212/2.036, allocations: 1.358 MB / 1.002 GB, free: 45.71 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008038/2.037, allocations: 112 kB / 1.003 GB, free: 45.6 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002837/2.04, allocations: 283.7 kB / 1.003 GB, free: 45.32 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009236/2.041, allocations: 408.3 kB / 1.003 GB, free: 44.92 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000313/2.041, allocations: 160 kB / 1.003 GB, free: 44.76 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.005106/2.046, allocations: 3.896 MB / 1.007 GB, free: 40.89 MB / 0.4949 GB Notification: Performance of sort global known variables: time 2.3e-07/2.046, allocations: 0 / 1.007 GB, free: 40.89 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.01004/2.056, allocations: 2.92 MB / 1.01 GB, free: 37.98 MB / 0.4949 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 (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.001091/2.057, allocations: 324.5 kB / 1.01 GB, free: 37.66 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.01361/2.071, allocations: 9.947 MB / 1.02 GB, free: 27.62 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 8.526e-06/2.071, allocations: 0 / 1.02 GB, free: 27.62 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.007789/2.079, allocations: 5.476 MB / 1.025 GB, free: 22.06 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008215/2.087, allocations: 1.545 MB / 1.027 GB, free: 20.54 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2321/2.319, allocations: 35.79 MB / 1.062 GB, free: 136.5 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01094/2.33, allocations: 9.027 MB / 1.071 GB, free: 135.5 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.007459/2.337, allocations: 2.546 MB / 1.073 GB, free: 135.3 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001391/2.339, allocations: 463.2 kB / 1.074 GB, free: 135.3 MB / 0.4949 GB Notification: Performance of SimCode: time 7.42e-07/2.339, allocations: 0 / 1.074 GB, free: 135.3 MB / 0.4949 GB Notification: Performance of Templates: time 0.1586/2.498, allocations: 114.3 MB / 1.185 GB, free: 39.13 MB / 0.4949 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_DOL/IMC_DOL.csv","../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