Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_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.SynchronousMachines.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|smee.excitation.electroMagneticConverter.Phi.re|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.is.1.|smee.is.2.|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|smee.excitation.electroMagneticConverter.Phi.re|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.is.1.|smee.is.2.|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001452/0.001452, allocations: 175.4 kB / 8.344 MB, free: 0.7305 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.43/1.43, allocations: 221.5 MB / 230.3 MB, free: 7.57 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 87.5 kB / 281.2 MB, free: 5.32 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.984e-05/1.976e-05, allocations: 0 / 337.1 MB, free: 10.01 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.1319, allocations: 50.42 MB / 387.5 MB, free: 7.547 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3867/0.5186, allocations: 119.7 MB / 0.4953 GB, free: 7.055 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003085/0.519, allocations: 87.95 kB / 0.4954 GB, free: 6.969 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5864/1.105, allocations: 158.8 MB / 0.6505 GB, free: 55.64 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.925e-06/1.105, allocations: 0 / 0.6505 GB, free: 55.64 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002946/1.106, allocations: 99.88 kB / 0.6505 GB, free: 55.55 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1051 * Number of variables: 1051 Notification: Performance of Generate backend data structure: time 0.009942/1.116, allocations: 3.917 MB / 0.6544 GB, free: 51.57 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/1.116, allocations: 15.97 kB / 0.6544 GB, free: 51.55 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005224/1.121, allocations: 0.9235 MB / 0.6553 GB, free: 50.62 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009325/1.13, allocations: 3.801 MB / 0.659 GB, free: 46.84 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002814/1.131, allocations: 140 kB / 0.6591 GB, free: 46.7 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001346/1.132, allocations: 231.9 kB / 0.6594 GB, free: 46.48 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008582/1.141, allocations: 3.788 MB / 0.6631 GB, free: 42.68 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007566/1.148, allocations: 4.43 MB / 0.6674 GB, free: 38.08 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.283e-05/1.148, allocations: 7.906 kB / 0.6674 GB, free: 38.07 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003092/1.149, allocations: 3.938 kB / 0.6674 GB, free: 38.07 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001232/1.149, allocations: 176 kB / 0.6676 GB, free: 37.89 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02293/1.172, allocations: 16.16 MB / 0.6833 GB, free: 21.4 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004861/1.177, allocations: 8.192 MB / 0.6913 GB, free: 12.17 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001974/1.179, allocations: 1.548 MB / 0.6929 GB, free: 10.63 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006616/1.185, allocations: 4.747 MB / 0.6975 GB, free: 5.75 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.503e-05/1.185, allocations: 51.88 kB / 0.6975 GB, free: 5.691 MB / 426.7 MB Notification: Performance of pre-optimization done (n=153): time 3.186e-06/1.185, allocations: 0 / 0.6975 GB, free: 5.691 MB / 426.7 MB Notification: Performance of matching and sorting (n=156): time 0.007381/1.193, allocations: 4.727 MB / 0.7022 GB, free: 0.8594 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.492e-05/1.193, allocations: 72.72 kB / 0.7022 GB, free: 0.7773 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002328/1.195, allocations: 1.641 MB / 0.7038 GB, free: 15.11 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001141/1.195, allocations: 25.7 kB / 0.7039 GB, free: 15.07 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001226/1.196, allocations: 1.853 MB / 0.7057 GB, free: 13.2 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004422/1.197, allocations: 0.5119 MB / 0.7062 GB, free: 12.68 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.422e-05/1.197, allocations: 0 / 0.7062 GB, free: 12.68 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000171/1.197, allocations: 398 kB / 0.7065 GB, free: 12.29 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001041/1.198, allocations: 0.7148 MB / 0.7072 GB, free: 11.57 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001445/1.2, allocations: 1.377 MB / 0.7086 GB, free: 9.879 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001981/1.202, allocations: 1.138 MB / 0.7097 GB, free: 8.738 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.267e-05/1.202, allocations: 8 kB / 0.7097 GB, free: 8.73 MB / 442.7 MB Notification: Performance of matching and sorting (n=267) (initialization): time 0.004438/1.206, allocations: 2.587 MB / 0.7122 GB, free: 6.105 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.72e-05/1.206, allocations: 17.41 kB / 0.7122 GB, free: 6.09 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.04e-05/1.206, allocations: 20 kB / 0.7123 GB, free: 6.07 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003309/1.207, allocations: 122.1 kB / 0.7124 GB, free: 5.945 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001992/1.209, allocations: 0.5305 MB / 0.7129 GB, free: 5.414 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001621/1.21, allocations: 1.743 MB / 0.7146 GB, free: 3.551 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001764/1.212, allocations: 87.8 kB / 0.7147 GB, free: 3.465 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001571/1.212, allocations: 88 kB / 0.7148 GB, free: 3.379 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 99 * Number of states: 0 () * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (261): * Single equations (assignments): 259 * 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: 1 * 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: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003117/1.212, allocations: 172.2 kB / 0.7149 GB, free: 3.203 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003275/1.213, allocations: 221.3 kB / 0.7151 GB, free: 2.984 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004192/1.217, allocations: 2.258 MB / 0.7174 GB, free: 0.6719 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.652e-05/1.217, allocations: 19.94 kB / 0.7174 GB, free: 0.6523 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.849e-06/1.217, allocations: 8 kB / 0.7174 GB, free: 0.6445 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.539e-05/1.217, allocations: 3.984 kB / 0.7174 GB, free: 0.6406 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2525/1.47, allocations: 5.054 MB / 0.7223 GB, free: 76.43 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.925e-06/1.47, allocations: 1.344 kB / 0.7223 GB, free: 76.43 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001301/1.471, allocations: 294.5 kB / 0.7226 GB, free: 76.43 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007669/1.472, allocations: 305.8 kB / 0.7229 GB, free: 76.4 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001056/1.472, allocations: 19.58 kB / 0.7229 GB, free: 76.4 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004751/1.477, allocations: 6.049 MB / 0.7288 GB, free: 72.62 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.648e-06/1.477, allocations: 7.031 kB / 0.7288 GB, free: 72.62 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004536/1.481, allocations: 3.39 MB / 0.7321 GB, free: 72.03 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001019/1.482, allocations: 473.1 kB / 0.7326 GB, free: 71.93 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002746/1.482, allocations: 8.188 kB / 0.7326 GB, free: 71.93 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001011/1.483, allocations: 74.14 kB / 0.7327 GB, free: 71.93 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002498/1.484, allocations: 110.1 kB / 0.7328 GB, free: 71.93 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.325e-05/1.484, allocations: 48.72 kB / 0.7328 GB, free: 71.93 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00183/1.486, allocations: 1.218 MB / 0.734 GB, free: 71.79 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.4e-07/1.486, allocations: 0 / 0.734 GB, free: 71.79 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002185/1.488, allocations: 0.6139 MB / 0.7346 GB, free: 71.79 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (smee.inertiaRotor.w,smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.excitation.electroMagneticConverter.Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,mechanicalSensor.flange_a.phi) * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (127): * Single equations (assignments): 124 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 5,(1,100.0%) 8,(2,100.0%) 15} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005354/1.488, allocations: 409.8 kB / 0.735 GB, free: 71.69 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002705/1.491, allocations: 1.973 MB / 0.7369 GB, free: 71.48 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/1.491, allocations: 3.531 kB / 0.7369 GB, free: 71.48 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001666/1.493, allocations: 1.302 MB / 0.7382 GB, free: 71.14 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002021/1.495, allocations: 429.2 kB / 0.7386 GB, free: 71.13 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01102/1.506, allocations: 5.4 MB / 0.7439 GB, free: 69.87 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002774/1.509, allocations: 2.736 MB / 0.7466 GB, free: 69.11 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0024/1.511, allocations: 0.5256 MB / 0.7471 GB, free: 69.07 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004757/1.512, allocations: 148.7 kB / 0.7472 GB, free: 69.07 MB / 442.7 MB Notification: Performance of SimCode: time 1.142e-06/1.512, allocations: 1.062 kB / 0.7472 GB, free: 69.07 MB / 442.7 MB Notification: Performance of Templates: time 0.04549/1.557, allocations: 25.37 MB / 0.772 GB, free: 67.8 MB / 442.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/SynchronousMachines/SMEE_DOL/SMEE_DOL.csv","../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches