Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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.0.0_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.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 110.2 kB / 17.06 MB, free: 6.023 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 191 kB / 17.99 MB, free: 5.109 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.399/1.399, allocations: 222.9 MB / 241.7 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00109/0.001091, allocations: 43.94 kB / 351.3 MB, free: 3.227 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3256/0.3267, allocations: 49.43 MB / 400.8 MB, free: 8.773 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.03897/0.3657, allocations: 38.28 MB / 439 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02641/0.3922, allocations: 10.03 MB / 449.1 MB, free: 8.383 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01104/0.4033, allocations: 291.1 kB / 449.4 MB, free: 8.098 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02522/0.4285, allocations: 10.24 MB / 459.6 MB, free: 13.83 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01708/0.4456, allocations: 4.122 MB / 463.7 MB, free: 9.691 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008739/0.4544, allocations: 2.385 MB / 466.1 MB, free: 7.316 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02281/0.4772, allocations: 16.38 MB / 482.5 MB, free: 6.883 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05839/0.5356, allocations: 31.2 MB / 0.5016 GB, free: 7.422 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01604/0.5517, allocations: 8.509 MB / 0.5099 GB, free: 14.89 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01768/0.5694, allocations: 9.324 MB / 0.5191 GB, free: 5.535 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.008336/0.5778, allocations: 2.414 MB / 0.5214 GB, free: 3.121 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01112/0.5889, allocations: 2.812 MB / 0.5242 GB, free: 316 kB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0103/0.5992, allocations: 4.812 MB / 0.5289 GB, free: 11.48 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02528/0.6246, allocations: 9.195 MB / 0.5378 GB, free: 2.254 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.6495/1.274, allocations: 32.1 MB / 0.5692 GB, free: 48.45 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/1.274, allocations: 0 / 0.5692 GB, free: 48.45 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.615e-06/1.274, allocations: 0 / 0.5692 GB, free: 48.45 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.001064/1.275, allocations: 0.75 kB / 0.5692 GB, free: 48.45 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.06841/1.344, allocations: 18.67 MB / 0.5874 GB, free: 40.14 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/1.344, allocations: 19.39 kB / 0.5874 GB, free: 40.13 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04598/1.39, allocations: 8.287 MB / 0.5955 GB, free: 36.39 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02801/1.418, allocations: 10.2 MB / 0.6055 GB, free: 28.93 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001171/1.419, allocations: 1.061 MB / 0.6065 GB, free: 27.88 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008196/1.427, allocations: 1.394 MB / 0.6079 GB, free: 26.5 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06949/1.497, allocations: 22.74 MB / 0.6301 GB, free: 3.699 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008064/1.498, allocations: 27.45 kB / 0.6301 GB, free: 3.676 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007675/1.505, allocations: 0.5797 MB / 0.6307 GB, free: 3.109 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008432/1.506, allocations: 0.7754 MB / 0.6315 GB, free: 2.332 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05401/1.56, allocations: 21.01 MB / 0.652 GB, free: 13.32 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1646/1.725, allocations: 71.99 MB / 0.7223 GB, free: 5.031 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3549/2.08, allocations: 42.39 MB / 0.7637 GB, free: 171.4 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01577/2.096, allocations: 5.173 MB / 0.7687 GB, free: 171.3 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04595/2.142, allocations: 12.67 MB / 0.7811 GB, free: 167.8 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.539e-05/2.142, allocations: 89.23 kB / 0.7812 GB, free: 167.7 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=498): time 1.438e-05/2.142, allocations: 0 / 0.7812 GB, free: 167.7 MB / 0.5607 GB Notification: Performance of matching and sorting (n=506): time 0.09667/2.238, allocations: 26.28 MB / 0.8068 GB, free: 156.4 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.26e-05/2.239, allocations: 131.6 kB / 0.807 GB, free: 156.3 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01367/2.252, allocations: 5.765 MB / 0.8126 GB, free: 152.5 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.001501/2.254, allocations: 109.7 kB / 0.8127 GB, free: 152.4 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.00507/2.259, allocations: 6.155 MB / 0.8187 GB, free: 147 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.002994/2.262, allocations: 1.72 MB / 0.8204 GB, free: 145.4 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003873/2.266, allocations: 1.459 MB / 0.8218 GB, free: 144.1 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 6.419e-05/2.266, allocations: 305.1 kB / 0.8221 GB, free: 143.8 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009011/2.275, allocations: 3.636 MB / 0.8257 GB, free: 140.7 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01032/2.285, allocations: 6.468 MB / 0.832 GB, free: 133.6 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01312/2.299, allocations: 10.76 MB / 0.8425 GB, free: 122.2 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001004/2.299, allocations: 28 kB / 0.8425 GB, free: 122.2 MB / 0.5607 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.02281/2.321, allocations: 12.08 MB / 0.8543 GB, free: 110 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001446/2.322, allocations: 46.33 kB / 0.8544 GB, free: 110 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001546/2.322, allocations: 92 kB / 0.8544 GB, free: 109.9 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004362/2.326, allocations: 1.601 MB / 0.856 GB, free: 108.3 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006611/2.333, allocations: 1.661 MB / 0.8576 GB, free: 106.6 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01992/2.353, allocations: 19.62 MB / 0.8768 GB, free: 86.34 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006555/2.359, allocations: 427.5 kB / 0.8772 GB, free: 85.92 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001863/2.361, allocations: 364 kB / 0.8776 GB, free: 85.56 MB / 0.5607 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.0118/2.373, allocations: 5.185 MB / 0.8826 GB, free: 80.36 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002283/2.375, allocations: 0.5981 MB / 0.8832 GB, free: 79.76 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01791/2.393, allocations: 9.355 MB / 0.8923 GB, free: 70.31 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009784/2.403, allocations: 5.876 MB / 0.8981 GB, free: 64.41 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-05/2.403, allocations: 24 kB / 0.8981 GB, free: 64.38 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001165/2.403, allocations: 27.89 kB / 0.8981 GB, free: 64.36 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04609/2.45, allocations: 20.99 MB / 0.9186 GB, free: 43.26 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.068e-05/2.45, allocations: 8 kB / 0.9186 GB, free: 43.25 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003459/2.453, allocations: 0.8588 MB / 0.9195 GB, free: 42.39 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004188/2.457, allocations: 1.64 MB / 0.9211 GB, free: 40.74 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006043/2.458, allocations: 128 kB / 0.9212 GB, free: 40.61 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02084/2.479, allocations: 23.19 MB / 0.9438 GB, free: 16.48 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.853e-06/2.479, allocations: 11.98 kB / 0.9439 GB, free: 16.47 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02167/2.5, allocations: 13.71 MB / 0.9572 GB, free: 2.391 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003911/2.504, allocations: 1.36 MB / 0.9586 GB, free: 1.004 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002055/2.506, allocations: 100 kB / 0.9587 GB, free: 0.9062 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005186/2.512, allocations: 292.8 kB / 0.9589 GB, free: 0.6211 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001734/2.513, allocations: 408.4 kB / 0.9593 GB, free: 228 kB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008562/2.514, allocations: 156 kB / 0.9595 GB, free: 72 kB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.2926/2.807, allocations: 3.878 MB / 0.9633 GB, free: 181 MB / 0.5607 GB Notification: Performance of sort global known variables: time 6.51e-07/2.807, allocations: 0 / 0.9633 GB, free: 181 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.01297/2.82, allocations: 2.335 MB / 0.9656 GB, free: 181 MB / 0.5607 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,13,100.0%), (1,5,100.0%), (1,8,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.002534/2.823, allocations: 325.5 kB / 0.9659 GB, free: 180.9 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01722/2.84, allocations: 9.883 MB / 0.9755 GB, free: 179.8 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 1.691e-05/2.84, allocations: 2.656 kB / 0.9755 GB, free: 179.8 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.008699/2.849, allocations: 5.444 MB / 0.9808 GB, free: 178.3 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008724/2.857, allocations: 1.634 MB / 0.9824 GB, free: 177.8 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04546/2.903, allocations: 24.59 MB / 1.006 GB, free: 164.3 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01407/2.917, allocations: 8.849 MB / 1.015 GB, free: 157.5 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.007245/2.924, allocations: 2.538 MB / 1.018 GB, free: 155.8 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001487/2.926, allocations: 455.5 kB / 1.018 GB, free: 155.3 MB / 0.5607 GB Notification: Performance of SimCode: time 1.323e-06/2.926, allocations: 0 / 1.018 GB, free: 155.3 MB / 0.5607 GB Notification: Performance of Templates: time 0.153/3.079, allocations: 97.18 MB / 1.113 GB, free: 63.81 MB / 0.5607 GB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches