Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001419/0.001419, allocations: 180.2 kB / 16.39 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.346/1.346, allocations: 223.2 MB / 240.3 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007408/0.0007408, allocations: 102.9 kB / 291.5 MB, free: 10.9 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002515/0.0002517, allocations: 7.938 kB / 351.1 MB, free: 15.28 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2122/0.2124, allocations: 50.39 MB / 401.5 MB, free: 32.59 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3012/0.5137, allocations: 123.5 MB / 0.5127 GB, free: 52.19 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002159/0.5139, allocations: 98.45 kB / 0.5128 GB, free: 52.19 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2604/0.7744, allocations: 117.8 MB / 0.6278 GB, free: 6.406 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.335e-06/0.7744, allocations: 0 / 0.6278 GB, free: 6.406 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0006157/0.7751, allocations: 135.8 kB / 0.6279 GB, free: 6.273 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.01775/0.7928, allocations: 5.436 MB / 0.6332 GB, free: 0.7539 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.7929, allocations: 12.02 kB / 0.6332 GB, free: 0.7422 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005743/0.7986, allocations: 1.004 MB / 0.6342 GB, free: 15.73 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01315/0.8118, allocations: 4.633 MB / 0.6387 GB, free: 11.02 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005251/0.8124, allocations: 390.3 kB / 0.6391 GB, free: 10.64 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002113/0.8145, allocations: 0.5037 MB / 0.6396 GB, free: 10.13 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01898/0.8335, allocations: 6.831 MB / 0.6463 GB, free: 3.102 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003029/0.8339, allocations: 7.906 kB / 0.6463 GB, free: 3.094 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001554/0.8354, allocations: 223.9 kB / 0.6465 GB, free: 2.875 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002514/0.8357, allocations: 230.2 kB / 0.6467 GB, free: 2.648 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0131/0.8488, allocations: 5.596 MB / 0.6522 GB, free: 13.04 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2646/1.113, allocations: 21.43 MB / 0.6731 GB, free: 55.36 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006795/1.12, allocations: 8.757 MB / 0.6817 GB, free: 49.56 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01006/1.13, allocations: 5.201 MB / 0.6867 GB, free: 48.88 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.751e-05/1.13, allocations: 63.09 kB / 0.6868 GB, free: 48.84 MB / 442.7 MB Notification: Performance of pre-optimization done (n=230): time 4.238e-06/1.13, allocations: 1.562 kB / 0.6868 GB, free: 48.84 MB / 442.7 MB Notification: Performance of matching and sorting (n=249): time 0.02398/1.154, allocations: 11.7 MB / 0.6982 GB, free: 46.7 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.247e-05/1.154, allocations: 76.03 kB / 0.6983 GB, free: 46.63 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004241/1.159, allocations: 2.602 MB / 0.7009 GB, free: 46.41 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003284/1.159, allocations: 71.92 kB / 0.7009 GB, free: 46.38 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001448/1.161, allocations: 2.288 MB / 0.7032 GB, free: 45.65 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006184/1.161, allocations: 0.8411 MB / 0.704 GB, free: 45.17 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001458/1.161, allocations: 55.53 kB / 0.704 GB, free: 45.17 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001364/1.161, allocations: 424.9 kB / 0.7044 GB, free: 44.86 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00188/1.163, allocations: 1.388 MB / 0.7058 GB, free: 44.85 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002139/1.166, allocations: 2.128 MB / 0.7079 GB, free: 44.01 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002143/1.168, allocations: 1.737 MB / 0.7096 GB, free: 43.97 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.215e-05/1.168, allocations: 7.719 kB / 0.7096 GB, free: 43.97 MB / 442.7 MB Notification: Performance of matching and sorting (n=373) (initialization): time 0.007102/1.175, allocations: 4.711 MB / 0.7142 GB, free: 43.49 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.568e-05/1.175, allocations: 11.34 kB / 0.7142 GB, free: 43.49 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.476e-05/1.175, allocations: 27.69 kB / 0.7142 GB, free: 43.49 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001732/1.177, allocations: 0.7561 MB / 0.7149 GB, free: 43.41 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002262/1.179, allocations: 0.6503 MB / 0.7156 GB, free: 43.41 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009705/1.189, allocations: 13.56 MB / 0.7288 GB, free: 34.38 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003161/1.192, allocations: 173.3 kB / 0.729 GB, free: 34.37 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006485/1.193, allocations: 116.8 kB / 0.7291 GB, free: 34.37 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.004128/1.197, allocations: 1.608 MB / 0.7307 GB, free: 34.24 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001186/1.198, allocations: 325.5 kB / 0.731 GB, free: 34.07 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008038/1.206, allocations: 4.322 MB / 0.7352 GB, free: 33.64 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.936e-05/1.206, allocations: 26.12 kB / 0.7352 GB, free: 33.64 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.769e-05/1.206, allocations: 7.219 kB / 0.7352 GB, free: 33.64 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.284e-05/1.206, allocations: 10.55 kB / 0.7352 GB, free: 33.64 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01907/1.225, allocations: 9.311 MB / 0.7443 GB, free: 30.16 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.701e-05/1.225, allocations: 3.781 kB / 0.7443 GB, free: 30.16 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001757/1.227, allocations: 407.7 kB / 0.7447 GB, free: 30.15 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002389/1.229, allocations: 0.9247 MB / 0.7456 GB, free: 29.86 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002918/1.23, allocations: 66.77 kB / 0.7457 GB, free: 29.83 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01456/1.244, allocations: 16.82 MB / 0.7621 GB, free: 32.27 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.972e-06/1.244, allocations: 10.22 kB / 0.7621 GB, free: 32.27 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01033/1.255, allocations: 6.575 MB / 0.7686 GB, free: 28.98 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002501/1.257, allocations: 0.7109 MB / 0.7692 GB, free: 28.53 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001107/1.258, allocations: 60.64 kB / 0.7693 GB, free: 28.49 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002313/1.261, allocations: 151.3 kB / 0.7694 GB, free: 28.46 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005231/1.261, allocations: 197 kB / 0.7696 GB, free: 28.43 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002445/1.261, allocations: 73.27 kB / 0.7697 GB, free: 28.41 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.004057/1.266, allocations: 1.988 MB / 0.7716 GB, free: 27.66 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.21e-07/1.266, allocations: 0 / 0.7716 GB, free: 27.66 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005151/1.271, allocations: 1.027 MB / 0.7726 GB, free: 27.56 MB / 458.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%) 13,(1,100.0%) 8,(1,100.0%) 1,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001057/1.272, allocations: 473.5 kB / 0.7731 GB, free: 27.4 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006927/1.279, allocations: 4.665 MB / 0.7777 GB, free: 25.07 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.348e-06/1.279, allocations: 5.812 kB / 0.7777 GB, free: 25.07 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004704/1.283, allocations: 3.101 MB / 0.7807 GB, free: 23.3 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005081/1.289, allocations: 0.8351 MB / 0.7815 GB, free: 23.09 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02094/1.31, allocations: 11.93 MB / 0.7932 GB, free: 16.48 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005347/1.315, allocations: 3.521 MB / 0.7966 GB, free: 14.28 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.003831/1.319, allocations: 0.7726 MB / 0.7974 GB, free: 13.74 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009915/1.32, allocations: 214.1 kB / 0.7976 GB, free: 13.54 MB / 458.7 MB Notification: Performance of SimCode: time 9.31e-07/1.32, allocations: 0 / 0.7976 GB, free: 13.54 MB / 458.7 MB Notification: Performance of Templates: time 0.3054/1.625, allocations: 50.92 MB / 0.8473 GB, free: 87.17 MB / 474.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches