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.001141/0.001141, allocations: 197.2 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.396/1.396, allocations: 225.4 MB / 240.1 MB, free: 15.04 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008902/0.0008901, allocations: 91.78 kB / 292.1 MB, free: 6.016 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.575e-05/2.596e-05, allocations: 7.984 kB / 350.6 MB, free: 2.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08945/0.0895, allocations: 51.49 MB / 402 MB, free: 14.96 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3521/0.4416, allocations: 124.5 MB / 0.5142 GB, free: 13.68 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002297/0.4419, allocations: 97.19 kB / 0.5143 GB, free: 13.63 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4878/0.9297, allocations: 121.1 MB / 0.6325 GB, free: 77.2 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.9298, allocations: 0 / 0.6325 GB, free: 77.2 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0005067/0.9303, allocations: 135.9 kB / 0.6326 GB, free: 77.17 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.01378/0.9441, allocations: 4.953 MB / 0.6375 GB, free: 75.27 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.9441, allocations: 19.03 kB / 0.6375 GB, free: 75.27 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005483/0.9496, allocations: 1.036 MB / 0.6385 GB, free: 74.96 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01203/0.9617, allocations: 4.622 MB / 0.643 GB, free: 72.86 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004191/0.9622, allocations: 392.4 kB / 0.6434 GB, free: 72.68 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001784/0.964, allocations: 0.4982 MB / 0.6439 GB, free: 72.52 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01446/0.9784, allocations: 6.71 MB / 0.6504 GB, free: 69.34 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002233/0.9787, allocations: 19.09 kB / 0.6504 GB, free: 69.33 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001161/0.9799, allocations: 212 kB / 0.6506 GB, free: 69.17 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002079/0.9801, allocations: 227.4 kB / 0.6508 GB, free: 69.15 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009517/0.9896, allocations: 5.434 MB / 0.6562 GB, free: 66.91 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02979/1.019, allocations: 21.51 MB / 0.6772 GB, free: 55.36 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006143/1.026, allocations: 8.663 MB / 0.6856 GB, free: 48.02 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002789/1.028, allocations: 2.212 MB / 0.6878 GB, free: 47.2 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009147/1.038, allocations: 6.413 MB / 0.694 GB, free: 42.55 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.747e-05/1.038, allocations: 60.56 kB / 0.6941 GB, free: 42.48 MB / 442.7 MB Notification: Performance of pre-optimization done (n=220): time 5.72e-06/1.038, allocations: 0 / 0.6941 GB, free: 42.48 MB / 442.7 MB Notification: Performance of matching and sorting (n=239): time 0.01534/1.053, allocations: 8.971 MB / 0.7029 GB, free: 33.42 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.073e-05/1.053, allocations: 73.41 kB / 0.7029 GB, free: 33.34 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003634/1.057, allocations: 2.595 MB / 0.7055 GB, free: 30.73 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001935/1.057, allocations: 65.7 kB / 0.7055 GB, free: 30.66 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001083/1.058, allocations: 2.309 MB / 0.7078 GB, free: 28.34 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004345/1.059, allocations: 0.8121 MB / 0.7086 GB, free: 27.53 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001387/1.059, allocations: 60 kB / 0.7086 GB, free: 27.47 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.00012/1.059, allocations: 423.8 kB / 0.709 GB, free: 27.05 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001602/1.06, allocations: 1.294 MB / 0.7103 GB, free: 25.76 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001885/1.062, allocations: 2.047 MB / 0.7123 GB, free: 23.39 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001924/1.064, allocations: 1.642 MB / 0.7139 GB, free: 21.72 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.154e-05/1.064, allocations: 8 kB / 0.7139 GB, free: 21.71 MB / 442.7 MB Notification: Performance of matching and sorting (n=365) (initialization): time 0.006069/1.07, allocations: 4.519 MB / 0.7183 GB, free: 17.1 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.607e-05/1.07, allocations: 19.98 kB / 0.7183 GB, free: 17.08 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.154e-05/1.07, allocations: 20 kB / 0.7184 GB, free: 17.06 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001579/1.072, allocations: 0.7538 MB / 0.7191 GB, free: 16.28 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002173/1.074, allocations: 0.6474 MB / 0.7197 GB, free: 15.63 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008826/1.083, allocations: 13.35 MB / 0.7328 GB, free: 1.352 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002638/1.086, allocations: 159.8 kB / 0.7329 GB, free: 1.195 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002169/1.086, allocations: 120 kB / 0.733 GB, free: 1.078 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.0004356/1.086, allocations: 278.4 kB / 0.7333 GB, free: 0.8008 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004076/1.087, allocations: 328 kB / 0.7336 GB, free: 488 kB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006832/1.094, allocations: 4.113 MB / 0.7376 GB, free: 12.28 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-05/1.094, allocations: 27.98 kB / 0.7377 GB, free: 12.25 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.365e-05/1.094, allocations: 8 kB / 0.7377 GB, free: 12.25 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.266e-05/1.094, allocations: 11.95 kB / 0.7377 GB, free: 12.23 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01508/1.109, allocations: 9.013 MB / 0.7465 GB, free: 3.09 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.748e-06/1.109, allocations: 4 kB / 0.7465 GB, free: 3.086 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001746/1.111, allocations: 383.5 kB / 0.7469 GB, free: 2.711 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002602/1.113, allocations: 0.9362 MB / 0.7478 GB, free: 1.75 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002217/1.113, allocations: 59.97 kB / 0.7478 GB, free: 1.691 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2575/1.371, allocations: 16.48 MB / 0.7639 GB, free: 75.66 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/1.371, allocations: 9.562 kB / 0.7639 GB, free: 75.66 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008623/1.38, allocations: 6.283 MB / 0.7701 GB, free: 74.56 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00168/1.381, allocations: 0.6948 MB / 0.7707 GB, free: 74.47 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000492/1.382, allocations: 61.14 kB / 0.7708 GB, free: 74.47 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001542/1.383, allocations: 146.6 kB / 0.7709 GB, free: 74.47 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004874/1.384, allocations: 202 kB / 0.7711 GB, free: 74.46 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001626/1.384, allocations: 67.64 kB / 0.7712 GB, free: 74.46 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.003034/1.387, allocations: 1.976 MB / 0.7731 GB, free: 74.3 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.9e-07/1.387, allocations: 0 / 0.7731 GB, free: 74.3 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003549/1.391, allocations: 1.031 MB / 0.7741 GB, free: 74.3 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 () * 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.0007873/1.391, allocations: 0.5109 MB / 0.7746 GB, free: 74.18 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.005593/1.397, allocations: 4.452 MB / 0.779 GB, free: 73.05 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/1.397, allocations: 0 / 0.779 GB, free: 73.05 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003843/1.401, allocations: 2.997 MB / 0.7819 GB, free: 72.03 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004149/1.405, allocations: 0.8441 MB / 0.7827 GB, free: 72.02 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01607/1.421, allocations: 8.251 MB / 0.7908 GB, free: 69.96 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003467/1.425, allocations: 3.526 MB / 0.7942 GB, free: 69.11 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.003225/1.428, allocations: 0.7782 MB / 0.795 GB, free: 69.02 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007007/1.429, allocations: 210.4 kB / 0.7952 GB, free: 69.02 MB / 458.7 MB Notification: Performance of SimCode: time 1.012e-06/1.429, allocations: 7.828 kB / 0.7952 GB, free: 69.02 MB / 458.7 MB Notification: Performance of Templates: time 0.08218/1.511, allocations: 51.54 MB / 0.8455 GB, free: 63.91 MB / 458.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