Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|// aimcE.i_0_s|aimcE.idq_rr.1.|aimcE.idq_rr.2.|aimcE.idq_sr.1.|aimcE.idq_sr.2.|aimcE.is.1.|aimcE.is.2.|aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimcM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimcM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimcM.stator.zeroInductor.i0|aimcM.is.1.|aimcM.is.2.|loadInertiaE.phi|loadInertiaE.w|loadInertiaM.phi|loadInertiaM.w",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|// aimcE.i_0_s|aimcE.idq_rr.1.|aimcE.idq_rr.2.|aimcE.idq_sr.1.|aimcE.idq_sr.2.|aimcE.is.1.|aimcE.is.2.|aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimcM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimcM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimcM.stator.zeroInductor.i0|aimcM.is.1.|aimcM.is.2.|loadInertiaE.phi|loadInertiaE.w|loadInertiaM.phi|loadInertiaM.w",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001359/0.001359, allocations: 202.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.459/1.459, allocations: 225.6 MB / 234.8 MB, free: 3.219 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00096/0.0009598, allocations: 93.58 kB / 286.7 MB, free: 5.285 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.431e-05/1.427e-05, allocations: 4 kB / 343.7 MB, free: 8.203 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09637/0.0964, allocations: 51.47 MB / 395.2 MB, free: 4.688 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3738/0.4703, allocations: 123.8 MB / 0.5068 GB, free: 2.031 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000354/0.4707, allocations: 97.52 kB / 0.5069 GB, free: 1.98 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5217/0.9924, allocations: 119.6 MB / 0.6237 GB, free: 74.37 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.276e-06/0.9924, allocations: 0 / 0.6237 GB, free: 74.37 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0005525/0.993, allocations: 131.1 kB / 0.6238 GB, free: 74.34 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: 1348 * Number of variables: 1348 Notification: Performance of Generate backend data structure: time 0.01634/1.009, allocations: 4.963 MB / 0.6287 GB, free: 72.45 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/1.009, allocations: 8.719 kB / 0.6287 GB, free: 72.45 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00601/1.015, allocations: 1.038 MB / 0.6297 GB, free: 72.13 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01139/1.027, allocations: 4.621 MB / 0.6342 GB, free: 71.25 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002046/1.027, allocations: 166.6 kB / 0.6343 GB, free: 71.25 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001296/1.028, allocations: 311.8 kB / 0.6346 GB, free: 71.24 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009779/1.038, allocations: 5.135 MB / 0.6397 GB, free: 69.44 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01422/1.052, allocations: 5.964 MB / 0.6455 GB, free: 66.76 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001743/1.053, allocations: 11.31 kB / 0.6455 GB, free: 66.75 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007566/1.053, allocations: 10.8 kB / 0.6455 GB, free: 66.75 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001854/1.054, allocations: 227.3 kB / 0.6457 GB, free: 66.73 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03283/1.086, allocations: 20.53 MB / 0.6658 GB, free: 55.74 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006394/1.093, allocations: 8.534 MB / 0.6741 GB, free: 48.45 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00281/1.096, allocations: 2.117 MB / 0.6762 GB, free: 47.66 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01024/1.106, allocations: 6.234 MB / 0.6823 GB, free: 44.43 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.154e-05/1.106, allocations: 62.16 kB / 0.6823 GB, free: 44.37 MB / 442.7 MB Notification: Performance of pre-optimization done (n=220): time 4.969e-06/1.106, allocations: 0 / 0.6823 GB, free: 44.37 MB / 442.7 MB Notification: Performance of matching and sorting (n=239): time 0.0159/1.122, allocations: 8.439 MB / 0.6906 GB, free: 40.69 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.936e-05/1.122, allocations: 80.19 kB / 0.6906 GB, free: 40.62 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003213/1.125, allocations: 2.124 MB / 0.6927 GB, free: 39.77 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002435/1.126, allocations: 33.64 kB / 0.6927 GB, free: 39.73 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009995/1.127, allocations: 2.328 MB / 0.695 GB, free: 37.96 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005043/1.127, allocations: 0.7824 MB / 0.6958 GB, free: 37.34 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001378/1.127, allocations: 0 / 0.6958 GB, free: 37.34 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000123/1.127, allocations: 419.5 kB / 0.6962 GB, free: 36.99 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001438/1.129, allocations: 1.237 MB / 0.6974 GB, free: 36.49 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001702/1.131, allocations: 1.974 MB / 0.6993 GB, free: 35.06 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002857/1.133, allocations: 1.79 MB / 0.7011 GB, free: 33.6 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.408e-05/1.133, allocations: 12 kB / 0.7011 GB, free: 33.59 MB / 442.7 MB Notification: Performance of matching and sorting (n=365) (initialization): time 0.006745/1.14, allocations: 4.417 MB / 0.7054 GB, free: 29.64 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.426e-05/1.14, allocations: 16 kB / 0.7054 GB, free: 29.63 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.12e-05/1.14, allocations: 24 kB / 0.7054 GB, free: 29.61 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001655/1.142, allocations: 0.7422 MB / 0.7062 GB, free: 28.96 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002309/1.144, allocations: 0.6313 MB / 0.7068 GB, free: 28.43 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00827/1.153, allocations: 12.8 MB / 0.7193 GB, free: 15.59 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002654/1.155, allocations: 97.09 kB / 0.7194 GB, free: 15.53 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002806/1.156, allocations: 124 kB / 0.7195 GB, free: 15.41 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 103 * Number of states: 0 () * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (322): * Single equations (assignments): 312 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(2,100.0%) 12,(1,100.0%) 1,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 13,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004571/1.156, allocations: 180.1 kB / 0.7197 GB, free: 15.23 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004027/1.156, allocations: 296.3 kB / 0.7199 GB, free: 14.93 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006488/1.163, allocations: 4.096 MB / 0.7239 GB, free: 11.45 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.325e-05/1.163, allocations: 20 kB / 0.724 GB, free: 11.43 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.187e-05/1.163, allocations: 12 kB / 0.724 GB, free: 11.41 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.934e-05/1.163, allocations: 11.62 kB / 0.724 GB, free: 11.41 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01228/1.175, allocations: 8.357 MB / 0.7321 GB, free: 4.105 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.917e-06/1.175, allocations: 4.5 kB / 0.7321 GB, free: 4.102 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001583/1.177, allocations: 391.4 kB / 0.7325 GB, free: 3.719 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002044/1.179, allocations: 0.9068 MB / 0.7334 GB, free: 2.785 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001488/1.179, allocations: 31.91 kB / 0.7334 GB, free: 2.754 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2469/1.426, allocations: 15.84 MB / 0.7489 GB, free: 59.55 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.682e-06/1.426, allocations: 11.59 kB / 0.7489 GB, free: 59.55 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008727/1.435, allocations: 6.238 MB / 0.755 GB, free: 58.52 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001604/1.436, allocations: 0.6617 MB / 0.7557 GB, free: 58.43 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004246/1.437, allocations: 25.52 kB / 0.7557 GB, free: 58.42 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001519/1.438, allocations: 101.9 kB / 0.7558 GB, free: 58.42 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003835/1.439, allocations: 196.7 kB / 0.756 GB, free: 58.42 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001473/1.439, allocations: 69.92 kB / 0.756 GB, free: 58.42 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002214/1.441, allocations: 1.587 MB / 0.7576 GB, free: 58.27 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.51e-07/1.441, allocations: 1.125 kB / 0.7576 GB, free: 58.27 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00309/1.444, allocations: 0.9079 MB / 0.7585 GB, free: 58.27 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 14 (aimcM.inertiaRotor.w,aimcM.stator.core.Phi.re,aimcM.stator.core.Phi.im,aimcM.stator.zeroInductor.i0,aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,aimcE.inertiaRotor.w,aimcE.i_0_s,aimcE.idq_sr[1],aimcE.idq_sr[2],aimcE.idq_rr[1],aimcE.idq_rr[2],quadraticLoadTorqueM.phi,quadraticLoadTorqueE.phi) * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (180): * Single equations (assignments): 171 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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: 8 {(2,100.0%) 12,(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 1,(1,100.0%) 1,(1,100.0%) 13,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006405/1.445, allocations: 417 kB / 0.7589 GB, free: 58.18 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004916/1.45, allocations: 4.265 MB / 0.763 GB, free: 57.11 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/1.45, allocations: 3.031 kB / 0.763 GB, free: 57.11 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003402/1.453, allocations: 2.871 MB / 0.7658 GB, free: 56.16 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003104/1.456, allocations: 0.6374 MB / 0.7665 GB, free: 56.14 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01226/1.469, allocations: 8.071 MB / 0.7743 GB, free: 54.09 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003315/1.472, allocations: 3.53 MB / 0.7778 GB, free: 53.24 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002553/1.475, allocations: 0.7195 MB / 0.7785 GB, free: 53.16 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005648/1.475, allocations: 194.7 kB / 0.7787 GB, free: 53.16 MB / 442.7 MB Notification: Performance of SimCode: time 9.42e-07/1.475, allocations: 0 / 0.7787 GB, free: 53.16 MB / 442.7 MB Notification: Performance of Templates: time 0.07213/1.547, allocations: 40.6 MB / 0.8183 GB, free: 50.86 MB / 442.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_DOL/IMC_DOL.csv","../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches