Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.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_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.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_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001482/0.001482, allocations: 177.7 kB / 8.698 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.542/1.542, allocations: 205.3 MB / 214.4 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008495/0.0008496, allocations: 74.72 kB / 262.4 MB, free: 1.691 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.375e-05/1.378e-05, allocations: 4 kB / 315.5 MB, free: 22.72 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07912/0.07915, allocations: 47.59 MB / 363.1 MB, free: 7.07 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4093/0.4885, allocations: 119 MB / 482.1 MB, free: 9.387 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003765/0.4889, allocations: 90.38 kB / 482.2 MB, free: 9.34 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6168/1.106, allocations: 158.4 MB / 0.6256 GB, free: 59.14 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.394e-06/1.106, allocations: 0 / 0.6256 GB, free: 59.14 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004618/1.106, allocations: 95.88 kB / 0.6257 GB, free: 59.05 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: 1051 * Number of variables: 1051 Notification: Performance of Generate backend data structure: time 0.01764/1.124, allocations: 3.913 MB / 0.6295 GB, free: 55.07 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.43e-05/1.124, allocations: 16.02 kB / 0.6295 GB, free: 55.06 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008699/1.133, allocations: 0.9236 MB / 0.6304 GB, free: 54.13 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01474/1.148, allocations: 3.8 MB / 0.6341 GB, free: 50.34 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003177/1.148, allocations: 132 kB / 0.6342 GB, free: 50.21 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001485/1.149, allocations: 236 kB / 0.6345 GB, free: 49.98 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01187/1.161, allocations: 3.777 MB / 0.6382 GB, free: 46.2 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0132/1.175, allocations: 4.445 MB / 0.6425 GB, free: 41.59 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001411/1.175, allocations: 7.891 kB / 0.6425 GB, free: 41.58 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007612/1.176, allocations: 4 kB / 0.6425 GB, free: 41.57 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001554/1.176, allocations: 180 kB / 0.6427 GB, free: 41.39 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02339/1.199, allocations: 16.17 MB / 0.6585 GB, free: 24.89 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004973/1.204, allocations: 8.201 MB / 0.6665 GB, free: 15.66 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00199/1.206, allocations: 1.56 MB / 0.668 GB, free: 14.11 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006383/1.213, allocations: 4.711 MB / 0.6726 GB, free: 9.262 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.695e-05/1.213, allocations: 55.88 kB / 0.6727 GB, free: 9.195 MB / 410.7 MB Notification: Performance of pre-optimization done (n=152): time 2.845e-06/1.213, allocations: 0 / 0.6727 GB, free: 9.195 MB / 410.7 MB Notification: Performance of matching and sorting (n=155): time 0.007307/1.22, allocations: 4.719 MB / 0.6773 GB, free: 4.375 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.184e-05/1.22, allocations: 64.72 kB / 0.6773 GB, free: 4.297 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001974/1.222, allocations: 1.648 MB / 0.6789 GB, free: 2.617 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.136e-05/1.222, allocations: 25.7 kB / 0.679 GB, free: 2.586 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007811/1.223, allocations: 1.855 MB / 0.6808 GB, free: 0.707 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002559/1.223, allocations: 0.5042 MB / 0.6813 GB, free: 200 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.621e-05/1.223, allocations: 0 / 0.6813 GB, free: 200 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.2102/1.433, allocations: 389.9 kB / 0.6816 GB, free: 63.9 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001634/1.435, allocations: 0.7121 MB / 0.6823 GB, free: 63.89 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001324/1.436, allocations: 1.384 MB / 0.6837 GB, free: 63.07 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002155/1.439, allocations: 1.127 MB / 0.6848 GB, free: 63.05 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-05/1.439, allocations: 9.156 kB / 0.6848 GB, free: 63.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=267) (initialization): time 0.004636/1.443, allocations: 2.588 MB / 0.6873 GB, free: 62.86 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.364e-05/1.443, allocations: 13.66 kB / 0.6873 GB, free: 62.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.673e-05/1.443, allocations: 23.91 kB / 0.6874 GB, free: 62.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000311/1.444, allocations: 124.9 kB / 0.6875 GB, free: 62.85 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002001/1.446, allocations: 0.5358 MB / 0.688 GB, free: 62.85 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001278/1.447, allocations: 1.738 MB / 0.6897 GB, free: 61.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001727/1.449, allocations: 79.36 kB / 0.6898 GB, free: 61.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001635/1.449, allocations: 94.23 kB / 0.6899 GB, free: 61.6 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 100 * 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.0003249/1.449, allocations: 169.5 kB / 0.69 GB, free: 61.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003929/1.45, allocations: 226.9 kB / 0.6902 GB, free: 61.49 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004154/1.454, allocations: 2.259 MB / 0.6925 GB, free: 61.19 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-05/1.454, allocations: 14.31 kB / 0.6925 GB, free: 61.19 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-05/1.454, allocations: 7.375 kB / 0.6925 GB, free: 61.19 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.512e-05/1.454, allocations: 6.141 kB / 0.6925 GB, free: 61.19 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008819/1.463, allocations: 5.042 MB / 0.6974 GB, free: 60.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.588e-06/1.463, allocations: 2.297 kB / 0.6974 GB, free: 60.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00131/1.464, allocations: 289.7 kB / 0.6977 GB, free: 60.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007836/1.465, allocations: 308.3 kB / 0.698 GB, free: 60.54 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.812e-05/1.465, allocations: 17.66 kB / 0.698 GB, free: 60.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004903/1.47, allocations: 6.047 MB / 0.7039 GB, free: 56.77 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.688e-06/1.47, allocations: 7.406 kB / 0.7039 GB, free: 56.77 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004504/1.474, allocations: 3.413 MB / 0.7072 GB, free: 56.13 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009564/1.475, allocations: 465.2 kB / 0.7077 GB, free: 55.99 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002601/1.476, allocations: 11.36 kB / 0.7077 GB, free: 55.99 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001044/1.477, allocations: 69.81 kB / 0.7078 GB, free: 55.99 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003253/1.477, allocations: 115.8 kB / 0.7079 GB, free: 55.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.065e-05/1.477, allocations: 46.53 kB / 0.7079 GB, free: 55.98 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001846/1.479, allocations: 1.224 MB / 0.7091 GB, free: 55.84 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.2e-07/1.479, allocations: 0 / 0.7091 GB, free: 55.84 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002367/1.481, allocations: 0.6084 MB / 0.7097 GB, free: 55.84 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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.0005708/1.482, allocations: 380.8 kB / 0.7101 GB, free: 55.75 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002417/1.484, allocations: 1.972 MB / 0.712 GB, free: 55.53 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/1.484, allocations: 0 / 0.712 GB, free: 55.53 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001554/1.486, allocations: 1.315 MB / 0.7133 GB, free: 55.19 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001819/1.488, allocations: 429.8 kB / 0.7137 GB, free: 55.18 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008704/1.496, allocations: 5.416 MB / 0.719 GB, free: 53.82 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001941/1.498, allocations: 2.729 MB / 0.7216 GB, free: 53.02 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00189/1.5, allocations: 0.5254 MB / 0.7222 GB, free: 52.95 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003936/1.501, allocations: 150.8 kB / 0.7223 GB, free: 52.95 MB / 410.7 MB Notification: Performance of SimCode: time 8.72e-07/1.501, allocations: 0 / 0.7223 GB, free: 52.95 MB / 410.7 MB Notification: Performance of Templates: time 0.04248/1.543, allocations: 25.29 MB / 0.747 GB, free: 51.44 MB / 410.7 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/SMEE_DOL/SMEE_DOL.csv","../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches