Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.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.IMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|Itr|Iqs|ims.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|ims.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|ims.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|ims.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imsQS.rotor.electroMagneticConverter.port_p.reference.gamma|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|Itr|Iqs|ims.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|ims.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|ims.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|ims.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imsQS.rotor.electroMagneticConverter.port_p.reference.gamma|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001041/0.001042, allocations: 172.9 kB / 14.1 MB, free: 1.223 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.619/1.619, allocations: 205.2 MB / 219.8 MB, free: 14.2 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.0008112/0.0008113, allocations: 78.72 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.982e-05/3.045e-05, allocations: 0 / 322.5 MB, free: 17.32 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1048, allocations: 47.58 MB / 370.1 MB, free: 1.672 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4184/0.5233, allocations: 162 MB / 0.5196 GB, free: 12.56 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002649/0.5236, allocations: 96.31 kB / 0.5197 GB, free: 12.51 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.169/2.693, allocations: 0.5707 GB / 1.09 GB, free: 40.88 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.355e-06/2.693, allocations: 0 / 1.09 GB, free: 40.88 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.001455/2.694, allocations: 424.5 kB / 1.091 GB, free: 40.81 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5087 * Number of variables: 5087 Notification: Performance of Generate backend data structure: time 0.06378/2.758, allocations: 17 MB / 1.107 GB, free: 35.72 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.889e-05/2.758, allocations: 10.06 kB / 1.107 GB, free: 35.72 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04722/2.805, allocations: 8.475 MB / 1.116 GB, free: 34.69 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0405/2.846, allocations: 14.54 MB / 1.13 GB, free: 32.95 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001786/2.848, allocations: 1.348 MB / 1.131 GB, free: 32.91 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009036/2.857, allocations: 1.743 MB / 1.133 GB, free: 32.89 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07131/2.928, allocations: 30.35 MB / 1.163 GB, free: 18.88 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000704/2.929, allocations: 24.83 kB / 1.163 GB, free: 18.86 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00616/2.935, allocations: 0.7477 MB / 1.163 GB, free: 18.13 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001129/2.936, allocations: 1.191 MB / 1.164 GB, free: 17.05 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07148/3.008, allocations: 28.21 MB / 1.192 GB, free: 11.19 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4933/3.501, allocations: 98 MB / 1.288 GB, free: 34.44 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03492/3.536, allocations: 35.33 MB / 1.322 GB, free: 10.46 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.02148/3.557, allocations: 12.78 MB / 1.335 GB, free: 5.008 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.083/3.64, allocations: 39.29 MB / 1.373 GB, free: 2.152 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001345/3.641, allocations: 144.1 kB / 1.373 GB, free: 2.039 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1269): time 1.737e-05/3.641, allocations: 0 / 1.373 GB, free: 2.039 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1277): time 0.4866/4.127, allocations: 47.48 MB / 1.42 GB, free: 81.25 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001937/4.127, allocations: 188.3 kB / 1.42 GB, free: 81.14 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01697/4.144, allocations: 4.978 MB / 1.425 GB, free: 80.7 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.004107/4.149, allocations: 204.2 kB / 1.425 GB, free: 80.67 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.007679/4.156, allocations: 6.647 MB / 1.431 GB, free: 77.39 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.00805/4.164, allocations: 4.185 MB / 1.435 GB, free: 74.67 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002749/4.167, allocations: 216.4 kB / 1.436 GB, free: 74.67 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.001468/4.169, allocations: 0.8053 MB / 1.436 GB, free: 74.34 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02313/4.192, allocations: 8.149 MB / 1.444 GB, free: 74.31 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02497/4.217, allocations: 10.3 MB / 1.454 GB, free: 72.21 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02847/4.245, allocations: 9.777 MB / 1.464 GB, free: 72.03 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003279/4.246, allocations: 18.73 kB / 1.464 GB, free: 72.03 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1564) (initialization): time 0.0707/4.317, allocations: 24.92 MB / 1.488 GB, free: 65.8 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.721e-05/4.317, allocations: 31.91 kB / 1.488 GB, free: 65.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001045/4.317, allocations: 59.69 kB / 1.488 GB, free: 65.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01626/4.333, allocations: 8.942 MB / 1.497 GB, free: 63.08 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008572/4.342, allocations: 1.865 MB / 1.499 GB, free: 63.03 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02742/4.369, allocations: 30.39 MB / 1.529 GB, free: 43.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009083/4.378, allocations: 0.5501 MB / 1.529 GB, free: 42.87 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002746/4.381, allocations: 468.3 kB / 1.53 GB, free: 42.77 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 248 * Number of states: 0 () * Number of discrete variables: 12 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y,rheostatQS.booleanStep[1].y,rheostatQS.booleanStep[2].y,rheostatQS.booleanStep[3].y,booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (982): * Single equations (assignments): 918 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 51 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 12 * 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: 7 {(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(1,100.0%) 1} * Non-linear torn systems: 5 {6 9,6 9,6 9,6 9,42 268} Notification: Performance of prepare postOptimizeDAE: time 0.004044/4.385, allocations: 0.6802 MB / 1.53 GB, free: 42.31 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002673/4.388, allocations: 0.8496 MB / 1.531 GB, free: 41.86 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04333/4.431, allocations: 25.32 MB / 1.556 GB, free: 24.91 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03219/4.463, allocations: 20.06 MB / 1.575 GB, free: 7.199 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.874e-05/4.464, allocations: 8 kB / 1.575 GB, free: 7.191 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002493/4.464, allocations: 56.25 kB / 1.575 GB, free: 7.191 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4199/4.884, allocations: 48.55 MB / 1.623 GB, free: 95.78 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001063/4.884, allocations: 7.562 kB / 1.623 GB, free: 95.78 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00691/4.891, allocations: 1.344 MB / 1.624 GB, free: 95.78 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01837/4.909, allocations: 9.056 MB / 1.633 GB, free: 95.55 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002592/4.912, allocations: 272.3 kB / 1.633 GB, free: 95.55 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03379/4.946, allocations: 36.51 MB / 1.669 GB, free: 80.02 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/4.946, allocations: 3.875 kB / 1.669 GB, free: 80.02 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05995/5.006, allocations: 37.71 MB / 1.706 GB, free: 64.23 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008436/5.014, allocations: 2.808 MB / 1.709 GB, free: 63.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003727/5.018, allocations: 186 kB / 1.709 GB, free: 63 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007553/5.025, allocations: 0.5097 MB / 1.709 GB, free: 62.86 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003354/5.029, allocations: 0.9708 MB / 1.71 GB, free: 62.67 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001785/5.031, allocations: 344.9 kB / 1.711 GB, free: 62.59 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.006574/5.037, allocations: 3.778 MB / 1.714 GB, free: 61.15 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.71e-07/5.037, allocations: 0 / 1.714 GB, free: 61.15 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01546/5.053, allocations: 3.247 MB / 1.717 GB, free: 59.11 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 11 (imsQS.rotor.resistor.plug_p.reference.gamma,loadInertiaQS.w,quadraticLoadTorqueQS.phi,ims.stator.core.Phi.re,ims.stator.core.Phi.im,ims.stator.zeroInductor.i0,ims.rotor.core.Phi.re,ims.rotor.core.Phi.im,ims.rotor.zeroInductor.i0,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 12 (rheostatQS.booleanStep[1].y,rheostatQS.booleanStep[2].y,rheostatQS.booleanStep[3].y,booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y,booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (716): * Single equations (assignments): 650 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 51 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 15 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 10 {(1,100.0%) 1,(1,100.0%) 5,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 5 {6 9,6 9,6 9,6 9,42 268} Notification: Performance of Backend phase and start with SimCode phase: time 0.003706/5.057, allocations: 0.868 MB / 1.718 GB, free: 58.48 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.03692/5.093, allocations: 21.09 MB / 1.739 GB, free: 39.6 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.344e-05/5.094, allocations: 0 / 1.739 GB, free: 39.6 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.02332/5.117, allocations: 12.17 MB / 1.751 GB, free: 28.71 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01281/5.13, allocations: 1.976 MB / 1.753 GB, free: 27.23 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3888/5.519, allocations: 34.13 MB / 1.786 GB, free: 84.69 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02648/5.545, allocations: 11.92 MB / 1.798 GB, free: 83.56 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.01043/5.556, allocations: 2.634 MB / 1.8 GB, free: 83.45 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002282/5.558, allocations: 0.5544 MB / 1.801 GB, free: 83.45 MB / 0.5261 GB Notification: Performance of SimCode: time 1.292e-06/5.558, allocations: 0 / 1.801 GB, free: 83.45 MB / 0.5261 GB Notification: Performance of Templates: time 0.6593/6.217, allocations: 210.1 MB / 2.006 GB, free: 100.6 MB / 0.5417 GB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMS_Start/IMS_Start.csv","../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches