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.00105/0.00105, allocations: 172.2 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.401/1.401, allocations: 205.2 MB / 219.8 MB, free: 14.27 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000772/0.0007721, allocations: 82.66 kB / 268 MB, free: 14.1 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.096e-05/2.111e-05, allocations: 8 kB / 322.4 MB, free: 17.35 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07988/0.07992, allocations: 47.58 MB / 370 MB, free: 1.703 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3392/0.4192, allocations: 119.4 MB / 489.4 MB, free: 6.609 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003073/0.4196, allocations: 91.38 kB / 489.5 MB, free: 6.559 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5787/0.9983, allocations: 160.5 MB / 0.6348 GB, free: 48.19 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.9984, allocations: 0 / 0.6348 GB, free: 48.19 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003513/0.9988, allocations: 103.8 kB / 0.6349 GB, free: 48.09 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.01057/1.009, allocations: 3.91 MB / 0.6387 GB, free: 44.11 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/1.009, allocations: 12.03 kB / 0.6387 GB, free: 44.09 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00552/1.015, allocations: 0.9197 MB / 0.6396 GB, free: 43.17 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01029/1.025, allocations: 3.802 MB / 0.6433 GB, free: 39.31 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002524/1.026, allocations: 304.1 kB / 0.6436 GB, free: 39.01 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009062/1.026, allocations: 407.9 kB / 0.644 GB, free: 38.61 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008688/1.035, allocations: 5.02 MB / 0.6489 GB, free: 33.41 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.25e-05/1.035, allocations: 8.328 kB / 0.6489 GB, free: 33.41 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003685/1.036, allocations: 176 kB / 0.6491 GB, free: 33.23 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001173/1.036, allocations: 168 kB / 0.6493 GB, free: 33.07 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007216/1.043, allocations: 4.03 MB / 0.6532 GB, free: 29.02 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03354/1.077, allocations: 16.93 MB / 0.6697 GB, free: 11.6 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006662/1.083, allocations: 8.283 MB / 0.6778 GB, free: 2.277 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002846/1.086, allocations: 1.616 MB / 0.6794 GB, free: 0.668 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01088/1.097, allocations: 4.839 MB / 0.6841 GB, free: 11.64 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.589e-05/1.097, allocations: 47.88 kB / 0.6842 GB, free: 11.59 MB / 426.7 MB Notification: Performance of pre-optimization done (n=150): time 7.383e-06/1.097, allocations: 0 / 0.6842 GB, free: 11.59 MB / 426.7 MB Notification: Performance of matching and sorting (n=153): time 0.01166/1.109, allocations: 4.491 MB / 0.6886 GB, free: 6.992 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.23e-05/1.109, allocations: 68.72 kB / 0.6886 GB, free: 6.914 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005213/1.114, allocations: 1.977 MB / 0.6905 GB, free: 4.91 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004886/1.115, allocations: 49.7 kB / 0.6906 GB, free: 4.855 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002295/1.117, allocations: 1.852 MB / 0.6924 GB, free: 2.977 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001156/1.118, allocations: 0.5238 MB / 0.6929 GB, free: 2.445 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002923/1.119, allocations: 44 kB / 0.693 GB, free: 2.402 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003272/1.119, allocations: 386 kB / 0.6933 GB, free: 2.02 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001646/1.121, allocations: 0.746 MB / 0.6941 GB, free: 1.27 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2826/1.403, allocations: 1.426 MB / 0.6954 GB, free: 70.66 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00203/1.405, allocations: 1.011 MB / 0.6964 GB, free: 70.65 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.649e-05/1.405, allocations: 8.531 kB / 0.6964 GB, free: 70.65 MB / 426.7 MB Notification: Performance of matching and sorting (n=265) (initialization): time 0.004844/1.41, allocations: 2.646 MB / 0.699 GB, free: 70.48 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.883e-05/1.41, allocations: 14.44 kB / 0.699 GB, free: 70.48 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-05/1.41, allocations: 23.05 kB / 0.6991 GB, free: 70.48 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000379/1.411, allocations: 128.2 kB / 0.6992 GB, free: 70.46 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00214/1.413, allocations: 0.5311 MB / 0.6997 GB, free: 70.46 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00161/1.415, allocations: 1.81 MB / 0.7015 GB, free: 69.15 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002288/1.417, allocations: 119.1 kB / 0.7016 GB, free: 69.15 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003193/1.417, allocations: 97.17 kB / 0.7017 GB, free: 69.15 MB / 426.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 (259): * Single equations (assignments): 257 * 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.0004769/1.418, allocations: 242.5 kB / 0.7019 GB, free: 69.05 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000551/1.418, allocations: 248.7 kB / 0.7021 GB, free: 69.04 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004628/1.423, allocations: 2.264 MB / 0.7044 GB, free: 68.73 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.197e-05/1.423, allocations: 15.45 kB / 0.7044 GB, free: 68.73 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/1.423, allocations: 3.875 kB / 0.7044 GB, free: 68.73 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.926e-05/1.423, allocations: 7.406 kB / 0.7044 GB, free: 68.73 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008514/1.431, allocations: 5.55 MB / 0.7098 GB, free: 68.06 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.954e-06/1.431, allocations: 5.078 kB / 0.7098 GB, free: 68.05 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001282/1.433, allocations: 286.5 kB / 0.7101 GB, free: 68.05 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009573/1.434, allocations: 312.8 kB / 0.7104 GB, free: 68.03 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001156/1.434, allocations: 35.09 kB / 0.7104 GB, free: 68.03 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006112/1.44, allocations: 6.292 MB / 0.7166 GB, free: 64.07 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/1.44, allocations: 1.219 kB / 0.7166 GB, free: 64.07 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005413/1.445, allocations: 3.411 MB / 0.7199 GB, free: 63.43 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00123/1.447, allocations: 494.8 kB / 0.7204 GB, free: 63.27 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002997/1.447, allocations: 41.12 kB / 0.7204 GB, free: 63.27 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001124/1.448, allocations: 93.38 kB / 0.7205 GB, free: 63.27 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003267/1.449, allocations: 114 kB / 0.7206 GB, free: 63.27 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001038/1.449, allocations: 43.38 kB / 0.7206 GB, free: 63.27 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00268/1.451, allocations: 1.494 MB / 0.7221 GB, free: 63.11 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.7e-07/1.451, allocations: 3.719 kB / 0.7221 GB, free: 63.11 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002603/1.454, allocations: 0.7221 MB / 0.7228 GB, free: 63.11 MB / 426.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 (126): * Single equations (assignments): 123 * 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.0008018/1.455, allocations: 459.9 kB / 0.7232 GB, free: 63.01 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003273/1.458, allocations: 2.068 MB / 0.7253 GB, free: 62.77 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/1.458, allocations: 0 / 0.7253 GB, free: 62.77 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001895/1.46, allocations: 1.352 MB / 0.7266 GB, free: 62.41 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002928/1.463, allocations: 0.5711 MB / 0.7271 GB, free: 62.39 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009633/1.473, allocations: 5.533 MB / 0.7325 GB, free: 61.04 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002351/1.475, allocations: 2.735 MB / 0.7352 GB, free: 60.24 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002219/1.477, allocations: 0.5406 MB / 0.7357 GB, free: 60.17 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004595/1.478, allocations: 164.1 kB / 0.7359 GB, free: 60.17 MB / 426.7 MB Notification: Performance of SimCode: time 1.984e-06/1.478, allocations: 4 kB / 0.7359 GB, free: 60.17 MB / 426.7 MB Notification: Performance of Templates: time 0.05916/1.537, allocations: 33.73 MB / 0.7688 GB, free: 58.28 MB / 426.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