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.001751/0.001751, allocations: 109.8 kB / 18.3 MB, free: 4.883 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002071/0.002071, allocations: 207.8 kB / 19.25 MB, free: 3.938 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.594/1.594, allocations: 227.7 MB / 247.7 MB, free: 10.35 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.002024/0.002024, allocations: 69.89 kB / 307.9 MB, free: 480 kB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1165, allocations: 50.54 MB / 358.5 MB, free: 13.91 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.2299/0.3464, allocations: 38.91 MB / 397.4 MB, free: 13.93 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.03045/0.3769, allocations: 10.31 MB / 407.7 MB, free: 6.438 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009998/0.3869, allocations: 297.3 kB / 408 MB, free: 6.375 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02539/0.4124, allocations: 10.2 MB / 418.2 MB, free: 14.65 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01648/0.4289, allocations: 4.048 MB / 422.2 MB, free: 11.37 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008783/0.4377, allocations: 2.414 MB / 424.6 MB, free: 9.406 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.02557/0.4633, allocations: 16.4 MB / 441 MB, free: 9.094 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05696/0.5203, allocations: 31.41 MB / 472.5 MB, free: 9.422 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01736/0.5377, allocations: 8.451 MB / 480.9 MB, free: 0.9492 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01738/0.5552, allocations: 9.527 MB / 490.4 MB, free: 7.391 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007986/0.5632, allocations: 2.418 MB / 492.8 MB, free: 4.973 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01103/0.5743, allocations: 2.835 MB / 495.7 MB, free: 2.137 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009112/0.5834, allocations: 4.82 MB / 0.4888 GB, free: 13.3 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02197/0.6054, allocations: 9.21 MB / 0.4978 GB, free: 4.059 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04727/0.6527, allocations: 31.98 MB / 0.529 GB, free: 3.988 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.157e-05/0.6528, allocations: 4 kB / 0.529 GB, free: 3.984 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.6528, allocations: 4 kB / 0.529 GB, free: 3.98 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0009734/0.6538, allocations: 0 / 0.529 GB, free: 3.98 MB / 446.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.4284/1.082, allocations: 18.77 MB / 0.5473 GB, free: 125.3 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.424e-05/1.082, allocations: 8.969 kB / 0.5473 GB, free: 125.3 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04825/1.131, allocations: 8.29 MB / 0.5554 GB, free: 121.5 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02275/1.153, allocations: 9.95 MB / 0.5652 GB, free: 113.1 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001154/1.155, allocations: 1.063 MB / 0.5662 GB, free: 112 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006571/1.161, allocations: 1.405 MB / 0.5676 GB, free: 110.6 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05883/1.22, allocations: 22.75 MB / 0.5898 GB, free: 87.8 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008327/1.221, allocations: 27.73 kB / 0.5898 GB, free: 87.77 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005642/1.226, allocations: 0.5813 MB / 0.5904 GB, free: 87.2 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006421/1.227, allocations: 0.7751 MB / 0.5911 GB, free: 86.43 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04097/1.268, allocations: 21 MB / 0.6116 GB, free: 65.41 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1133/1.382, allocations: 73.58 MB / 0.6835 GB, free: 6.469 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2674/1.649, allocations: 42.7 MB / 0.7252 GB, free: 148.6 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01164/1.661, allocations: 5.235 MB / 0.7303 GB, free: 148.5 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03185/1.693, allocations: 13 MB / 0.743 GB, free: 142.5 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.444e-05/1.693, allocations: 89.2 kB / 0.7431 GB, free: 142.4 MB / 494.1 MB Notification: Performance of pre-optimization done (n=498): time 9.598e-06/1.693, allocations: 1.438 kB / 0.7431 GB, free: 142.4 MB / 494.1 MB Notification: Performance of matching and sorting (n=506): time 0.06276/1.756, allocations: 26.3 MB / 0.7688 GB, free: 131 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001011/1.756, allocations: 132.3 kB / 0.7689 GB, free: 130.9 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01092/1.767, allocations: 5.777 MB / 0.7745 GB, free: 128.4 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001121/1.768, allocations: 109.7 kB / 0.7746 GB, free: 128.3 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003163/1.771, allocations: 6.166 MB / 0.7807 GB, free: 122.6 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002051/1.773, allocations: 1.734 MB / 0.7824 GB, free: 120.8 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00251/1.776, allocations: 1.466 MB / 0.7838 GB, free: 119.4 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.586e-05/1.776, allocations: 301.1 kB / 0.7841 GB, free: 119.1 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005004/1.781, allocations: 3.63 MB / 0.7876 GB, free: 115.4 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006753/1.787, allocations: 6.474 MB / 0.7939 GB, free: 107.7 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01185/1.799, allocations: 10.76 MB / 0.8045 GB, free: 95.59 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.667e-05/1.799, allocations: 35.69 kB / 0.8045 GB, free: 95.55 MB / 494.1 MB Notification: Performance of matching and sorting (n=962) (initialization): time 0.02093/1.82, allocations: 12.09 MB / 0.8163 GB, free: 83.39 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.221e-05/1.82, allocations: 44 kB / 0.8163 GB, free: 83.35 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001443/1.821, allocations: 92 kB / 0.8164 GB, free: 83.26 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004185/1.825, allocations: 1.597 MB / 0.818 GB, free: 81.66 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006225/1.831, allocations: 1.673 MB / 0.8196 GB, free: 79.98 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01933/1.85, allocations: 19.64 MB / 0.8388 GB, free: 59.68 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006408/1.857, allocations: 427.3 kB / 0.8392 GB, free: 59.26 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00148/1.858, allocations: 364 kB / 0.8396 GB, free: 58.9 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 (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.008987/1.867, allocations: 5.193 MB / 0.8446 GB, free: 53.7 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00175/1.869, allocations: 0.5981 MB / 0.8452 GB, free: 53.09 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01535/1.884, allocations: 9.379 MB / 0.8544 GB, free: 43.61 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008963/1.893, allocations: 5.868 MB / 0.8601 GB, free: 37.71 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.342e-05/1.894, allocations: 20.11 kB / 0.8601 GB, free: 37.7 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.199e-05/1.894, allocations: 27.84 kB / 0.8601 GB, free: 37.67 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03605/1.93, allocations: 21.04 MB / 0.8807 GB, free: 16.51 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.363e-05/1.93, allocations: 11.98 kB / 0.8807 GB, free: 16.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003701/1.934, allocations: 0.8587 MB / 0.8815 GB, free: 15.64 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004284/1.938, allocations: 1.653 MB / 0.8832 GB, free: 13.96 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008404/1.939, allocations: 124 kB / 0.8833 GB, free: 13.84 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2206/2.159, allocations: 23.2 MB / 0.9059 GB, free: 154.1 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.075e-05/2.159, allocations: 11.84 kB / 0.9059 GB, free: 154.1 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02437/2.184, allocations: 13.71 MB / 0.9193 GB, free: 150.4 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003956/2.188, allocations: 1.368 MB / 0.9207 GB, free: 149.9 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001837/2.19, allocations: 100.8 kB / 0.9208 GB, free: 149.8 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003984/2.194, allocations: 292.5 kB / 0.921 GB, free: 149.8 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001109/2.195, allocations: 404.6 kB / 0.9214 GB, free: 149.7 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003854/2.195, allocations: 158 kB / 0.9216 GB, free: 149.7 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.008532/2.204, allocations: 3.902 MB / 0.9254 GB, free: 148.2 MB / 0.4982 GB Notification: Performance of sort global known variables: time 5.51e-07/2.204, allocations: 0 / 0.9254 GB, free: 148.2 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.011/2.215, allocations: 2.346 MB / 0.9277 GB, free: 148 MB / 0.4982 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.001333/2.216, allocations: 327 kB / 0.928 GB, free: 147.8 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.03147/2.248, allocations: 15.86 MB / 0.9435 GB, free: 142.5 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 1.38e-05/2.248, allocations: 4 kB / 0.9435 GB, free: 142.5 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.008776/2.256, allocations: 5.436 MB / 0.9488 GB, free: 137.7 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009169/2.266, allocations: 1.64 MB / 0.9504 GB, free: 136.4 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04233/2.308, allocations: 24.57 MB / 0.9744 GB, free: 114 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009572/2.318, allocations: 8.581 MB / 0.9828 GB, free: 107.4 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002318/2.32, allocations: 0.5127 MB / 0.9833 GB, free: 106.9 MB / 0.4982 GB Notification: Performance of SimCode: time 8.41e-07/2.32, allocations: 3.828 kB / 0.9833 GB, free: 106.9 MB / 0.4982 GB Notification: Performance of Templates: time 1.603/3.923, allocations: 0.6685 GB / 1.652 GB, free: 164.3 MB / 0.5138 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/jenkins1/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/jenkins1/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