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.001256/0.001256, allocations: 112.3 kB / 17.74 MB, free: 5.293 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.001407/0.001407, allocations: 187 kB / 18.67 MB, free: 4.375 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.382/1.382, allocations: 222.9 MB / 242.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 47.94 kB / 352 MB, free: 3.188 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2775/0.2787, allocations: 49.43 MB / 401.4 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.03814/0.3169, allocations: 38.27 MB / 439.7 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0232/0.3401, allocations: 10.02 MB / 449.7 MB, free: 8.371 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008636/0.3488, allocations: 291.1 kB / 450 MB, free: 8.086 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02443/0.3733, allocations: 10.17 MB / 460.2 MB, free: 13.89 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01386/0.3872, allocations: 4.055 MB / 464.2 MB, free: 9.816 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008475/0.3956, allocations: 2.369 MB / 466.6 MB, free: 7.453 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0246/0.4203, allocations: 16.38 MB / 483 MB, free: 7.023 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05688/0.4772, allocations: 31.21 MB / 0.5022 GB, free: 7.555 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01478/0.492, allocations: 8.501 MB / 0.5105 GB, free: 15.03 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01625/0.5083, allocations: 9.328 MB / 0.5196 GB, free: 5.672 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006623/0.515, allocations: 2.418 MB / 0.5219 GB, free: 3.254 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008663/0.5236, allocations: 2.804 MB / 0.5247 GB, free: 460 kB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00712/0.5308, allocations: 4.809 MB / 0.5294 GB, free: 11.63 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01562/0.5464, allocations: 9.202 MB / 0.5383 GB, free: 2.391 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.5166/1.063, allocations: 32.11 MB / 0.5697 GB, free: 48.43 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/1.063, allocations: 2.469 kB / 0.5697 GB, free: 48.43 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.924e-06/1.063, allocations: 0 / 0.5697 GB, free: 48.43 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0009841/1.064, allocations: 0 / 0.5697 GB, free: 48.43 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.06245/1.127, allocations: 18.67 MB / 0.5879 GB, free: 40.12 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/1.127, allocations: 7.781 kB / 0.5879 GB, free: 40.12 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04704/1.174, allocations: 8.296 MB / 0.596 GB, free: 36.37 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02603/1.2, allocations: 10.2 MB / 0.606 GB, free: 28.88 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001077/1.201, allocations: 1.057 MB / 0.607 GB, free: 27.84 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006673/1.208, allocations: 1.398 MB / 0.6084 GB, free: 26.45 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0643/1.272, allocations: 22.75 MB / 0.6306 GB, free: 3.648 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007675/1.273, allocations: 15.81 kB / 0.6306 GB, free: 3.633 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005942/1.279, allocations: 0.5797 MB / 0.6312 GB, free: 3.07 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007396/1.279, allocations: 0.7793 MB / 0.632 GB, free: 2.289 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04977/1.329, allocations: 21.01 MB / 0.6525 GB, free: 13.27 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1459/1.475, allocations: 71.98 MB / 0.7228 GB, free: 4.98 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3022/1.777, allocations: 42.4 MB / 0.7642 GB, free: 171.1 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009028/1.786, allocations: 5.169 MB / 0.7692 GB, free: 171.1 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02027/1.807, allocations: 12.67 MB / 0.7816 GB, free: 167.6 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.239e-05/1.807, allocations: 82.55 kB / 0.7817 GB, free: 167.5 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=498): time 6.622e-06/1.807, allocations: 0 / 0.7817 GB, free: 167.5 MB / 0.5607 GB Notification: Performance of matching and sorting (n=506): time 0.05439/1.861, allocations: 26.3 MB / 0.8074 GB, free: 156.1 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.441e-05/1.861, allocations: 129.4 kB / 0.8075 GB, free: 156 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007886/1.869, allocations: 5.756 MB / 0.8131 GB, free: 152.3 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.001048/1.87, allocations: 105.7 kB / 0.8132 GB, free: 152.2 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.003026/1.873, allocations: 6.155 MB / 0.8192 GB, free: 146.8 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001875/1.875, allocations: 1.732 MB / 0.8209 GB, free: 145.2 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002037/1.877, allocations: 1.46 MB / 0.8223 GB, free: 143.9 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 5.02e-05/1.877, allocations: 305.1 kB / 0.8226 GB, free: 143.6 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004593/1.882, allocations: 3.629 MB / 0.8262 GB, free: 140.5 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005903/1.888, allocations: 6.467 MB / 0.8325 GB, free: 133.4 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0108/1.899, allocations: 10.77 MB / 0.843 GB, free: 122 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.43e-05/1.899, allocations: 28 kB / 0.843 GB, free: 122 MB / 0.5607 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.01772/1.916, allocations: 12.08 MB / 0.8548 GB, free: 109.8 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 5.905e-05/1.916, allocations: 44 kB / 0.8549 GB, free: 109.8 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001263/1.917, allocations: 96 kB / 0.855 GB, free: 109.7 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003896/1.92, allocations: 1.595 MB / 0.8565 GB, free: 108.1 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005797/1.926, allocations: 1.669 MB / 0.8582 GB, free: 106.4 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01943/1.946, allocations: 19.61 MB / 0.8773 GB, free: 86.16 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007153/1.953, allocations: 432.8 kB / 0.8777 GB, free: 85.74 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00181/1.955, allocations: 364 kB / 0.8781 GB, free: 85.39 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.01155/1.966, allocations: 5.186 MB / 0.8831 GB, free: 80.19 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002232/1.969, allocations: 0.5981 MB / 0.8837 GB, free: 79.58 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01684/1.985, allocations: 9.364 MB / 0.8929 GB, free: 70.12 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008683/1.994, allocations: 5.864 MB / 0.8986 GB, free: 64.23 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.494e-05/1.994, allocations: 20 kB / 0.8986 GB, free: 64.21 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.701e-05/1.994, allocations: 27.91 kB / 0.8986 GB, free: 64.18 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05146/2.046, allocations: 21 MB / 0.9191 GB, free: 43.09 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-05/2.046, allocations: 8 kB / 0.9191 GB, free: 43.08 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005596/2.051, allocations: 0.862 MB / 0.92 GB, free: 42.22 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00618/2.058, allocations: 1.643 MB / 0.9216 GB, free: 40.56 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001154/2.059, allocations: 128 kB / 0.9217 GB, free: 40.44 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02537/2.084, allocations: 23.19 MB / 0.9444 GB, free: 16.31 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.99e-06/2.084, allocations: 4 kB / 0.9444 GB, free: 16.31 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02047/2.105, allocations: 13.72 MB / 0.9578 GB, free: 2.227 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004926/2.11, allocations: 1.356 MB / 0.9591 GB, free: 0.8438 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001135/2.111, allocations: 104 kB / 0.9592 GB, free: 0.7422 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003002/2.114, allocations: 287.7 kB / 0.9595 GB, free: 472 kB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009587/2.115, allocations: 412.4 kB / 0.9598 GB, free: 60 kB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.3054/2.42, allocations: 146.3 kB / 0.96 GB, free: 181.1 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.01002/2.43, allocations: 3.883 MB / 0.9638 GB, free: 180.9 MB / 0.5607 GB Notification: Performance of sort global known variables: time 5.31e-07/2.43, allocations: 1.656 kB / 0.9638 GB, free: 180.9 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.01146/2.442, allocations: 2.336 MB / 0.9661 GB, free: 180.9 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.001466/2.443, allocations: 329.6 kB / 0.9664 GB, free: 180.8 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.0161/2.46, allocations: 9.883 MB / 0.976 GB, free: 179.7 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 1.361e-05/2.46, allocations: 7.438 kB / 0.976 GB, free: 179.7 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.008847/2.468, allocations: 5.442 MB / 0.9813 GB, free: 178.2 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009846/2.478, allocations: 1.632 MB / 0.9829 GB, free: 177.6 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04724/2.526, allocations: 24.19 MB / 1.007 GB, free: 164.4 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01111/2.537, allocations: 8.568 MB / 1.015 GB, free: 157.8 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002491/2.539, allocations: 0.5045 MB / 1.015 GB, free: 157.3 MB / 0.5607 GB Notification: Performance of SimCode: time 1.463e-06/2.539, allocations: 0 / 1.015 GB, free: 157.3 MB / 0.5607 GB Notification: Performance of Templates: time 1.608/4.147, allocations: 0.6684 GB / 1.684 GB, free: 145 MB / 0.5919 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/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_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