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.001376/0.001376, allocations: 178.2 kB / 18.04 MB, free: 3.66 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.46/1.46, allocations: 205.4 MB / 224.2 MB, free: 9.008 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.0008478/0.0008478, allocations: 92.67 kB / 272.5 MB, free: 8.234 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000392/0.0003922, allocations: 12 kB / 329.5 MB, free: 15.22 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.235/0.2354, allocations: 47.57 MB / 377.1 MB, free: 45.65 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3108/0.5463, allocations: 162.8 MB / 0.5272 GB, free: 93.95 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002789/0.5466, allocations: 107.2 kB / 0.5273 GB, free: 93.88 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.649/2.195, allocations: 0.5674 GB / 1.095 GB, free: 30.63 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.364e-06/2.195, allocations: 0 / 1.095 GB, free: 30.63 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.001864/2.197, allocations: 430.9 kB / 1.095 GB, free: 30.55 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.05773/2.255, allocations: 17.85 MB / 1.113 GB, free: 24.91 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/2.255, allocations: 7.5 kB / 1.113 GB, free: 24.91 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04431/2.299, allocations: 8.51 MB / 1.121 GB, free: 23.88 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03217/2.332, allocations: 14.03 MB / 1.135 GB, free: 20.21 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00224/2.334, allocations: 1.343 MB / 1.136 GB, free: 19.36 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009503/2.343, allocations: 1.744 MB / 1.138 GB, free: 17.63 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3461/2.689, allocations: 31.36 MB / 1.168 GB, free: 25.88 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007111/2.69, allocations: 22.91 kB / 1.168 GB, free: 25.88 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005014/2.695, allocations: 0.7506 MB / 1.169 GB, free: 25.88 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001179/2.696, allocations: 1.193 MB / 1.17 GB, free: 25.84 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05345/2.75, allocations: 27.66 MB / 1.197 GB, free: 25.67 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1677/2.918, allocations: 98.68 MB / 1.293 GB, free: 7.844 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03781/2.956, allocations: 35.54 MB / 1.328 GB, free: 15.4 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02129/2.977, allocations: 12.96 MB / 1.341 GB, free: 7.762 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3087/3.286, allocations: 39.34 MB / 1.379 GB, free: 78.26 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.341e-05/3.286, allocations: 152.8 kB / 1.379 GB, free: 78.21 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1271): time 1.362e-05/3.286, allocations: 0 / 1.379 GB, free: 78.21 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1279): time 0.2607/3.546, allocations: 101.4 MB / 1.478 GB, free: 62.71 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.107e-05/3.547, allocations: 195.8 kB / 1.479 GB, free: 62.5 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007241/3.554, allocations: 5.694 MB / 1.484 GB, free: 57.75 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001863/3.556, allocations: 197.7 kB / 1.484 GB, free: 57.55 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002743/3.558, allocations: 6.645 MB / 1.491 GB, free: 51.67 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.003957/3.562, allocations: 4.187 MB / 1.495 GB, free: 47.89 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000824/3.563, allocations: 216 kB / 1.495 GB, free: 47.68 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005802/3.564, allocations: 0.8016 MB / 1.496 GB, free: 47.01 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01065/3.575, allocations: 8.307 MB / 1.504 GB, free: 39.89 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01398/3.589, allocations: 10.49 MB / 1.514 GB, free: 30.01 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02687/3.615, allocations: 19.79 MB / 1.534 GB, free: 11.61 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.609e-05/3.616, allocations: 20 kB / 1.534 GB, free: 11.59 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1566) (initialization): time 0.2816/3.897, allocations: 25.27 MB / 1.558 GB, free: 76.4 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 6.53e-05/3.897, allocations: 33.66 kB / 1.558 GB, free: 76.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001172/3.897, allocations: 55.38 kB / 1.558 GB, free: 76.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01747/3.915, allocations: 9.008 MB / 1.567 GB, free: 76.18 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007853/3.923, allocations: 1.876 MB / 1.569 GB, free: 76.18 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02843/3.951, allocations: 30.49 MB / 1.599 GB, free: 64.58 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007678/3.959, allocations: 0.5547 MB / 1.599 GB, free: 64.58 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001677/3.961, allocations: 468.9 kB / 1.6 GB, free: 64.58 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (984): * Single equations (assignments): 920 * 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.01303/3.974, allocations: 6.745 MB / 1.606 GB, free: 64.44 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002252/3.976, allocations: 0.8545 MB / 1.607 GB, free: 64.44 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04001/4.016, allocations: 25.62 MB / 1.632 GB, free: 56.55 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02882/4.045, allocations: 20.25 MB / 1.652 GB, free: 47.82 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.409e-05/4.045, allocations: 9.594 kB / 1.652 GB, free: 47.82 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001591/4.045, allocations: 54.33 kB / 1.652 GB, free: 47.82 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07606/4.121, allocations: 48.68 MB / 1.7 GB, free: 11.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.025e-05/4.121, allocations: 6.516 kB / 1.7 GB, free: 11.56 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006335/4.128, allocations: 1.35 MB / 1.701 GB, free: 10.53 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01606/4.144, allocations: 9.124 MB / 1.71 GB, free: 3.078 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002001/4.146, allocations: 273.4 kB / 1.71 GB, free: 2.844 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.276/4.422, allocations: 36.68 MB / 1.746 GB, free: 84.57 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/4.422, allocations: 4.062 kB / 1.746 GB, free: 84.57 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0567/4.479, allocations: 37.69 MB / 1.783 GB, free: 83.14 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006807/4.485, allocations: 2.823 MB / 1.785 GB, free: 83.05 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00226/4.488, allocations: 184.9 kB / 1.786 GB, free: 83.05 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00529/4.493, allocations: 0.5143 MB / 1.786 GB, free: 83.05 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002033/4.495, allocations: 0.9723 MB / 1.787 GB, free: 83.04 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008777/4.496, allocations: 340.3 kB / 1.787 GB, free: 83.04 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.005458/4.501, allocations: 3.84 MB / 1.791 GB, free: 82.83 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.8e-07/4.501, allocations: 2.531 kB / 1.791 GB, free: 82.83 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01194/4.513, allocations: 3.248 MB / 1.794 GB, free: 82.83 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (718): * Single equations (assignments): 652 * 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%) 1,(1,100.0%) 8,(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.003687/4.517, allocations: 0.7568 MB / 1.795 GB, free: 82.72 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.03313/4.55, allocations: 21.41 MB / 1.816 GB, free: 75.67 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.686e-06/4.55, allocations: 2.312 kB / 1.816 GB, free: 75.67 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.01935/4.57, allocations: 12.35 MB / 1.828 GB, free: 70.26 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01596/4.586, allocations: 2.101 MB / 1.83 GB, free: 69.68 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06203/4.648, allocations: 45.37 MB / 1.874 GB, free: 35.58 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01361/4.661, allocations: 11.63 MB / 1.886 GB, free: 26.65 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.008886/4.67, allocations: 2.642 MB / 1.888 GB, free: 24.83 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001815/4.672, allocations: 0.5535 MB / 1.889 GB, free: 24.3 MB / 0.5261 GB Notification: Performance of SimCode: time 5.72e-07/4.672, allocations: 0 / 1.889 GB, free: 24.3 MB / 0.5261 GB Notification: Performance of Templates: time 0.5498/5.222, allocations: 223.6 MB / 2.107 GB, free: 11.88 MB / 0.5573 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/jenkins1/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