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.00116/0.00116, allocations: 199.7 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.185/1.185, allocations: 227.2 MB / 245 MB, free: 5.773 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000862/0.0008619, allocations: 99.89 kB / 297.3 MB, free: 5.93 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002316/0.0002319, allocations: 8 kB / 358 MB, free: 9.258 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.185/0.1852, allocations: 51.49 MB / 409.4 MB, free: 26.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2736/0.4589, allocations: 124.5 MB / 0.5214 GB, free: 91.01 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001928/0.4591, allocations: 93.58 kB / 0.5215 GB, free: 90.96 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2606/0.7197, allocations: 121 MB / 0.6397 GB, free: 1.434 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.7198, allocations: 0 / 0.6397 GB, free: 1.434 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005151/0.7203, allocations: 131.9 kB / 0.6398 GB, free: 1.305 MB / 410.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.01577/0.7361, allocations: 5.478 MB / 0.6452 GB, free: 11.75 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.7362, allocations: 12.03 kB / 0.6452 GB, free: 11.73 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00572/0.7419, allocations: 1.039 MB / 0.6462 GB, free: 10.69 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01297/0.7549, allocations: 4.657 MB / 0.6508 GB, free: 5.953 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004308/0.7553, allocations: 390.2 kB / 0.6511 GB, free: 5.57 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002024/0.7574, allocations: 0.5037 MB / 0.6516 GB, free: 5.066 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01698/0.7744, allocations: 6.827 MB / 0.6583 GB, free: 14.03 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002405/0.7747, allocations: 23.83 kB / 0.6583 GB, free: 14.01 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001241/0.7759, allocations: 220 kB / 0.6585 GB, free: 13.79 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002356/0.7762, allocations: 222.2 kB / 0.6587 GB, free: 13.57 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01281/0.789, allocations: 5.596 MB / 0.6642 GB, free: 7.969 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2429/1.032, allocations: 21.51 MB / 0.6852 GB, free: 51.56 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008539/1.041, allocations: 8.746 MB / 0.6937 GB, free: 45.78 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01032/1.051, allocations: 5.444 MB / 0.6991 GB, free: 44.72 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.116e-05/1.051, allocations: 68.36 kB / 0.6991 GB, free: 44.68 MB / 442.7 MB Notification: Performance of pre-optimization done (n=230): time 5.23e-06/1.051, allocations: 0 / 0.6991 GB, free: 44.68 MB / 442.7 MB Notification: Performance of matching and sorting (n=249): time 0.02299/1.074, allocations: 11.69 MB / 0.7105 GB, free: 42.46 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.599e-05/1.074, allocations: 76.72 kB / 0.7106 GB, free: 42.39 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004367/1.078, allocations: 2.619 MB / 0.7132 GB, free: 42.17 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001691/1.079, allocations: 65.58 kB / 0.7132 GB, free: 42.14 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001258/1.08, allocations: 2.296 MB / 0.7155 GB, free: 41.41 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000553/1.08, allocations: 0.8455 MB / 0.7163 GB, free: 40.93 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000165/1.081, allocations: 58.12 kB / 0.7164 GB, free: 40.93 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001343/1.081, allocations: 423.6 kB / 0.7168 GB, free: 40.62 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001842/1.083, allocations: 1.383 MB / 0.7181 GB, free: 40.62 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00209/1.085, allocations: 2.126 MB / 0.7202 GB, free: 39.79 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002281/1.087, allocations: 1.732 MB / 0.7219 GB, free: 39.74 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-05/1.087, allocations: 3.812 kB / 0.7219 GB, free: 39.74 MB / 442.7 MB Notification: Performance of matching and sorting (n=373) (initialization): time 0.006657/1.094, allocations: 4.713 MB / 0.7265 GB, free: 39.26 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.969e-05/1.094, allocations: 16.88 kB / 0.7265 GB, free: 39.26 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.618e-05/1.094, allocations: 22.09 kB / 0.7265 GB, free: 39.26 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00162/1.095, allocations: 0.7623 MB / 0.7273 GB, free: 39.18 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002175/1.098, allocations: 0.6532 MB / 0.7279 GB, free: 39.18 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009228/1.107, allocations: 13.55 MB / 0.7411 GB, free: 29.99 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002605/1.109, allocations: 166 kB / 0.7413 GB, free: 29.94 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003701/1.11, allocations: 118.9 kB / 0.7414 GB, free: 29.91 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * Number of states: 0 () * Number of discrete variables: 3 (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 initialization (330): * Single equations (assignments): 320 * 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%) 8,(1,100.0%) 1,(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.003233/1.113, allocations: 1.607 MB / 0.743 GB, free: 29.11 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008631/1.114, allocations: 325.1 kB / 0.7433 GB, free: 28.95 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006854/1.121, allocations: 4.315 MB / 0.7475 GB, free: 27.07 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.594e-05/1.121, allocations: 24.58 kB / 0.7475 GB, free: 27.07 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.331e-05/1.121, allocations: 10.66 kB / 0.7475 GB, free: 27.07 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.966e-05/1.121, allocations: 13.92 kB / 0.7476 GB, free: 27.07 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0161/1.137, allocations: 9.314 MB / 0.7567 GB, free: 23.13 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.316e-05/1.137, allocations: 3.875 kB / 0.7567 GB, free: 23.13 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001653/1.139, allocations: 409.8 kB / 0.7571 GB, free: 23.12 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002149/1.141, allocations: 0.9249 MB / 0.758 GB, free: 22.83 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001924/1.141, allocations: 72.17 kB / 0.758 GB, free: 22.79 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01328/1.154, allocations: 16.81 MB / 0.7744 GB, free: 9.234 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/1.154, allocations: 9.219 kB / 0.7744 GB, free: 9.234 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008318/1.163, allocations: 6.579 MB / 0.7809 GB, free: 5.941 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001988/1.165, allocations: 0.7156 MB / 0.7816 GB, free: 5.488 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008027/1.166, allocations: 62.8 kB / 0.7816 GB, free: 5.449 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001838/1.167, allocations: 146.6 kB / 0.7818 GB, free: 5.418 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000396/1.168, allocations: 204.3 kB / 0.782 GB, free: 5.391 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000171/1.168, allocations: 70.11 kB / 0.782 GB, free: 5.375 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003115/1.171, allocations: 2.001 MB / 0.784 GB, free: 4.621 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.2e-07/1.171, allocations: 3.188 kB / 0.784 GB, free: 4.621 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003499/1.175, allocations: 1.042 MB / 0.785 GB, free: 4.512 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (190): * Single equations (assignments): 181 * 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%) 8,(1,100.0%) 1,(1,100.0%) 13,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000722/1.175, allocations: 486.9 kB / 0.7855 GB, free: 4.348 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005614/1.181, allocations: 4.661 MB / 0.79 GB, free: 2.008 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/1.181, allocations: 3.875 kB / 0.79 GB, free: 2.008 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003719/1.185, allocations: 3.112 MB / 0.7931 GB, free: 228 kB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004503/1.189, allocations: 0.8377 MB / 0.7939 GB, free: 0 / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01925/1.209, allocations: 11.93 MB / 0.8055 GB, free: 7.629 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004703/1.213, allocations: 3.529 MB / 0.809 GB, free: 4.953 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.003366/1.217, allocations: 0.7736 MB / 0.8097 GB, free: 4.414 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009471/1.218, allocations: 214.8 kB / 0.8099 GB, free: 4.215 MB / 458.7 MB Notification: Performance of SimCode: time 1.462e-06/1.218, allocations: 4 kB / 0.8099 GB, free: 4.211 MB / 458.7 MB Notification: Performance of Templates: time 0.302/1.52, allocations: 51.28 MB / 0.86 GB, free: 71.18 MB / 474.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