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.001465/0.001465, allocations: 188.4 kB / 16.41 MB, free: 5.723 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.888/1.888, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001092/0.001092, allocations: 92.42 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003795/0.0003795, allocations: 12 kB / 327 MB, free: 180 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3375/0.3379, allocations: 47.56 MB / 374.5 MB, free: 45.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2301/0.5681, allocations: 121.2 MB / 495.8 MB, free: 7.438 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003159/0.5684, allocations: 91.95 kB / 495.9 MB, free: 7.348 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6177/1.186, allocations: 102.2 MB / 0.5841 GB, free: 31.97 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.215e-06/1.186, allocations: 0 / 0.5841 GB, free: 31.97 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000429/1.187, allocations: 95.94 kB / 0.5842 GB, free: 31.88 MB / 378.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.01939/1.206, allocations: 4.715 MB / 0.5888 GB, free: 27.07 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/1.206, allocations: 8.031 kB / 0.5888 GB, free: 27.07 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007966/1.214, allocations: 0.9662 MB / 0.5897 GB, free: 26.09 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01471/1.229, allocations: 3.98 MB / 0.5936 GB, free: 22.03 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005515/1.229, allocations: 486.5 kB / 0.5941 GB, free: 21.52 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001796/1.231, allocations: 403.9 kB / 0.5945 GB, free: 21.12 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01651/1.248, allocations: 5.321 MB / 0.5997 GB, free: 15.61 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001612/1.248, allocations: 7.844 kB / 0.5997 GB, free: 15.6 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000676/1.249, allocations: 180 kB / 0.5998 GB, free: 15.43 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001869/1.249, allocations: 168.2 kB / 0.6 GB, free: 15.26 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0138/1.263, allocations: 4.327 MB / 0.6042 GB, free: 10.91 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04756/1.31, allocations: 17.91 MB / 0.6217 GB, free: 8.504 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0131/1.323, allocations: 8.274 MB / 0.6298 GB, free: 15.29 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01429/1.338, allocations: 4.684 MB / 0.6344 GB, free: 10.45 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003595/1.341, allocations: 1.323 MB / 0.6357 GB, free: 9.09 MB / 410.7 MB Notification: Performance of pre-optimization done (n=192): time 5.731e-06/1.342, allocations: 4 kB / 0.6357 GB, free: 9.086 MB / 410.7 MB Notification: Performance of matching and sorting (n=225): time 0.3435/1.685, allocations: 9.693 MB / 0.6451 GB, free: 70.25 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001429/1.685, allocations: 344.2 kB / 0.6455 GB, free: 69.87 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005031/1.69, allocations: 2.168 MB / 0.6476 GB, free: 69.68 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005652/1.691, allocations: 72.38 kB / 0.6476 GB, free: 69.64 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002017/1.693, allocations: 1.776 MB / 0.6494 GB, free: 69.46 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001153/1.694, allocations: 0.7555 MB / 0.6501 GB, free: 69.08 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002899/1.694, allocations: 50.19 kB / 0.6502 GB, free: 69.08 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002245/1.695, allocations: 420.4 kB / 0.6506 GB, free: 68.76 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003012/1.698, allocations: 1.147 MB / 0.6517 GB, free: 68.75 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003773/1.701, allocations: 1.889 MB / 0.6535 GB, free: 67.96 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0038/1.705, allocations: 1.425 MB / 0.6549 GB, free: 67.95 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.165e-05/1.705, allocations: 7.062 kB / 0.6549 GB, free: 67.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=336) (initialization): time 0.0117/1.717, allocations: 4.073 MB / 0.6589 GB, free: 67.64 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001839/1.719, allocations: 7.495 MB / 0.6662 GB, free: 59.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-05/1.719, allocations: 19.12 kB / 0.6662 GB, free: 59.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004445/1.724, allocations: 1.072 MB / 0.6673 GB, free: 59.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003775/1.727, allocations: 496.3 kB / 0.6678 GB, free: 59.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0226/1.75, allocations: 15.05 MB / 0.6825 GB, free: 51.71 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004187/1.754, allocations: 173.8 kB / 0.6826 GB, free: 51.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005847/1.755, allocations: 105.8 kB / 0.6827 GB, free: 51.7 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/1.755, allocations: 4.812 kB / 0.6827 GB, free: 51.7 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01128/1.766, allocations: 3.954 MB / 0.6866 GB, free: 51.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-05/1.766, allocations: 22.84 kB / 0.6866 GB, free: 51.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003764/1.77, allocations: 1.04 MB / 0.6876 GB, free: 51.42 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003653/1.774, allocations: 489.8 kB / 0.6881 GB, free: 51.42 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02363/1.798, allocations: 15.05 MB / 0.7028 GB, free: 42.67 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00281/1.8, allocations: 159.8 kB / 0.7029 GB, free: 42.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003588/1.801, allocations: 108.7 kB / 0.703 GB, free: 42.6 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition1,$whenCondition4,$whenCondition3,$whenCondition2,$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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (273): * Single equations (assignments): 266 * 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%) 26,(1,100.0%) 8} * Non-linear torn systems: 3 {1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.00405/1.805, allocations: 1.351 MB / 0.7044 GB, free: 41.88 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009706/1.806, allocations: 285.4 kB / 0.7046 GB, free: 41.73 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01097/1.817, allocations: 3.553 MB / 0.7081 GB, free: 40.34 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.009e-05/1.817, allocations: 24.84 kB / 0.7081 GB, free: 40.34 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.746e-06/1.817, allocations: 0 / 0.7081 GB, free: 40.34 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.554e-05/1.817, allocations: 10.97 kB / 0.7081 GB, free: 40.34 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02225/1.839, allocations: 7.498 MB / 0.7155 GB, free: 37.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-05/1.839, allocations: 3.516 kB / 0.7155 GB, free: 37.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002886/1.842, allocations: 312.3 kB / 0.7158 GB, free: 37.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004792/1.847, allocations: 1.103 MB / 0.7168 GB, free: 36.89 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005435/1.848, allocations: 57.53 kB / 0.7169 GB, free: 36.86 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0227/1.87, allocations: 12.65 MB / 0.7293 GB, free: 28.21 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/1.87, allocations: 6.094 kB / 0.7293 GB, free: 28.21 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01403/1.884, allocations: 5.065 MB / 0.7342 GB, free: 25.92 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002236/1.887, allocations: 0.6141 MB / 0.7348 GB, free: 25.51 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007698/1.888, allocations: 59.12 kB / 0.7349 GB, free: 25.47 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002742/1.89, allocations: 131.6 kB / 0.735 GB, free: 25.44 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008244/1.891, allocations: 248.3 kB / 0.7352 GB, free: 25.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001956/1.891, allocations: 65 kB / 0.7353 GB, free: 25.38 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003729/1.895, allocations: 1.652 MB / 0.7369 GB, free: 24.74 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.82e-07/1.895, allocations: 0 / 0.7369 GB, free: 24.74 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.008789/1.904, allocations: 1.544 MB / 0.7384 GB, free: 24.59 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 8 (smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].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[1].off,switch.closerWithArc[1].quenched,switch.closerWithArc[3].off,switch.closerWithArc[3].quenched,switch.closerWithArc[2].off,switch.closerWithArc[2].quenched) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (159): * Single equations (assignments): 151 * 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 {3 61,1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.001132/1.905, allocations: 425.7 kB / 0.7388 GB, free: 24.42 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01686/1.922, allocations: 6.816 MB / 0.7455 GB, free: 20.87 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.293e-05/1.922, allocations: 3.906 kB / 0.7455 GB, free: 20.87 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005477/1.928, allocations: 2.209 MB / 0.7476 GB, free: 18.88 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005491/1.933, allocations: 0.6272 MB / 0.7482 GB, free: 18.38 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02365/1.957, allocations: 9.461 MB / 0.7575 GB, free: 9.754 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004519/1.961, allocations: 2.884 MB / 0.7603 GB, free: 7.539 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00136/1.963, allocations: 193.6 kB / 0.7605 GB, free: 7.359 MB / 410.7 MB Notification: Performance of SimCode: time 1.583e-06/1.963, allocations: 0 / 0.7605 GB, free: 7.359 MB / 410.7 MB Notification: Performance of Templates: time 0.5997/2.563, allocations: 160.9 MB / 0.9176 GB, free: 34.8 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