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_YD.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_YD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|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.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_YD") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|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.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_YD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009142/0.0009143, allocations: 181.7 kB / 17.41 MB, free: 4.285 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.409/1.409, 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.0008009/0.0008009, allocations: 97.42 kB / 271.9 MB, free: 8.215 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002985/0.0002986, allocations: 12 kB / 328.2 MB, free: 15.87 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2769/0.2772, allocations: 47.56 MB / 375.8 MB, free: 45.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3732/0.6505, allocations: 153.8 MB / 0.5171 GB, free: 102.6 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003197/0.6509, allocations: 103.2 kB / 0.5172 GB, free: 102.5 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.369/2.02, allocations: 462.9 MB / 0.9693 GB, free: 2.289 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.946e-06/2.02, allocations: 0 / 0.9693 GB, free: 2.289 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.002484/2.022, allocations: 335.6 kB / 0.9696 GB, free: 1.961 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: 3951 * Number of variables: 3951 Notification: Performance of Generate backend data structure: time 0.6814/2.704, allocations: 14.25 MB / 0.9836 GB, free: 18.34 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/2.704, allocations: 6.875 kB / 0.9836 GB, free: 18.34 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03966/2.744, allocations: 6.746 MB / 0.9901 GB, free: 17.56 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02977/2.773, allocations: 10.92 MB / 1.001 GB, free: 16.19 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001664/2.775, allocations: 1.048 MB / 1.002 GB, free: 16.16 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00871/2.784, allocations: 1.355 MB / 1.003 GB, free: 16.15 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07609/2.86, allocations: 24.23 MB / 1.027 GB, free: 14.51 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007838/2.861, allocations: 28.39 kB / 1.027 GB, free: 14.5 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006522/2.867, allocations: 0.581 MB / 1.027 GB, free: 14.5 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001392/2.869, allocations: 0.9315 MB / 1.028 GB, free: 14.46 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05491/2.924, allocations: 22.06 MB / 1.05 GB, free: 14.34 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.177/3.101, allocations: 78.55 MB / 1.127 GB, free: 5.547 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3932/3.494, allocations: 30.75 MB / 1.157 GB, free: 59 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01832/3.512, allocations: 10.82 MB / 1.167 GB, free: 58.88 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07024/3.583, allocations: 33.31 MB / 1.2 GB, free: 57.77 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001118/3.583, allocations: 130.5 kB / 1.2 GB, free: 57.72 MB / 490.8 MB Notification: Performance of pre-optimization done (n=1013): time 1.363e-05/3.583, allocations: 2.297 kB / 1.2 GB, free: 57.72 MB / 490.8 MB Notification: Performance of matching and sorting (n=1021): time 0.2868/3.87, allocations: 92.04 MB / 1.29 GB, free: 33.66 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000147/3.87, allocations: 172 kB / 1.29 GB, free: 33.47 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01326/3.883, allocations: 4.867 MB / 1.295 GB, free: 29.4 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.003007/3.886, allocations: 178 kB / 1.295 GB, free: 29.23 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004574/3.891, allocations: 5.189 MB / 1.3 GB, free: 24.63 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.006549/3.897, allocations: 3.349 MB / 1.303 GB, free: 21.61 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003165/3.9, allocations: 172 kB / 1.303 GB, free: 21.44 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.001591/3.902, allocations: 0.7 MB / 1.304 GB, free: 20.85 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01462/3.917, allocations: 6.797 MB / 1.311 GB, free: 15.02 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01691/3.934, allocations: 8.557 MB / 1.319 GB, free: 6.969 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.4224/4.356, allocations: 16.63 MB / 1.335 GB, free: 61.18 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.463e-05/4.356, allocations: 12.06 kB / 1.335 GB, free: 61.18 MB / 490.8 MB Notification: Performance of matching and sorting (n=1253) (initialization): time 0.04497/4.401, allocations: 21.24 MB / 1.356 GB, free: 60.71 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001017/4.401, allocations: 24.62 kB / 1.356 GB, free: 60.71 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001704/4.402, allocations: 47.56 kB / 1.356 GB, free: 60.71 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0198/4.421, allocations: 8.503 MB / 1.364 GB, free: 60.52 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006909/4.428, allocations: 1.398 MB / 1.366 GB, free: 60.52 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03508/4.463, allocations: 27.89 MB / 1.393 GB, free: 52.33 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00918/4.473, allocations: 427.8 kB / 1.393 GB, free: 52.33 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003248/4.476, allocations: 374.9 kB / 1.394 GB, free: 52.33 MB / 490.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 199 * Number of states: 0 () * Number of discrete variables: 12 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y,booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y,booleanStepYDQS[1].y,booleanStepYDQS[2].y,booleanStepYDQS[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (729): * Single equations (assignments): 700 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 20 * 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: 5 {(1,100.0%) 1,(1,100.0%) 8,(9,33.3%) 19,(1,100.0%) 13,(1,100.0%) 1} * Non-linear torn systems: 3 {6 9,6 9,46 263} Notification: Performance of prepare postOptimizeDAE: time 0.01614/4.492, allocations: 5.362 MB / 1.399 GB, free: 52.22 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002537/4.495, allocations: 0.6961 MB / 1.4 GB, free: 52.21 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.046/4.541, allocations: 21.28 MB / 1.42 GB, free: 44.49 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005901/4.541, allocations: 248.2 kB / 1.421 GB, free: 44.37 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001409/4.541, allocations: 12.25 kB / 1.421 GB, free: 44.37 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003555/4.542, allocations: 47.89 kB / 1.421 GB, free: 44.37 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1072/4.649, allocations: 40.26 MB / 1.46 GB, free: 23.91 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001552/4.649, allocations: 10.66 kB / 1.46 GB, free: 23.91 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00538/4.655, allocations: 0.9731 MB / 1.461 GB, free: 23.16 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02077/4.675, allocations: 8.601 MB / 1.469 GB, free: 16.21 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003111/4.679, allocations: 218.9 kB / 1.47 GB, free: 16.02 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04982/4.728, allocations: 32.27 MB / 1.501 GB, free: 2.621 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.836e-05/4.729, allocations: 4 kB / 1.501 GB, free: 2.617 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4907/5.219, allocations: 32.67 MB / 1.533 GB, free: 73.15 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007766/5.227, allocations: 2.356 MB / 1.535 GB, free: 73.06 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00353/5.231, allocations: 162.1 kB / 1.535 GB, free: 73.06 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00676/5.237, allocations: 392.4 kB / 1.536 GB, free: 73.06 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003483/5.241, allocations: 0.7936 MB / 1.537 GB, free: 73.05 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002188/5.243, allocations: 270.6 kB / 1.537 GB, free: 73.05 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.01133/5.255, allocations: 3.311 MB / 1.54 GB, free: 72.87 MB / 0.4949 GB Notification: Performance of sort global known variables: time 4.71e-07/5.255, allocations: 0 / 1.54 GB, free: 72.87 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.02026/5.275, allocations: 2.644 MB / 1.543 GB, free: 72.87 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 10 (imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.w,quadraticLoadTorqueQS.phi,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,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 12 (booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y,booleanStepYDQS[1].y,booleanStepYDQS[2].y,booleanStepYDQS[3].y,booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (512): * Single equations (assignments): 482 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 20 * 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: 7 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 8,(9,33.3%) 19,(1,100.0%) 8,(1,100.0%) 13,(2,100.0%) 12} * Non-linear torn systems: 3 {6 9,6 9,46 263} Notification: Performance of Backend phase and start with SimCode phase: time 0.004535/5.279, allocations: 0.6131 MB / 1.543 GB, free: 72.78 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.03974/5.319, allocations: 17.72 MB / 1.561 GB, free: 71.74 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 1.451e-05/5.319, allocations: 6.203 kB / 1.561 GB, free: 71.74 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.02399/5.343, allocations: 10.29 MB / 1.571 GB, free: 70.68 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01989/5.363, allocations: 1.691 MB / 1.572 GB, free: 70.66 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1144/5.478, allocations: 35.59 MB / 1.607 GB, free: 57 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03067/5.508, allocations: 8.992 MB / 1.616 GB, free: 53.84 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005221/5.514, allocations: 0.4913 MB / 1.616 GB, free: 53.8 MB / 0.4949 GB Notification: Performance of SimCode: time 1.983e-06/5.514, allocations: 2.719 kB / 1.616 GB, free: 53.8 MB / 0.4949 GB Notification: Performance of Templates: time 3.735/9.249, allocations: 1.116 GB / 2.733 GB, free: 99.3 MB / 0.5418 GB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD_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_YD/IMC_YD.csv","../files/Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches