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_withLosses.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000958/0.000958, allocations: 176.4 kB / 8.347 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.455/1.455, allocations: 221.5 MB / 230.3 MB, free: 7.57 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008766/0.0008764, allocations: 98.19 kB / 281.2 MB, free: 5.324 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.659e-05/1.677e-05, allocations: 4 kB / 337.1 MB, free: 10 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1044, allocations: 50.42 MB / 387.5 MB, free: 7.539 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4249/0.5293, allocations: 132.6 MB / 0.5079 GB, free: 10.09 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004257/0.5298, allocations: 105.7 kB / 0.508 GB, free: 9.984 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.113/1.643, allocations: 348.1 MB / 0.848 GB, free: 8.285 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.573e-06/1.643, allocations: 0 / 0.848 GB, free: 8.285 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0007206/1.643, allocations: 218.6 kB / 0.8482 GB, free: 8.074 MB / 426.7 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.03259/1.676, allocations: 9.439 MB / 0.8574 GB, free: 14.57 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/1.676, allocations: 15.98 kB / 0.8574 GB, free: 14.55 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02583/1.702, allocations: 4.276 MB / 0.8616 GB, free: 10.26 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02202/1.724, allocations: 8.403 MB / 0.8698 GB, free: 1.867 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007167/1.725, allocations: 300 kB / 0.8701 GB, free: 1.574 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004037/1.729, allocations: 0.5389 MB / 0.8706 GB, free: 1.035 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.5921/2.321, allocations: 12.52 MB / 0.8829 GB, free: 34.42 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04588/2.367, allocations: 14.28 MB / 0.8968 GB, free: 33.38 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004801/2.367, allocations: 21.58 kB / 0.8968 GB, free: 33.38 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003758/2.371, allocations: 6.594 kB / 0.8968 GB, free: 33.38 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001028/2.372, allocations: 0.7457 MB / 0.8976 GB, free: 33.35 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1001/2.472, allocations: 51.45 MB / 0.9478 GB, free: 20.34 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01985/2.492, allocations: 20.33 MB / 0.9677 GB, free: 19.78 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005737/2.498, allocations: 3.502 MB / 0.9711 GB, free: 18.36 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004823/2.499, allocations: 178.2 kB / 0.9713 GB, free: 18.25 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.312e-05/2.499, allocations: 79.44 kB / 0.9713 GB, free: 18.18 MB / 458.8 MB Notification: Performance of pre-optimization done (n=453): time 6.842e-06/2.499, allocations: 2.062 kB / 0.9713 GB, free: 18.18 MB / 458.8 MB Notification: Performance of matching and sorting (n=458): time 0.03496/2.534, allocations: 16.48 MB / 0.9874 GB, free: 11.66 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.803e-05/2.534, allocations: 103.4 kB / 0.9875 GB, free: 11.59 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005712/2.539, allocations: 3.574 MB / 0.991 GB, free: 10.23 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0008993/2.54, allocations: 28.98 kB / 0.991 GB, free: 10.2 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002984/2.543, allocations: 4.185 MB / 0.9951 GB, free: 7.039 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002321/2.546, allocations: 1.494 MB / 0.9966 GB, free: 5.867 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003296/2.546, allocations: 0 / 0.9966 GB, free: 5.867 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0004119/2.546, allocations: 0.5596 MB / 0.9971 GB, free: 5.449 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004249/2.551, allocations: 3.053 MB / 1 GB, free: 4.184 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006085/2.557, allocations: 5.136 MB / 1.005 GB, free: 272 kB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01113/2.568, allocations: 5.228 MB / 1.01 GB, free: 14.64 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001353/2.568, allocations: 22.59 kB / 1.01 GB, free: 14.64 MB / 474.8 MB Notification: Performance of matching and sorting (n=800) (initialization): time 0.02238/2.59, allocations: 10.26 MB / 1.02 GB, free: 7.25 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001136/2.591, allocations: 40.14 kB / 1.02 GB, free: 7.211 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001521/2.591, allocations: 72 kB / 1.02 GB, free: 7.141 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003611/2.594, allocations: 1.364 MB / 1.022 GB, free: 6.074 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005797/2.6, allocations: 1.43 MB / 1.023 GB, free: 4.965 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0164/2.617, allocations: 11.26 MB / 1.034 GB, free: 11 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006038/2.623, allocations: 277.6 kB / 1.034 GB, free: 10.82 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001768/2.625, allocations: 290.8 kB / 1.035 GB, free: 10.55 MB / 490.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 311 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(14,45.4%) 54} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00325/2.628, allocations: 297.6 kB / 1.035 GB, free: 10.34 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001996/2.63, allocations: 448.3 kB / 1.035 GB, free: 9.906 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01988/2.65, allocations: 9.262 MB / 1.044 GB, free: 2.527 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.3317/2.981, allocations: 7.043 MB / 1.051 GB, free: 73.61 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.211e-05/2.982, allocations: 12.44 kB / 1.051 GB, free: 73.61 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.693e-05/2.982, allocations: 27.11 kB / 1.051 GB, free: 73.61 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04061/3.022, allocations: 17.28 MB / 1.068 GB, free: 72.35 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.156e-05/3.022, allocations: 7.031 kB / 1.068 GB, free: 72.35 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004063/3.026, allocations: 0.8433 MB / 1.069 GB, free: 72.35 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003412/3.03, allocations: 1.239 MB / 1.07 GB, free: 72.32 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008237/3.031, allocations: 43.58 kB / 1.07 GB, free: 72.32 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01366/3.044, allocations: 10.22 MB / 1.08 GB, free: 69.77 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.867e-05/3.044, allocations: 11.66 kB / 1.08 GB, free: 69.77 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02011/3.064, allocations: 12.91 MB / 1.093 GB, free: 68.28 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003255/3.068, allocations: 1.163 MB / 1.094 GB, free: 68.18 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001263/3.069, allocations: 9.562 kB / 1.094 GB, free: 68.18 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003029/3.072, allocations: 215.7 kB / 1.094 GB, free: 68.18 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006677/3.073, allocations: 327.3 kB / 1.095 GB, free: 68.17 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002894/3.073, allocations: 139 kB / 1.095 GB, free: 68.17 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.005724/3.079, allocations: 2.669 MB / 1.097 GB, free: 68.03 MB / 490.8 MB Notification: Performance of sort global known variables: time 2.355e-06/3.079, allocations: 2.125 kB / 1.097 GB, free: 68.03 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.009104/3.088, allocations: 1.58 MB / 1.099 GB, free: 68.03 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (418): * Single equations (assignments): 412 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(14,41.8%) 54} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002169/3.09, allocations: 0.6479 MB / 1.099 GB, free: 67.93 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.01382/3.104, allocations: 7.842 MB / 1.107 GB, free: 67.55 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.273e-05/3.104, allocations: 0 / 1.107 GB, free: 67.55 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.007937/3.112, allocations: 3.966 MB / 1.111 GB, free: 67.27 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005901/3.118, allocations: 0.757 MB / 1.112 GB, free: 67.25 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03624/3.154, allocations: 15.75 MB / 1.127 GB, free: 64.42 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009319/3.164, allocations: 6.659 MB / 1.134 GB, free: 63.42 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.007873/3.171, allocations: 2.151 MB / 1.136 GB, free: 63.25 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00181/3.173, allocations: 375 kB / 1.136 GB, free: 63.24 MB / 490.8 MB Notification: Performance of SimCode: time 1.543e-06/3.173, allocations: 0 / 1.136 GB, free: 63.24 MB / 490.8 MB Notification: Performance of Templates: time 0.1131/3.286, allocations: 66.09 MB / 1.201 GB, free: 31.39 MB / 490.8 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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","../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches