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_Initialize.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_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=300000,variableFilter="time|imc.airGap.V_mrr.im|imc.airGap.V_mrr.re|imc.airGap.V_msr.im|imc.airGap.V_msr.re|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.strayReluctance.port_p.Phi.im|imc.stator.strayReluctance.port_p.Phi.re|// imc.stator.zeroInductor.i0|imcQS.rotorCage.port_p.reference.gamma|loadInertia.phi|loadInertia.w|loadInertiaQS.phi|loadInertiaQS.w",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=300000,variableFilter="time|imc.airGap.V_mrr.im|imc.airGap.V_mrr.re|imc.airGap.V_msr.im|imc.airGap.V_msr.re|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.strayReluctance.port_p.Phi.im|imc.stator.strayReluctance.port_p.Phi.re|// imc.stator.zeroInductor.i0|imcQS.rotorCage.port_p.reference.gamma|loadInertia.phi|loadInertia.w|loadInertiaQS.phi|loadInertiaQS.w",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001125/0.001124, allocations: 181.1 kB / 17.41 MB, free: 4.262 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.485/1.485, allocations: 205.4 MB / 223.6 MB, free: 8.93 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.0008239/0.0008237, allocations: 97.42 kB / 271.9 MB, free: 8.223 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003393/0.0003393, allocations: 8 kB / 328.2 MB, free: 15.89 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2838/0.2842, allocations: 47.57 MB / 375.7 MB, free: 45.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3975/0.6817, allocations: 147.2 MB / 0.5107 GB, free: 108.9 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002495/0.682, allocations: 103.8 kB / 0.5108 GB, free: 108.9 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.175/1.857, allocations: 347.6 MB / 0.8502 GB, free: 36.1 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.176e-06/1.857, allocations: 0 / 0.8502 GB, free: 36.1 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.001145/1.858, allocations: 257.1 kB / 0.8505 GB, free: 36.07 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: 3009 * Number of variables: 3009 Notification: Performance of Generate backend data structure: time 0.04044/1.899, allocations: 10.83 MB / 0.8611 GB, free: 32.52 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/1.899, allocations: 7.812 kB / 0.8611 GB, free: 32.52 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02963/1.928, allocations: 5.404 MB / 0.8663 GB, free: 31.9 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02355/1.952, allocations: 8.712 MB / 0.8748 GB, free: 30.7 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001387/1.953, allocations: 0.7925 MB / 0.8756 GB, free: 30.67 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005932/1.959, allocations: 1.038 MB / 0.8766 GB, free: 30.66 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04935/2.009, allocations: 18.03 MB / 0.8942 GB, free: 29.44 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005776/2.009, allocations: 15.34 kB / 0.8943 GB, free: 29.43 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004231/2.014, allocations: 465.6 kB / 0.8947 GB, free: 29.43 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008247/2.015, allocations: 0.7296 MB / 0.8954 GB, free: 29.4 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03302/2.048, allocations: 16.73 MB / 0.9118 GB, free: 25.75 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1085/2.156, allocations: 58.37 MB / 0.9688 GB, free: 1.754 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.392/2.548, allocations: 24.23 MB / 0.9924 GB, free: 35.78 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01358/2.562, allocations: 7.047 MB / 0.9993 GB, free: 35.7 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04776/2.61, allocations: 21.91 MB / 1.021 GB, free: 34.62 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001154/2.61, allocations: 99.28 kB / 1.021 GB, free: 34.57 MB / 458.7 MB Notification: Performance of pre-optimization done (n=664): time 1.066e-05/2.61, allocations: 3.906 kB / 1.021 GB, free: 34.57 MB / 458.7 MB Notification: Performance of matching and sorting (n=689): time 0.08854/2.698, allocations: 36.7 MB / 1.057 GB, free: 27.74 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001301/2.699, allocations: 139.8 kB / 1.057 GB, free: 27.64 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007241/2.706, allocations: 4.054 MB / 1.061 GB, free: 26.14 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00185/2.708, allocations: 127.4 kB / 1.061 GB, free: 26.03 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002546/2.71, allocations: 4.225 MB / 1.065 GB, free: 22.86 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003583/2.714, allocations: 2.287 MB / 1.067 GB, free: 21.08 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007932/2.715, allocations: 135.3 kB / 1.067 GB, free: 20.97 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0005928/2.715, allocations: 0.5928 MB / 1.068 GB, free: 20.54 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007403/2.723, allocations: 4.539 MB / 1.072 GB, free: 18.64 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009443/2.732, allocations: 6.127 MB / 1.078 GB, free: 14.9 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01808/2.75, allocations: 11.24 MB / 1.089 GB, free: 8.609 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.635e-05/2.75, allocations: 14.28 kB / 1.089 GB, free: 8.605 MB / 458.7 MB Notification: Performance of matching and sorting (n=933) (initialization): time 0.02846/2.779, allocations: 13.81 MB / 1.103 GB, free: 2.828 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.497e-05/2.779, allocations: 21.84 kB / 1.103 GB, free: 2.828 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001376/2.779, allocations: 43.72 kB / 1.103 GB, free: 2.828 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009019/2.788, allocations: 3.999 MB / 1.107 GB, free: 1.617 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006423/2.795, allocations: 1.301 MB / 1.108 GB, free: 1.574 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02594/2.821, allocations: 17.13 MB / 1.125 GB, free: 3.691 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007049/2.828, allocations: 354.7 kB / 1.125 GB, free: 3.422 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002294/2.83, allocations: 296 kB / 1.125 GB, free: 3.152 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 199 * 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 (669): * Single equations (assignments): 630 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 31 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(7,61.2%) 28,(1,100.0%) 1} * Non-linear torn systems: 5 {6 9,6 9,6 9,6 9,12 76} Notification: Performance of prepare postOptimizeDAE: time 0.01275/2.843, allocations: 3.927 MB / 1.129 GB, free: 15.86 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001966/2.845, allocations: 0.5318 MB / 1.13 GB, free: 15.32 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02765/2.872, allocations: 13.32 MB / 1.143 GB, free: 3.836 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002223/2.873, allocations: 152.5 kB / 1.143 GB, free: 3.703 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.913e-05/2.873, allocations: 8 kB / 1.143 GB, free: 3.695 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001297/2.873, allocations: 31.31 kB / 1.143 GB, free: 3.695 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4331/3.306, allocations: 27.04 MB / 1.169 GB, free: 75.21 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.774e-05/3.306, allocations: 7.469 kB / 1.169 GB, free: 75.21 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004486/3.311, allocations: 0.8568 MB / 1.17 GB, free: 75.21 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008673/3.319, allocations: 3.956 MB / 1.174 GB, free: 75.1 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001653/3.321, allocations: 152.4 kB / 1.174 GB, free: 75.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02133/3.342, allocations: 20.74 MB / 1.194 GB, free: 64.7 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.665e-06/3.342, allocations: 9 kB / 1.194 GB, free: 64.7 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03272/3.375, allocations: 19.64 MB / 1.214 GB, free: 63.7 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005568/3.381, allocations: 1.651 MB / 1.215 GB, free: 63.61 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00243/3.383, allocations: 108.2 kB / 1.215 GB, free: 63.61 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00476/3.388, allocations: 311.4 kB / 1.216 GB, free: 63.6 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001579/3.39, allocations: 0.5025 MB / 1.216 GB, free: 63.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00051/3.39, allocations: 188.5 kB / 1.216 GB, free: 63.6 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.005191/3.395, allocations: 2.733 MB / 1.219 GB, free: 63.42 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.31e-07/3.395, allocations: 0 / 1.219 GB, free: 63.42 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01124/3.407, allocations: 1.981 MB / 1.221 GB, free: 63.42 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 10 (imcQS.inertiaRotor.phi,imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.w,imc.inertiaRotor.phi,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.stator.strayReluctance.Phi.re,imc.stator.strayReluctance.Phi.im,imc.stator.zeroInductor.i0,loadInertia.w) * 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 (447): * Single equations (assignments): 405 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 31 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 1,(2,100.0%) 12,(1,100.0%) 5,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 12} * Non-linear torn systems: 5 {6 9,6 9,6 9,6 9,12 76} Notification: Performance of Backend phase and start with SimCode phase: time 0.002506/3.409, allocations: 0.5761 MB / 1.222 GB, free: 63.29 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0238/3.433, allocations: 11.75 MB / 1.233 GB, free: 58.59 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.316e-05/3.433, allocations: 7.875 kB / 1.233 GB, free: 58.58 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01381/3.447, allocations: 6.659 MB / 1.239 GB, free: 55.5 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01286/3.46, allocations: 1.248 MB / 1.241 GB, free: 55.14 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0521/3.512, allocations: 25.98 MB / 1.266 GB, free: 41.48 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01114/3.523, allocations: 6.729 MB / 1.273 GB, free: 39.04 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002642/3.526, allocations: 438.4 kB / 1.273 GB, free: 39.01 MB / 490.7 MB Notification: Performance of SimCode: time 1.172e-06/3.526, allocations: 0 / 1.273 GB, free: 39.01 MB / 490.7 MB Notification: Performance of Templates: time 3.45/6.976, allocations: 0.958 GB / 2.231 GB, free: 101.9 MB / 0.5105 GB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize_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_Initialize/IMC_Initialize.csv","../files/Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches