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.001325/0.001325, allocations: 115.8 kB / 18.4 MB, free: 4.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001458/0.001459, allocations: 203.4 kB / 19.35 MB, free: 3.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.466/1.466, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 60.91 kB / 308.4 MB, free: 15.85 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1171, allocations: 50.53 MB / 358.9 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.2982/0.4153, allocations: 38.92 MB / 397.8 MB, free: 13.85 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.03273/0.4481, allocations: 10.32 MB / 408.2 MB, free: 6.324 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0125/0.4606, allocations: 293.2 kB / 408.5 MB, free: 6.266 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02608/0.4867, allocations: 10.2 MB / 418.6 MB, free: 14.54 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.018/0.5047, allocations: 4.038 MB / 422.7 MB, free: 11.26 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009384/0.5141, allocations: 2.426 MB / 425.1 MB, free: 9.215 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0269/0.541, allocations: 16.51 MB / 441.6 MB, free: 8.656 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05508/0.5962, allocations: 31.21 MB / 472.8 MB, free: 9.184 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01791/0.6141, allocations: 8.482 MB / 481.3 MB, free: 0.6797 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01942/0.6336, allocations: 9.492 MB / 490.8 MB, free: 7.152 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.008277/0.6419, allocations: 2.414 MB / 493.2 MB, free: 4.738 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01072/0.6526, allocations: 2.827 MB / 496 MB, free: 1.914 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009031/0.6617, allocations: 4.805 MB / 0.4891 GB, free: 13.1 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02101/0.6827, allocations: 9.214 MB / 0.4981 GB, free: 3.848 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0475/0.7303, allocations: 32.15 MB / 0.5295 GB, free: 3.602 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.295e-06/0.7303, allocations: 0 / 0.5295 GB, free: 3.602 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.745e-06/0.7303, allocations: 0 / 0.5295 GB, free: 3.602 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.001477/0.7318, allocations: 0 / 0.5295 GB, free: 3.602 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.4734/1.205, allocations: 18.71 MB / 0.5478 GB, free: 125.8 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.15e-05/1.205, allocations: 14.05 kB / 0.5478 GB, free: 125.8 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04867/1.254, allocations: 8.347 MB / 0.556 GB, free: 122 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0259/1.28, allocations: 10.23 MB / 0.5659 GB, free: 112.9 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001276/1.281, allocations: 1.055 MB / 0.567 GB, free: 111.9 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007927/1.289, allocations: 1.409 MB / 0.5683 GB, free: 110.5 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06085/1.35, allocations: 22.74 MB / 0.5906 GB, free: 87.69 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009089/1.351, allocations: 28.36 kB / 0.5906 GB, free: 87.66 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006391/1.357, allocations: 0.5809 MB / 0.5911 GB, free: 87.1 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006657/1.358, allocations: 0.7793 MB / 0.5919 GB, free: 86.32 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04293/1.401, allocations: 21.01 MB / 0.6124 GB, free: 65.29 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1218/1.523, allocations: 72.66 MB / 0.6834 GB, free: 7.242 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3245/1.847, allocations: 42.7 MB / 0.7251 GB, free: 148.7 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01113/1.859, allocations: 5.233 MB / 0.7302 GB, free: 148.6 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03025/1.889, allocations: 12.96 MB / 0.7429 GB, free: 143.1 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.455e-05/1.889, allocations: 84.55 kB / 0.7429 GB, free: 143 MB / 494.1 MB Notification: Performance of pre-optimization done (n=498): time 7.003e-06/1.889, allocations: 1.281 kB / 0.7429 GB, free: 143 MB / 494.1 MB Notification: Performance of matching and sorting (n=506): time 0.06158/1.951, allocations: 26.29 MB / 0.7686 GB, free: 131.7 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.767e-05/1.951, allocations: 132 kB / 0.7687 GB, free: 131.6 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009544/1.96, allocations: 5.781 MB / 0.7744 GB, free: 128.6 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001414/1.962, allocations: 113.7 kB / 0.7745 GB, free: 128.5 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003734/1.965, allocations: 6.164 MB / 0.7805 GB, free: 123 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002318/1.968, allocations: 1.729 MB / 0.7822 GB, free: 121.5 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002428/1.97, allocations: 1.464 MB / 0.7836 GB, free: 120 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.388e-05/1.97, allocations: 301.1 kB / 0.7839 GB, free: 119.7 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004849/1.975, allocations: 3.634 MB / 0.7875 GB, free: 116.1 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006053/1.981, allocations: 6.478 MB / 0.7938 GB, free: 108.3 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01219/1.993, allocations: 10.76 MB / 0.8043 GB, free: 96.23 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001044/1.994, allocations: 28 kB / 0.8043 GB, free: 96.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=962) (initialization): time 0.02124/2.015, allocations: 12.08 MB / 0.8161 GB, free: 84.05 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001408/2.015, allocations: 48 kB / 0.8162 GB, free: 84 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001793/2.015, allocations: 92 kB / 0.8163 GB, free: 83.91 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004194/2.019, allocations: 1.588 MB / 0.8178 GB, free: 82.31 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006622/2.026, allocations: 1.67 MB / 0.8194 GB, free: 80.64 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02225/2.048, allocations: 19.63 MB / 0.8386 GB, free: 60.34 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007554/2.056, allocations: 423.4 kB / 0.839 GB, free: 59.93 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001936/2.058, allocations: 368 kB / 0.8394 GB, free: 59.57 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.01347/2.071, allocations: 5.195 MB / 0.8444 GB, free: 54.36 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002895/2.074, allocations: 0.5942 MB / 0.845 GB, free: 53.76 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01851/2.093, allocations: 9.362 MB / 0.8542 GB, free: 44.3 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007768/2.101, allocations: 5.876 MB / 0.8599 GB, free: 38.39 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.778e-05/2.101, allocations: 20 kB / 0.8599 GB, free: 38.37 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.986e-05/2.101, allocations: 23.91 kB / 0.8599 GB, free: 38.35 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03574/2.137, allocations: 21.01 MB / 0.8805 GB, free: 17.22 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.393e-05/2.137, allocations: 12 kB / 0.8805 GB, free: 17.21 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003478/2.14, allocations: 0.8625 MB / 0.8813 GB, free: 16.35 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004371/2.144, allocations: 1.64 MB / 0.8829 GB, free: 14.69 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000557/2.145, allocations: 128 kB / 0.883 GB, free: 14.56 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3173/2.462, allocations: 23.18 MB / 0.9057 GB, free: 153.7 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.076e-06/2.462, allocations: 16.2 kB / 0.9057 GB, free: 153.7 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02611/2.489, allocations: 13.72 MB / 0.9191 GB, free: 150 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005418/2.494, allocations: 1.358 MB / 0.9204 GB, free: 149.6 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002536/2.497, allocations: 105.5 kB / 0.9205 GB, free: 149.5 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004942/2.502, allocations: 285.6 kB / 0.9208 GB, free: 149.4 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001531/2.503, allocations: 408.9 kB / 0.9212 GB, free: 149.4 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004723/2.504, allocations: 153.9 kB / 0.9213 GB, free: 149.3 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.007862/2.511, allocations: 3.908 MB / 0.9251 GB, free: 147.9 MB / 0.4982 GB Notification: Performance of sort global known variables: time 4.81e-07/2.511, allocations: 0 / 0.9251 GB, free: 147.9 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.01253/2.524, allocations: 2.332 MB / 0.9274 GB, free: 147.7 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.001772/2.526, allocations: 330.9 kB / 0.9277 GB, free: 147.5 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.01616/2.542, allocations: 9.879 MB / 0.9374 GB, free: 143.4 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 1.148e-05/2.542, allocations: 3.531 kB / 0.9374 GB, free: 143.4 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.009895/2.552, allocations: 5.442 MB / 0.9427 GB, free: 140.8 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01244/2.564, allocations: 1.644 MB / 0.9443 GB, free: 140.2 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0496/2.614, allocations: 24.66 MB / 0.9684 GB, free: 118.9 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01963/2.634, allocations: 8.854 MB / 0.977 GB, free: 112.1 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.009587/2.643, allocations: 2.536 MB / 0.9795 GB, free: 110.4 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002647/2.646, allocations: 455.8 kB / 0.9799 GB, free: 110 MB / 0.4982 GB Notification: Performance of SimCode: time 1.392e-06/2.646, allocations: 4 kB / 0.9799 GB, free: 110 MB / 0.4982 GB Notification: Performance of Templates: time 0.1549/2.801, allocations: 94.28 MB / 1.072 GB, free: 16.65 MB / 0.4982 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 -s cvode -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