Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001173/0.001173, allocations: 181.2 kB / 17.01 MB, free: 5.125 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.334/1.334, allocations: 205.4 MB / 223.1 MB, free: 9.105 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.0008323/0.0008323, allocations: 88.86 kB / 271.5 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002522/0.0002522, allocations: 4 kB / 328.2 MB, free: 15.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2167/0.2169, allocations: 47.58 MB / 375.8 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1313/0.3482, allocations: 121.2 MB / 497.1 MB, free: 7.344 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002504/0.3485, allocations: 91.95 kB / 497.1 MB, free: 7.254 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3653/0.7139, allocations: 102.2 MB / 0.5853 GB, free: 31.84 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.7139, allocations: 4 kB / 0.5853 GB, free: 31.84 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002955/0.7142, allocations: 99.92 kB / 0.5854 GB, free: 31.74 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.01207/0.7263, allocations: 4.711 MB / 0.59 GB, free: 26.94 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.7263, allocations: 8.031 kB / 0.59 GB, free: 26.93 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005357/0.7317, allocations: 0.9624 MB / 0.591 GB, free: 25.96 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009225/0.741, allocations: 3.98 MB / 0.5949 GB, free: 21.9 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002951/0.7413, allocations: 482.5 kB / 0.5953 GB, free: 21.39 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009007/0.7422, allocations: 415.9 kB / 0.5957 GB, free: 20.98 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008065/0.7503, allocations: 5.317 MB / 0.6009 GB, free: 15.48 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.413e-05/0.7504, allocations: 3.906 kB / 0.6009 GB, free: 15.47 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003783/0.7508, allocations: 180 kB / 0.6011 GB, free: 15.3 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001089/0.7509, allocations: 168.1 kB / 0.6012 GB, free: 15.13 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007827/0.7587, allocations: 4.331 MB / 0.6055 GB, free: 10.78 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0314/0.7902, allocations: 17.9 MB / 0.623 GB, free: 8.383 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008554/0.7988, allocations: 8.275 MB / 0.631 GB, free: 15.16 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01134/0.8101, allocations: 4.681 MB / 0.6356 GB, free: 10.33 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002431/0.8126, allocations: 1.323 MB / 0.6369 GB, free: 8.965 MB / 410.7 MB Notification: Performance of pre-optimization done (n=192): time 3.737e-06/0.8127, allocations: 4 kB / 0.6369 GB, free: 8.961 MB / 410.7 MB Notification: Performance of matching and sorting (n=225): time 0.2113/1.024, allocations: 9.69 MB / 0.6464 GB, free: 69.46 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001041/1.024, allocations: 347 kB / 0.6467 GB, free: 69.09 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003114/1.027, allocations: 2.167 MB / 0.6488 GB, free: 68.89 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003437/1.028, allocations: 72.94 kB / 0.6489 GB, free: 68.86 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001414/1.029, allocations: 1.899 MB / 0.6507 GB, free: 68.73 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006202/1.03, allocations: 0.7522 MB / 0.6515 GB, free: 68.35 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001315/1.03, allocations: 54.56 kB / 0.6515 GB, free: 68.35 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001195/1.03, allocations: 414.1 kB / 0.6519 GB, free: 68.04 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0016/1.032, allocations: 1.149 MB / 0.653 GB, free: 68.04 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001861/1.033, allocations: 1.883 MB / 0.6549 GB, free: 67.25 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001868/1.035, allocations: 1.424 MB / 0.6563 GB, free: 67.23 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.178e-05/1.035, allocations: 7.031 kB / 0.6563 GB, free: 67.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=336) (initialization): time 0.006574/1.042, allocations: 4.256 MB / 0.6604 GB, free: 66.83 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00132/1.043, allocations: 8.019 MB / 0.6683 GB, free: 58.37 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.838e-05/1.043, allocations: 18.81 kB / 0.6683 GB, free: 58.37 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002382/1.046, allocations: 1.068 MB / 0.6693 GB, free: 58.31 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001846/1.048, allocations: 493.3 kB / 0.6698 GB, free: 58.31 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01293/1.06, allocations: 15.06 MB / 0.6845 GB, free: 50.22 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003623/1.064, allocations: 170.3 kB / 0.6847 GB, free: 50.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000617/1.065, allocations: 106.3 kB / 0.6848 GB, free: 50.21 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/1.065, allocations: 3.781 kB / 0.6848 GB, free: 50.21 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006469/1.071, allocations: 3.954 MB / 0.6886 GB, free: 49.99 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-05/1.071, allocations: 18.25 kB / 0.6887 GB, free: 49.99 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002388/1.074, allocations: 1.063 MB / 0.6897 GB, free: 49.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0019/1.076, allocations: 489 kB / 0.6902 GB, free: 49.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01408/1.09, allocations: 15.01 MB / 0.7048 GB, free: 41.13 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002467/1.092, allocations: 171.4 kB / 0.705 GB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001916/1.092, allocations: 107.2 kB / 0.7051 GB, free: 41.07 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.002453/1.095, allocations: 1.342 MB / 0.7064 GB, free: 40.34 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000435/1.095, allocations: 288 kB / 0.7067 GB, free: 40.2 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006018/1.101, allocations: 3.553 MB / 0.7101 GB, free: 38.8 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.605e-05/1.101, allocations: 19.59 kB / 0.7102 GB, free: 38.8 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/1.101, allocations: 0 / 0.7102 GB, free: 38.8 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.467e-05/1.101, allocations: 11.8 kB / 0.7102 GB, free: 38.8 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01194/1.113, allocations: 7.507 MB / 0.7175 GB, free: 35.65 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-05/1.113, allocations: 0 / 0.7175 GB, free: 35.65 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001371/1.115, allocations: 314.2 kB / 0.7178 GB, free: 35.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002467/1.117, allocations: 1.096 MB / 0.7189 GB, free: 35.34 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001698/1.118, allocations: 64.3 kB / 0.7189 GB, free: 35.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01272/1.13, allocations: 12.65 MB / 0.7313 GB, free: 26.66 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/1.13, allocations: 7.719 kB / 0.7313 GB, free: 26.66 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007575/1.138, allocations: 5.061 MB / 0.7362 GB, free: 24.36 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001446/1.139, allocations: 0.6112 MB / 0.7368 GB, free: 23.95 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003892/1.14, allocations: 71.83 kB / 0.7369 GB, free: 23.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00152/1.141, allocations: 130 kB / 0.737 GB, free: 23.88 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005013/1.142, allocations: 245.2 kB / 0.7373 GB, free: 23.85 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001341/1.142, allocations: 64.8 kB / 0.7373 GB, free: 23.83 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002224/1.144, allocations: 1.654 MB / 0.7389 GB, free: 23.19 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/1.144, allocations: 0 / 0.7389 GB, free: 23.19 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004604/1.149, allocations: 1.545 MB / 0.7404 GB, free: 23.04 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.0006244/1.149, allocations: 413.9 kB / 0.7408 GB, free: 22.88 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.009138/1.159, allocations: 6.815 MB / 0.7475 GB, free: 18.93 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.241e-06/1.159, allocations: 8.062 kB / 0.7475 GB, free: 18.92 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002936/1.162, allocations: 2.266 MB / 0.7497 GB, free: 16.86 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002754/1.164, allocations: 0.6362 MB / 0.7503 GB, free: 16.36 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01396/1.178, allocations: 9.483 MB / 0.7596 GB, free: 7.738 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002234/1.181, allocations: 2.918 MB / 0.7624 GB, free: 5.504 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002796/1.183, allocations: 0.714 MB / 0.7631 GB, free: 5.027 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005443/1.184, allocations: 178.6 kB / 0.7633 GB, free: 4.859 MB / 410.7 MB Notification: Performance of SimCode: time 1.413e-06/1.184, allocations: 4 kB / 0.7633 GB, free: 4.855 MB / 410.7 MB Notification: Performance of Templates: time 0.2807/1.465, allocations: 52.99 MB / 0.8151 GB, free: 92.33 MB / 442.7 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_LoadDump.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_LoadDump.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_LoadDump.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_LoadDump.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_LoadDump.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_LoadDump -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_LoadDump.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_LoadDump_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_LoadDump/SMEE_LoadDump.csv","../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_LoadDump.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches