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.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_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_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.001457/0.001457, allocations: 180.7 kB / 17.01 MB, free: 5.125 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.376/1.376, allocations: 205.4 MB / 223.1 MB, free: 9.133 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.0009856/0.0009854, allocations: 92.05 kB / 271.5 MB, free: 8.375 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002975/0.0002975, allocations: 4 kB / 328.3 MB, free: 15.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2519/0.2522, allocations: 47.57 MB / 375.8 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4204/0.6727, allocations: 152.9 MB / 0.5164 GB, free: 65.68 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003246/0.6731, allocations: 107 kB / 0.5165 GB, free: 65.68 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.416/2.089, allocations: 457 MB / 0.9627 GB, free: 11.33 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.314e-06/2.089, allocations: 3.938 kB / 0.9627 GB, free: 11.32 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.001647/2.091, allocations: 335.6 kB / 0.9631 GB, free: 11 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.05735/2.148, allocations: 14.07 MB / 0.9768 GB, free: 12.8 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/2.148, allocations: 8.031 kB / 0.9768 GB, free: 12.8 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03817/2.186, allocations: 6.514 MB / 0.9832 GB, free: 6.258 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.7089/2.895, allocations: 11.54 MB / 0.9944 GB, free: 30.31 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001586/2.897, allocations: 1.047 MB / 0.9955 GB, free: 30.28 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007226/2.904, allocations: 1.366 MB / 0.9968 GB, free: 30.28 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07051/2.975, allocations: 23.67 MB / 1.02 GB, free: 28.62 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0011/2.976, allocations: 22.84 kB / 1.02 GB, free: 28.62 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006143/2.982, allocations: 0.5937 MB / 1.021 GB, free: 28.62 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00152/2.983, allocations: 0.9281 MB / 1.021 GB, free: 28.59 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05221/3.036, allocations: 21.39 MB / 1.042 GB, free: 28.47 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1621/3.198, allocations: 75.13 MB / 1.116 GB, free: 12.46 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03345/3.231, allocations: 28.43 MB / 1.143 GB, free: 7.059 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07188/3.303, allocations: 29.65 MB / 1.172 GB, free: 0 / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.5449/3.848, allocations: 118.8 kB / 1.172 GB, free: 78.32 MB / 0.495 GB Notification: Performance of pre-optimization done (n=944): time 1.656e-05/3.848, allocations: 0 / 1.172 GB, free: 78.32 MB / 0.495 GB Notification: Performance of matching and sorting (n=952): time 0.177/4.025, allocations: 67.58 MB / 1.238 GB, free: 68.92 MB / 0.495 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.219e-05/4.025, allocations: 163 kB / 1.239 GB, free: 68.82 MB / 0.495 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007305/4.033, allocations: 4.135 MB / 1.243 GB, free: 68.5 MB / 0.495 GB Notification: Performance of collectPreVariables (initialization): time 0.002166/4.035, allocations: 159.2 kB / 1.243 GB, free: 68.47 MB / 0.495 GB Notification: Performance of collectInitialEqns (initialization): time 0.002927/4.038, allocations: 5.322 MB / 1.248 GB, free: 65.82 MB / 0.495 GB Notification: Performance of collectInitialBindings (initialization): time 0.004168/4.042, allocations: 3.144 MB / 1.251 GB, free: 63.78 MB / 0.495 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009626/4.043, allocations: 164.8 kB / 1.251 GB, free: 63.78 MB / 0.495 GB Notification: Performance of setup shared object (initialization): time 0.000713/4.044, allocations: 0.693 MB / 1.252 GB, free: 63.45 MB / 0.495 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009095/4.053, allocations: 6.106 MB / 1.258 GB, free: 63.43 MB / 0.495 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0115/4.064, allocations: 7.983 MB / 1.266 GB, free: 61.45 MB / 0.495 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01347/4.078, allocations: 7.394 MB / 1.273 GB, free: 61.28 MB / 0.495 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.657e-05/4.078, allocations: 14.69 kB / 1.273 GB, free: 61.28 MB / 0.495 GB Notification: Performance of matching and sorting (n=1215) (initialization): time 0.03566/4.114, allocations: 18.68 MB / 1.291 GB, free: 53.63 MB / 0.495 GB Notification: Performance of prepare postOptimizeDAE: time 9.269e-05/4.114, allocations: 25.09 kB / 1.291 GB, free: 53.63 MB / 0.495 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001274/4.114, allocations: 56.61 kB / 1.291 GB, free: 53.63 MB / 0.495 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0113/4.125, allocations: 5.914 MB / 1.297 GB, free: 51.77 MB / 0.495 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007215/4.133, allocations: 1.53 MB / 1.299 GB, free: 51.71 MB / 0.495 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02202/4.155, allocations: 20.11 MB / 1.318 GB, free: 33.14 MB / 0.495 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00759/4.162, allocations: 428 kB / 1.319 GB, free: 32.81 MB / 0.495 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002411/4.165, allocations: 382.4 kB / 1.319 GB, free: 32.46 MB / 0.495 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 230 * 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 (808): * Single equations (assignments): 755 * 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.01277/4.177, allocations: 5.199 MB / 1.324 GB, free: 28.11 MB / 0.495 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002926/4.18, allocations: 0.6627 MB / 1.325 GB, free: 27.45 MB / 0.495 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04016/4.221, allocations: 18.3 MB / 1.343 GB, free: 11.72 MB / 0.495 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.3698/4.59, allocations: 15.48 MB / 1.358 GB, free: 68.75 MB / 0.495 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.808e-05/4.59, allocations: 7.875 kB / 1.358 GB, free: 68.75 MB / 0.495 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001913/4.591, allocations: 38.62 kB / 1.358 GB, free: 68.75 MB / 0.495 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06357/4.654, allocations: 35.82 MB / 1.393 GB, free: 67.51 MB / 0.495 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.089e-05/4.654, allocations: 6 kB / 1.393 GB, free: 67.51 MB / 0.495 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00566/4.66, allocations: 1.055 MB / 1.394 GB, free: 67.51 MB / 0.495 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01255/4.673, allocations: 5.996 MB / 1.4 GB, free: 67.34 MB / 0.495 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001998/4.675, allocations: 211.2 kB / 1.4 GB, free: 67.34 MB / 0.495 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02656/4.701, allocations: 24.46 MB / 1.424 GB, free: 57.39 MB / 0.495 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.192e-06/4.701, allocations: 9.625 kB / 1.424 GB, free: 57.39 MB / 0.495 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05172/4.753, allocations: 27.58 MB / 1.451 GB, free: 48.6 MB / 0.495 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007717/4.761, allocations: 2.114 MB / 1.453 GB, free: 47.77 MB / 0.495 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003586/4.764, allocations: 146.6 kB / 1.453 GB, free: 47.66 MB / 0.495 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006349/4.771, allocations: 377.5 kB / 1.453 GB, free: 47.55 MB / 0.495 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002882/4.774, allocations: 0.7119 MB / 1.454 GB, free: 47.41 MB / 0.495 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001853/4.775, allocations: 262.2 kB / 1.454 GB, free: 47.35 MB / 0.495 GB Notification: Performance of sorting global known variables: time 0.00689/4.782, allocations: 3.143 MB / 1.457 GB, free: 46.19 MB / 0.495 GB Notification: Performance of sort global known variables: time 1.81e-07/4.782, allocations: 2.719 kB / 1.457 GB, free: 46.19 MB / 0.495 GB Notification: Performance of remove unused functions: time 0.01497/4.797, allocations: 2.51 MB / 1.46 GB, free: 45.93 MB / 0.495 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 (562): * Single equations (assignments): 508 * 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%) 5,(1,100.0%) 13,(1,100.0%) 1,(1,100.0%) 8,(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.003207/4.801, allocations: 0.6154 MB / 1.46 GB, free: 45.7 MB / 0.495 GB Notification: Performance of simCode: created initialization part: time 0.03034/4.831, allocations: 15.73 MB / 1.476 GB, free: 39.36 MB / 0.495 GB Notification: Performance of simCode: created event and clocks part: time 1.311e-05/4.831, allocations: 0 / 1.476 GB, free: 39.36 MB / 0.495 GB Notification: Performance of simCode: created simulation system equations: time 0.01735/4.848, allocations: 8.889 MB / 1.484 GB, free: 35.49 MB / 0.495 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009812/4.858, allocations: 1.484 MB / 1.486 GB, free: 35.11 MB / 0.495 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06649/4.925, allocations: 35.33 MB / 1.52 GB, free: 3.641 MB / 0.495 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01911/4.944, allocations: 9.326 MB / 1.529 GB, free: 12.64 MB / 0.5106 GB Notification: Performance of simCode: alias equations: time 0.01/4.954, allocations: 2.083 MB / 1.531 GB, free: 11.21 MB / 0.5106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002784/4.957, allocations: 457.8 kB / 1.532 GB, free: 10.79 MB / 0.5106 GB Notification: Performance of SimCode: time 1.022e-06/4.957, allocations: 0 / 1.532 GB, free: 10.79 MB / 0.5106 GB Notification: Performance of Templates: time 0.6029/5.56, allocations: 163.5 MB / 1.691 GB, free: 17.79 MB / 0.5106 GB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL_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/IMC_DOL/IMC_DOL.csv","../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches