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_LoadDump.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_LoadDump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,variableFilter="time|loadInductor.inductor.2..i|loadInductor.inductor.3..i|smee.is.1.|smee.is.2.|smee.excitation.electroMagneticConverter.Phi.re|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|speed.phi|speed.w|voltageController.I.y",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_LoadDump") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_LoadDump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,variableFilter="time|loadInductor.inductor.2..i|loadInductor.inductor.3..i|smee.is.1.|smee.is.2.|smee.excitation.electroMagneticConverter.Phi.re|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|speed.phi|speed.w|voltageController.I.y",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_LoadDump") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001494/0.001494, allocations: 181.5 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 2.274/2.274, 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.001177/0.001177, allocations: 94.62 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.509e-05/3.533e-05, allocations: 8 kB / 321.5 MB, free: 17.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.1027, allocations: 47.57 MB / 369.1 MB, free: 2.203 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4889/0.5916, allocations: 121.1 MB / 490.2 MB, free: 4.824 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003193/0.592, allocations: 82.27 kB / 490.3 MB, free: 4.785 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6965/1.289, allocations: 102.2 MB / 0.5787 GB, free: 92 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.234e-06/1.289, allocations: 0 / 0.5787 GB, free: 92 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004798/1.289, allocations: 105 kB / 0.5788 GB, free: 91.98 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: 1076 * Number of variables: 1076 Notification: Performance of Generate backend data structure: time 0.01766/1.307, allocations: 4.2 MB / 0.5829 GB, free: 89.93 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.283e-05/1.307, allocations: 9.094 kB / 0.5829 GB, free: 89.93 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008118/1.315, allocations: 0.9567 MB / 0.5838 GB, free: 89.61 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01549/1.331, allocations: 3.954 MB / 0.5877 GB, free: 87.68 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005807/1.331, allocations: 479.6 kB / 0.5881 GB, free: 87.35 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001782/1.333, allocations: 415.1 kB / 0.5885 GB, free: 87.21 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01748/1.351, allocations: 5.213 MB / 0.5936 GB, free: 84.71 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002268/1.351, allocations: 7.406 kB / 0.5936 GB, free: 84.71 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001584/1.352, allocations: 177.3 kB / 0.5938 GB, free: 84.58 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002295/1.353, allocations: 175 kB / 0.5939 GB, free: 84.56 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01432/1.367, allocations: 4.174 MB / 0.598 GB, free: 82.83 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04821/1.415, allocations: 17.98 MB / 0.6156 GB, free: 65.95 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01079/1.426, allocations: 8.121 MB / 0.6235 GB, free: 56.88 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004836/1.431, allocations: 1.819 MB / 0.6253 GB, free: 55.07 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01559/1.447, allocations: 5.402 MB / 0.6306 GB, free: 49.56 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002651/1.449, allocations: 1.198 MB / 0.6317 GB, free: 48.32 MB / 410.7 MB Notification: Performance of pre-optimization done (n=175): time 5.38e-06/1.449, allocations: 0 / 0.6317 GB, free: 48.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=207): time 0.02229/1.472, allocations: 6.909 MB / 0.6385 GB, free: 41.36 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001392/1.472, allocations: 342.4 kB / 0.6388 GB, free: 40.96 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005211/1.477, allocations: 2.155 MB / 0.6409 GB, free: 38.79 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004952/1.478, allocations: 73.69 kB / 0.641 GB, free: 38.71 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002011/1.48, allocations: 1.81 MB / 0.6427 GB, free: 36.89 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001005/1.481, allocations: 0.6946 MB / 0.6434 GB, free: 36.2 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002748/1.481, allocations: 48 kB / 0.6435 GB, free: 36.15 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002014/1.481, allocations: 412 kB / 0.6439 GB, free: 35.74 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002581/1.484, allocations: 1.028 MB / 0.6449 GB, free: 34.71 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003106/1.487, allocations: 1.791 MB / 0.6466 GB, free: 32.6 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003048/1.49, allocations: 1.325 MB / 0.6479 GB, free: 31.28 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-05/1.49, allocations: 4 kB / 0.6479 GB, free: 31.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=323) (initialization): time 0.009091/1.499, allocations: 3.696 MB / 0.6515 GB, free: 27.53 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001729/1.501, allocations: 7.947 MB / 0.6593 GB, free: 18.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.271e-05/1.501, allocations: 20 kB / 0.6593 GB, free: 18.94 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004232/1.505, allocations: 1.005 MB / 0.6603 GB, free: 17.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003611/1.509, allocations: 475.3 kB / 0.6607 GB, free: 17.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02137/1.53, allocations: 14.13 MB / 0.6745 GB, free: 2.523 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006659/1.537, allocations: 171.9 kB / 0.6747 GB, free: 2.355 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008232/1.538, allocations: 108 kB / 0.6748 GB, free: 2.25 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/1.538, allocations: 4 kB / 0.6748 GB, free: 2.246 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01971/1.558, allocations: 3.603 MB / 0.6783 GB, free: 14.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.513e-05/1.558, allocations: 24 kB / 0.6784 GB, free: 14.58 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006407/1.564, allocations: 0.9823 MB / 0.6793 GB, free: 13.57 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007712/1.572, allocations: 475.2 kB / 0.6798 GB, free: 13.11 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3409/1.913, allocations: 14.15 MB / 0.6936 GB, free: 92.12 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002853/1.916, allocations: 156.5 kB / 0.6937 GB, free: 92.12 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003533/1.916, allocations: 105.9 kB / 0.6938 GB, free: 92.12 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 91 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.loadControl.pulseStart,loadControl.pulseStart,$PRE.switch.closerWithArc[1].off,switch.closerWithArc[1].off,$PRE.switch.closerWithArc[1].quenched,switch.closerWithArc[1].quenched,$PRE.switch.closerWithArc[1].tSwitch,switch.closerWithArc[1].tSwitch,$PRE.switch.closerWithArc[2].off,switch.closerWithArc[2].off,$PRE.switch.closerWithArc[2].quenched,switch.closerWithArc[2].quenched,$PRE.switch.closerWithArc[2].tSwitch,switch.closerWithArc[2].tSwitch,$PRE.switch.closerWithArc[3].off,switch.closerWithArc[3].off,$PRE.switch.closerWithArc[3].quenched,switch.closerWithArc[3].quenched,$PRE.switch.closerWithArc[3].tSwitch,switch.closerWithArc[3].tSwitch,voltageController.I.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (265): * Single equations (assignments): 258 * 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: 6 * 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: 3 {(2,100.0%) 22,(3,100.0%) 21,(1,100.0%) 8} * Non-linear torn systems: 3 {1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0007572/1.917, allocations: 278 kB / 0.6941 GB, free: 92.01 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000978/1.918, allocations: 280.3 kB / 0.6944 GB, free: 92.01 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01088/1.929, allocations: 3.225 MB / 0.6975 GB, free: 91.88 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.209e-05/1.929, allocations: 20.94 kB / 0.6975 GB, free: 91.88 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.454e-05/1.929, allocations: 2.094 kB / 0.6975 GB, free: 91.88 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.799e-05/1.929, allocations: 10.12 kB / 0.6975 GB, free: 91.88 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02015/1.949, allocations: 7.017 MB / 0.7044 GB, free: 91.34 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.323e-05/1.95, allocations: 2.781 kB / 0.7044 GB, free: 91.34 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002805/1.952, allocations: 283.9 kB / 0.7047 GB, free: 91.34 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004708/1.957, allocations: 1.03 MB / 0.7057 GB, free: 91.3 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004627/1.958, allocations: 54.53 kB / 0.7057 GB, free: 91.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02131/1.979, allocations: 11.6 MB / 0.7171 GB, free: 86.18 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/1.979, allocations: 7.891 kB / 0.7171 GB, free: 86.18 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01144/1.99, allocations: 4.635 MB / 0.7216 GB, free: 85.68 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002498/1.993, allocations: 0.5936 MB / 0.7222 GB, free: 85.59 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001153/1.994, allocations: 63.5 kB / 0.7222 GB, free: 85.59 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003656/1.998, allocations: 124.4 kB / 0.7223 GB, free: 85.59 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001069/1.999, allocations: 238.3 kB / 0.7226 GB, free: 85.59 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002385/1.999, allocations: 57.67 kB / 0.7226 GB, free: 85.59 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.004407/2.004, allocations: 1.636 MB / 0.7242 GB, free: 85.38 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.072e-06/2.004, allocations: 0 / 0.7242 GB, free: 85.38 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.008583/2.012, allocations: 1.506 MB / 0.7257 GB, free: 85.24 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.rotorCage.strayReluctance.Phi.re,speed.phi,speed.w,voltageController.I.y,loadInductor.inductor[2].i,loadInductor.inductor[3].i) * Number of discrete variables: 14 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,loadControl.pulseStart,switch.closerWithArc[1].off,switch.closerWithArc[1].quenched,switch.closerWithArc[1].tSwitch,switch.closerWithArc[2].off,switch.closerWithArc[2].quenched,switch.closerWithArc[2].tSwitch,switch.closerWithArc[3].off,switch.closerWithArc[3].quenched,switch.closerWithArc[3].tSwitch) * Number of discrete states: 6 (switch.closerWithArc[3].off,switch.closerWithArc[3].quenched,switch.closerWithArc[1].off,switch.closerWithArc[1].quenched,switch.closerWithArc[2].off,switch.closerWithArc[2].quenched) * Top-level inputs: 0 Notification: Strong component statistics for simulation (147): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {4 55,1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.001268/2.014, allocations: 492.7 kB / 0.7262 GB, free: 85.08 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01505/2.029, allocations: 6.332 MB / 0.7323 GB, free: 81.8 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.138e-05/2.029, allocations: 0 / 0.7323 GB, free: 81.8 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005063/2.034, allocations: 2.05 MB / 0.7343 GB, free: 80.71 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005011/2.039, allocations: 0.6171 MB / 0.735 GB, free: 80.55 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02215/2.061, allocations: 6.404 MB / 0.7412 GB, free: 78.08 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005296/2.067, allocations: 2.865 MB / 0.744 GB, free: 76.93 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001372/2.068, allocations: 191.8 kB / 0.7442 GB, free: 76.91 MB / 426.7 MB Notification: Performance of SimCode: time 1.272e-06/2.068, allocations: 0.8438 kB / 0.7442 GB, free: 76.91 MB / 426.7 MB Notification: Performance of Templates: time 0.664/2.732, allocations: 160.2 MB / 0.9006 GB, free: 98.89 MB / 442.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_LoadDump.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_LoadDump.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_LoadDump.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_LoadDump.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_LoadDump.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_LoadDump --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_LoadDump.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_LoadDump_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_LoadDump/SMEE_LoadDump.csv","../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_LoadDump.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches