Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.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_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,variableFilter="time|PIQS.x|imcQS.rotorCage.port_p.reference.gamma|loadInertiaQS.w|powerSensorQS.flange_a.phi",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,variableFilter="time|PIQS.x|imcQS.rotorCage.port_p.reference.gamma|loadInertiaQS.w|powerSensorQS.flange_a.phi",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001324/0.001324, allocations: 110.4 kB / 17.33 MB, free: 5.988 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001176/0.001176, allocations: 205.8 kB / 18.26 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.344/1.344, allocations: 227.4 MB / 246.4 MB, free: 10.77 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 59.81 kB / 306.5 MB, free: 0.8984 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08966/0.09098, allocations: 50.53 MB / 357 MB, free: 14.39 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.1821/0.2731, allocations: 24.46 MB / 381.5 MB, free: 8.633 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01461/0.2877, allocations: 7.95 MB / 389.4 MB, free: 3.785 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004804/0.2926, allocations: 175 kB / 389.6 MB, free: 3.75 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0165/0.3091, allocations: 7.937 MB / 397.5 MB, free: 15.11 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00946/0.3186, allocations: 2.732 MB / 400.2 MB, free: 13.16 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004916/0.3235, allocations: 1.69 MB / 401.9 MB, free: 11.85 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01384/0.3374, allocations: 11.22 MB / 413.2 MB, free: 4.609 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03677/0.3742, allocations: 26.89 MB / 440 MB, free: 9.566 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01033/0.3846, allocations: 5.946 MB / 446 MB, free: 3.605 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01111/0.3957, allocations: 6.588 MB / 452.6 MB, free: 13 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004552/0.4003, allocations: 1.715 MB / 454.3 MB, free: 11.28 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006596/0.407, allocations: 2.164 MB / 456.5 MB, free: 9.117 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004393/0.4114, allocations: 3.359 MB / 459.8 MB, free: 5.75 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008976/0.4204, allocations: 6.37 MB / 466.2 MB, free: 15.35 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0222/0.4426, allocations: 23.02 MB / 489.2 MB, free: 8.27 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.4426, allocations: 0 / 489.2 MB, free: 8.27 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.4427, allocations: 0 / 489.2 MB, free: 8.27 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0004313/0.4431, allocations: 0 / 489.2 MB, free: 8.27 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2685 * Number of variables: 2685 Notification: Performance of Generate backend data structure: time 0.03845/0.4816, allocations: 13.49 MB / 0.4909 GB, free: 10.68 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.4816, allocations: 12.03 kB / 0.4909 GB, free: 10.67 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0356/0.5172, allocations: 6.227 MB / 0.497 GB, free: 4.422 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0144/0.5317, allocations: 7.073 MB / 0.5039 GB, free: 13.27 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007653/0.5325, allocations: 0.7225 MB / 0.5046 GB, free: 12.55 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003782/0.5363, allocations: 0.9452 MB / 0.5055 GB, free: 11.6 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04371/0.58, allocations: 16.15 MB / 0.5213 GB, free: 11.39 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004227/0.5805, allocations: 7.906 kB / 0.5213 GB, free: 11.38 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003079/0.5836, allocations: 404 kB / 0.5217 GB, free: 10.98 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006123/0.5842, allocations: 0.5553 MB / 0.5223 GB, free: 10.43 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4116/0.9958, allocations: 15.1 MB / 0.537 GB, free: 125.6 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07975/1.076, allocations: 53.11 MB / 0.5889 GB, free: 90.49 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01614/1.092, allocations: 20.12 MB / 0.6085 GB, free: 71.75 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004856/1.097, allocations: 3.668 MB / 0.6121 GB, free: 68.08 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005053/1.097, allocations: 274.5 kB / 0.6124 GB, free: 67.79 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.674e-05/1.097, allocations: 78.09 kB / 0.6124 GB, free: 67.71 MB / 446.1 MB Notification: Performance of pre-optimization done (n=453): time 7.675e-06/1.097, allocations: 4 kB / 0.6124 GB, free: 67.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=458): time 0.04725/1.145, allocations: 20.64 MB / 0.6326 GB, free: 47.01 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.681e-05/1.145, allocations: 103 kB / 0.6327 GB, free: 46.89 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006799/1.151, allocations: 4.505 MB / 0.6371 GB, free: 42.37 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006996/1.152, allocations: 97.7 kB / 0.6372 GB, free: 42.27 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001992/1.154, allocations: 4.191 MB / 0.6413 GB, free: 38.05 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001509/1.156, allocations: 1.55 MB / 0.6428 GB, free: 36.51 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002368/1.158, allocations: 1.2 MB / 0.644 GB, free: 35.3 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.933e-05/1.158, allocations: 305.1 kB / 0.6443 GB, free: 35 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00409/1.162, allocations: 3.096 MB / 0.6473 GB, free: 31.89 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005496/1.168, allocations: 5.25 MB / 0.6524 GB, free: 25.67 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01514/1.183, allocations: 8.935 MB / 0.6611 GB, free: 15.77 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.864e-05/1.183, allocations: 23.94 kB / 0.6612 GB, free: 15.74 MB / 446.1 MB Notification: Performance of matching and sorting (n=800) (initialization): time 0.02253/1.206, allocations: 9.906 MB / 0.6708 GB, free: 5.82 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.881e-05/1.206, allocations: 36 kB / 0.6709 GB, free: 5.785 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001071/1.206, allocations: 68 kB / 0.6709 GB, free: 5.719 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003459/1.209, allocations: 1.384 MB / 0.6723 GB, free: 4.328 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004997/1.214, allocations: 1.388 MB / 0.6736 GB, free: 2.938 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01753/1.232, allocations: 12.51 MB / 0.6858 GB, free: 6.164 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004938/1.237, allocations: 363.5 kB / 0.6862 GB, free: 5.809 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001223/1.238, allocations: 303.8 kB / 0.6865 GB, free: 5.512 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 313 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (723): * Single equations (assignments): 717 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (14,54,45.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007609/1.246, allocations: 3.892 MB / 0.6903 GB, free: 1.605 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001418/1.247, allocations: 458.3 kB / 0.6907 GB, free: 1.152 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01618/1.263, allocations: 8.572 MB / 0.6991 GB, free: 8.527 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01171/1.275, allocations: 6.292 MB / 0.7052 GB, free: 2.215 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.277e-05/1.275, allocations: 19.98 kB / 0.7053 GB, free: 2.195 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.613e-05/1.275, allocations: 19.92 kB / 0.7053 GB, free: 2.176 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1983/1.474, allocations: 17.74 MB / 0.7226 GB, free: 143.2 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.927e-05/1.474, allocations: 8.094 kB / 0.7226 GB, free: 143.2 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003202/1.477, allocations: 0.8057 MB / 0.7234 GB, free: 143.1 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00329/1.48, allocations: 1.288 MB / 0.7246 GB, free: 142.9 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003527/1.48, allocations: 106.6 kB / 0.7247 GB, free: 142.8 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01263/1.493, allocations: 11.44 MB / 0.7359 GB, free: 136 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.252e-06/1.493, allocations: 11.31 kB / 0.7359 GB, free: 136 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01464/1.508, allocations: 11.29 MB / 0.747 GB, free: 131.2 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002246/1.51, allocations: 1.092 MB / 0.748 GB, free: 130.8 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006292/1.511, allocations: 90.25 kB / 0.7481 GB, free: 130.8 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002152/1.513, allocations: 241.1 kB / 0.7483 GB, free: 130.7 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000674/1.514, allocations: 322 kB / 0.7486 GB, free: 130.7 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002573/1.514, allocations: 138.9 kB / 0.7488 GB, free: 130.6 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003606/1.517, allocations: 3.114 MB / 0.7518 GB, free: 129.2 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.51e-07/1.517, allocations: 0 / 0.7518 GB, free: 129.2 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004954/1.522, allocations: 1.728 MB / 0.7535 GB, free: 127.5 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * Number of states: 4 (imcQS.inertiaRotor.w,imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.phi,PIQS.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (420): * Single equations (assignments): 414 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (14,54,44.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001245/1.524, allocations: 0.5362 MB / 0.754 GB, free: 127.1 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.03116/1.555, allocations: 15.26 MB / 0.7689 GB, free: 113 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.945e-06/1.555, allocations: 0 / 0.7689 GB, free: 113 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007642/1.562, allocations: 3.976 MB / 0.7728 GB, free: 109.5 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005369/1.568, allocations: 1.054 MB / 0.7738 GB, free: 108.6 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02776/1.596, allocations: 22.41 MB / 0.7957 GB, free: 87.58 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006936/1.603, allocations: 6.516 MB / 0.8021 GB, free: 81.03 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.006306/1.609, allocations: 2.115 MB / 0.8042 GB, free: 78.91 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001632/1.611, allocations: 383.4 kB / 0.8045 GB, free: 78.54 MB / 478.1 MB Notification: Performance of SimCode: time 1.212e-06/1.611, allocations: 0 / 0.8045 GB, free: 78.54 MB / 478.1 MB Notification: Performance of Templates: time 0.1063/1.717, allocations: 75.57 MB / 0.8783 GB, free: 3.434 MB / 478.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses_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_withLosses/IMC_withLosses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches