Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_cpp_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_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009032/0.0009033, allocations: 181.4 kB / 17.41 MB, free: 4.387 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.405/1.405, allocations: 205.4 MB / 223.6 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008032/0.0008033, allocations: 85 kB / 271.9 MB, free: 8.262 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003124/0.0003124, allocations: 11.98 kB / 328.2 MB, free: 15.91 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2622/0.2625, allocations: 47.56 MB / 375.7 MB, free: 45.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3852/0.6478, allocations: 153.5 MB / 0.5169 GB, free: 102.8 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004069/0.6483, allocations: 107.9 kB / 0.517 GB, free: 102.8 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.449/2.097, allocations: 453.4 MB / 0.9598 GB, free: 8.969 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.585e-06/2.098, allocations: 0 / 0.9598 GB, free: 8.969 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.001823/2.099, allocations: 331.6 kB / 0.9601 GB, free: 8.645 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3978 * Number of variables: 3978 Notification: Performance of Generate backend data structure: time 0.06313/2.163, allocations: 13.93 MB / 0.9737 GB, free: 10.6 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.54e-05/2.163, allocations: 12.03 kB / 0.9737 GB, free: 10.59 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03794/2.201, allocations: 6.498 MB / 0.9801 GB, free: 4.066 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4165/2.617, allocations: 10.87 MB / 0.9907 GB, free: 30.82 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001669/2.619, allocations: 1.052 MB / 0.9917 GB, free: 30.79 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00709/2.626, allocations: 1.37 MB / 0.9931 GB, free: 30.79 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06965/2.696, allocations: 23.77 MB / 1.016 GB, free: 29.13 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009188/2.697, allocations: 24.53 kB / 1.016 GB, free: 29.13 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006446/2.703, allocations: 0.5911 MB / 1.017 GB, free: 29.13 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001746/2.705, allocations: 0.928 MB / 1.018 GB, free: 29.1 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05114/2.756, allocations: 21.38 MB / 1.039 GB, free: 28.97 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1673/2.923, allocations: 75.23 MB / 1.112 GB, free: 13.17 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03738/2.961, allocations: 28.43 MB / 1.14 GB, free: 7.965 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.02173/2.982, allocations: 9.582 MB / 1.149 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.455/3.437, allocations: 31.15 MB / 1.18 GB, free: 72.14 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001435/3.438, allocations: 118.6 kB / 1.18 GB, free: 72.09 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=936): time 1.269e-05/3.438, allocations: 0 / 1.18 GB, free: 72.09 MB / 0.4948 GB Notification: Performance of matching and sorting (n=944): time 0.1707/3.608, allocations: 56.96 MB / 1.235 GB, free: 66.54 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001517/3.609, allocations: 165.8 kB / 1.236 GB, free: 66.43 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01339/3.622, allocations: 4.662 MB / 1.24 GB, free: 66.09 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.003097/3.625, allocations: 157.9 kB / 1.24 GB, free: 66.06 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.004908/3.63, allocations: 5.331 MB / 1.245 GB, free: 63.42 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.005585/3.636, allocations: 3.107 MB / 1.249 GB, free: 61.4 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002692/3.638, allocations: 172 kB / 1.249 GB, free: 61.4 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.00141/3.64, allocations: 0.6886 MB / 1.249 GB, free: 61.07 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01282/3.653, allocations: 6.078 MB / 1.255 GB, free: 61.05 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0155/3.668, allocations: 7.986 MB / 1.263 GB, free: 59.05 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02763/3.696, allocations: 14.86 MB / 1.278 GB, free: 55.48 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001353/3.696, allocations: 17.53 kB / 1.278 GB, free: 55.48 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1209) (initialization): time 0.0473/3.743, allocations: 18.64 MB / 1.296 GB, free: 47.75 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001696/3.744, allocations: 31.25 kB / 1.296 GB, free: 47.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001795/3.744, allocations: 50.72 kB / 1.296 GB, free: 47.75 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01364/3.757, allocations: 5.909 MB / 1.302 GB, free: 45.88 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007293/3.765, allocations: 1.526 MB / 1.303 GB, free: 45.83 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02569/3.79, allocations: 20.05 MB / 1.323 GB, free: 28.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00905/3.8, allocations: 435.7 kB / 1.323 GB, free: 28.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003153/3.803, allocations: 377.5 kB / 1.324 GB, free: 28.05 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 232 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,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 initialization (802): * Single equations (assignments): 749 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 44 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 13,(1,100.0%) 1} * Non-linear torn systems: 4 {6 9,6 9,6 9,30 175} Notification: Performance of prepare postOptimizeDAE: time 0.01552/3.818, allocations: 5.193 MB / 1.329 GB, free: 23.71 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003621/3.822, allocations: 0.6585 MB / 1.329 GB, free: 23.04 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04181/3.864, allocations: 18.27 MB / 1.347 GB, free: 7.371 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.387/4.251, allocations: 14.78 MB / 1.361 GB, free: 70.45 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.375e-05/4.251, allocations: 10.34 kB / 1.362 GB, free: 70.45 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001863/4.251, allocations: 41.25 kB / 1.362 GB, free: 70.45 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09009/4.341, allocations: 35.61 MB / 1.396 GB, free: 69.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001153/4.341, allocations: 3.719 kB / 1.396 GB, free: 69.18 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005682/4.347, allocations: 1.045 MB / 1.397 GB, free: 69.18 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01581/4.363, allocations: 5.999 MB / 1.403 GB, free: 69 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002881/4.366, allocations: 201.1 kB / 1.403 GB, free: 69 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03189/4.398, allocations: 24.3 MB / 1.427 GB, free: 59.05 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.666e-06/4.398, allocations: 7.062 kB / 1.427 GB, free: 59.05 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05948/4.457, allocations: 27 MB / 1.454 GB, free: 49.21 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008162/4.466, allocations: 2.11 MB / 1.456 GB, free: 48.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004381/4.47, allocations: 144.7 kB / 1.456 GB, free: 48.28 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007348/4.477, allocations: 373.6 kB / 1.456 GB, free: 48.17 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003706/4.481, allocations: 0.7123 MB / 1.457 GB, free: 48.03 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00241/4.484, allocations: 257.8 kB / 1.457 GB, free: 47.96 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.008605/4.492, allocations: 3.142 MB / 1.46 GB, free: 46.8 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.573e-06/4.492, allocations: 2.875 kB / 1.46 GB, free: 46.8 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01642/4.509, allocations: 2.506 MB / 1.463 GB, free: 46.54 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 10 (loadInertiaQS.w,quadraticLoadTorqueQS.phi,imcQS.rotorCage.port_p.reference.gamma,imc.inertiaRotor.w,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.stator.zeroInductor.i0,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque.phi) * Number of discrete variables: 6 (booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y,booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (554): * Single equations (assignments): 500 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 44 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 5,(1,100.0%) 8,(1,100.0%) 13,(2,100.0%) 12} * Non-linear torn systems: 4 {6 9,6 9,6 9,30 175} Notification: Performance of Backend phase and start with SimCode phase: time 0.003852/4.513, allocations: 0.6266 MB / 1.463 GB, free: 46.32 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.03233/4.545, allocations: 15.64 MB / 1.478 GB, free: 40 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.225e-05/4.545, allocations: 3.406 kB / 1.478 GB, free: 40 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.01907/4.564, allocations: 8.859 MB / 1.487 GB, free: 34.45 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01967/4.584, allocations: 1.59 MB / 1.489 GB, free: 33.24 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08148/4.665, allocations: 34.26 MB / 1.522 GB, free: 2.152 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0204/4.686, allocations: 8.974 MB / 1.531 GB, free: 11.79 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004456/4.69, allocations: 0.5063 MB / 1.531 GB, free: 11.32 MB / 0.5105 GB Notification: Performance of SimCode: time 2.495e-06/4.69, allocations: 0 / 1.531 GB, free: 11.32 MB / 0.5105 GB Notification: Performance of Templates: time 4.291/8.981, allocations: 1.175 GB / 2.706 GB, free: 101.7 MB / 0.5417 GB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_DOL/IMC_DOL.csv","../files/Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches