Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001512/0.001512, allocations: 181.7 kB / 13.66 MB, free: 1.664 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.995/1.995, allocations: 205.2 MB / 219.4 MB, free: 14.29 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.001532/0.001532, allocations: 86.72 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.798e-05/2.815e-05, allocations: 0 / 321.5 MB, free: 17.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09173/0.09178, allocations: 47.57 MB / 369.1 MB, free: 2.199 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4557/0.5475, allocations: 119.4 MB / 488.5 MB, free: 6.512 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003005/0.5479, allocations: 86.17 kB / 488.6 MB, free: 6.469 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8412/1.389, allocations: 160.5 MB / 0.6339 GB, free: 48.45 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.244e-06/1.389, allocations: 0 / 0.6339 GB, free: 48.45 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004081/1.39, allocations: 95.88 kB / 0.634 GB, free: 48.36 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.01515/1.405, allocations: 3.91 MB / 0.6378 GB, free: 44.38 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/1.405, allocations: 8.031 kB / 0.6378 GB, free: 44.37 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007377/1.412, allocations: 0.9196 MB / 0.6387 GB, free: 43.44 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0134/1.426, allocations: 3.817 MB / 0.6424 GB, free: 39.57 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003453/1.426, allocations: 300.1 kB / 0.6427 GB, free: 39.27 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001414/1.427, allocations: 399.9 kB / 0.6431 GB, free: 38.88 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01469/1.442, allocations: 5.028 MB / 0.648 GB, free: 33.68 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001495/1.442, allocations: 352 / 0.648 GB, free: 33.68 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007972/1.443, allocations: 176 kB / 0.6482 GB, free: 33.5 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001971/1.443, allocations: 168 kB / 0.6483 GB, free: 33.34 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01263/1.456, allocations: 4.03 MB / 0.6523 GB, free: 29.29 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.042/1.498, allocations: 16.94 MB / 0.6688 GB, free: 11.86 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009661/1.508, allocations: 8.28 MB / 0.6769 GB, free: 2.539 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004215/1.512, allocations: 1.619 MB / 0.6785 GB, free: 0.9258 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01392/1.526, allocations: 4.827 MB / 0.6832 GB, free: 11.91 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.435e-05/1.526, allocations: 51.88 kB / 0.6833 GB, free: 11.86 MB / 426.7 MB Notification: Performance of pre-optimization done (n=150): time 4.248e-06/1.526, allocations: 0 / 0.6833 GB, free: 11.86 MB / 426.7 MB Notification: Performance of matching and sorting (n=153): time 0.01299/1.539, allocations: 4.491 MB / 0.6876 GB, free: 7.258 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.181e-05/1.539, allocations: 64.72 kB / 0.6877 GB, free: 7.184 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005247/1.545, allocations: 1.973 MB / 0.6896 GB, free: 5.184 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003804/1.545, allocations: 53.7 kB / 0.6897 GB, free: 5.125 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001845/1.547, allocations: 1.756 MB / 0.6914 GB, free: 3.348 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009057/1.548, allocations: 0.5238 MB / 0.6919 GB, free: 2.816 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000209/1.548, allocations: 40 kB / 0.6919 GB, free: 2.777 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002469/1.548, allocations: 394.9 kB / 0.6923 GB, free: 2.383 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002212/1.551, allocations: 0.7461 MB / 0.6931 GB, free: 1.633 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.309/1.86, allocations: 1.423 MB / 0.6944 GB, free: 70.98 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003234/1.863, allocations: 1.014 MB / 0.6954 GB, free: 70.97 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.852e-05/1.863, allocations: 5.562 kB / 0.6954 GB, free: 70.97 MB / 426.7 MB Notification: Performance of matching and sorting (n=265) (initialization): time 0.007172/1.87, allocations: 2.496 MB / 0.6979 GB, free: 70.8 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.6e-05/1.87, allocations: 15 kB / 0.6979 GB, free: 70.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.627e-05/1.87, allocations: 22.03 kB / 0.6979 GB, free: 70.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005167/1.871, allocations: 122.8 kB / 0.698 GB, free: 70.79 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004295/1.875, allocations: 0.5322 MB / 0.6985 GB, free: 70.79 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002441/1.878, allocations: 1.819 MB / 0.7003 GB, free: 69.47 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003344/1.881, allocations: 119.5 kB / 0.7004 GB, free: 69.47 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004836/1.882, allocations: 96.81 kB / 0.7005 GB, free: 69.47 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.0006026/1.882, allocations: 232.8 kB / 0.7008 GB, free: 69.37 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007878/1.883, allocations: 246 kB / 0.701 GB, free: 69.36 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006712/1.89, allocations: 2.266 MB / 0.7032 GB, free: 69.05 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.486e-05/1.89, allocations: 16.2 kB / 0.7032 GB, free: 69.05 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.605e-05/1.89, allocations: 6.656 kB / 0.7032 GB, free: 69.05 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.731e-05/1.89, allocations: 7.172 kB / 0.7032 GB, free: 69.05 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01416/1.904, allocations: 5.542 MB / 0.7086 GB, free: 68.38 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.425e-05/1.904, allocations: 5.5 kB / 0.7086 GB, free: 68.38 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002589/1.907, allocations: 292.1 kB / 0.7089 GB, free: 68.38 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001442/1.908, allocations: 310.5 kB / 0.7092 GB, free: 68.35 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002441/1.908, allocations: 35.61 kB / 0.7093 GB, free: 68.35 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008718/1.917, allocations: 6.287 MB / 0.7154 GB, free: 64.39 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.98e-06/1.917, allocations: 1.531 kB / 0.7154 GB, free: 64.39 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008351/1.926, allocations: 3.416 MB / 0.7187 GB, free: 63.75 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001761/1.927, allocations: 493.7 kB / 0.7192 GB, free: 63.65 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005422/1.928, allocations: 35.52 kB / 0.7192 GB, free: 63.65 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002155/1.93, allocations: 93.81 kB / 0.7193 GB, free: 63.65 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004696/1.931, allocations: 115.8 kB / 0.7194 GB, free: 63.65 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001574/1.931, allocations: 45.66 kB / 0.7195 GB, free: 63.65 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00416/1.935, allocations: 1.492 MB / 0.7209 GB, free: 63.49 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.052e-06/1.935, allocations: 3.594 kB / 0.7209 GB, free: 63.49 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004409/1.939, allocations: 0.7207 MB / 0.7216 GB, free: 63.49 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.001102/1.941, allocations: 465.7 kB / 0.7221 GB, free: 63.39 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005052/1.946, allocations: 2.074 MB / 0.7241 GB, free: 63.16 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.584e-06/1.946, allocations: 0 / 0.7241 GB, free: 63.16 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003221/1.949, allocations: 1.354 MB / 0.7254 GB, free: 62.8 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004399/1.953, allocations: 0.5622 MB / 0.726 GB, free: 62.79 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01616/1.97, allocations: 5.509 MB / 0.7314 GB, free: 61.43 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003595/1.973, allocations: 2.677 MB / 0.734 GB, free: 60.65 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001307/1.975, allocations: 175.6 kB / 0.7341 GB, free: 60.65 MB / 426.7 MB Notification: Performance of SimCode: time 1.403e-06/1.975, allocations: 3.812 kB / 0.7341 GB, free: 60.65 MB / 426.7 MB Notification: Performance of Templates: time 0.1541/2.129, allocations: 91.25 MB / 0.8233 GB, free: 15.95 MB / 426.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches