Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.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.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,variableFilter="time|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.|smee.lesigma.i|speed.phi|speed.w|voltageController.I.y",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,variableFilter="time|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.|smee.lesigma.i|speed.phi|speed.w|voltageController.I.y",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002099/0.002099, allocations: 180.5 kB / 17.41 MB, free: 4.406 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.532/3.532, allocations: 205.4 MB / 223.6 MB, free: 9.016 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.001419/0.001419, allocations: 90.36 kB / 271.9 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005524/0.0005529, allocations: 8 kB / 328.2 MB, free: 15.93 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6119/0.6125, allocations: 47.57 MB / 375.7 MB, free: 45.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.261/0.8736, allocations: 116 MB / 491.7 MB, free: 12.59 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0006461/0.8744, allocations: 87.95 kB / 491.8 MB, free: 12.5 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7387/1.613, allocations: 62.26 MB / 0.5411 GB, free: 76.98 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.118e-06/1.613, allocations: 0 / 0.5411 GB, free: 76.98 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0004413/1.614, allocations: 79.92 kB / 0.5411 GB, free: 76.91 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: 731 * Number of variables: 731 Notification: Performance of Generate backend data structure: time 0.01685/1.631, allocations: 3.393 MB / 0.5445 GB, free: 73.43 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.148e-05/1.631, allocations: 12.03 kB / 0.5445 GB, free: 73.42 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005034/1.636, allocations: 488.4 kB / 0.5449 GB, free: 72.94 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01153/1.647, allocations: 2.158 MB / 0.547 GB, free: 70.73 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007233/1.648, allocations: 380.4 kB / 0.5474 GB, free: 70.32 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002143/1.65, allocations: 288.3 kB / 0.5477 GB, free: 70.04 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01849/1.669, allocations: 3.691 MB / 0.5513 GB, free: 66.2 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000291/1.669, allocations: 11.91 kB / 0.5513 GB, free: 66.19 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001651/1.671, allocations: 124 kB / 0.5514 GB, free: 66.07 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001926/1.671, allocations: 117.5 kB / 0.5515 GB, free: 65.95 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01274/1.684, allocations: 2.942 MB / 0.5544 GB, free: 63 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04543/1.729, allocations: 11.97 MB / 0.5661 GB, free: 50.67 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006875/1.736, allocations: 2.867 MB / 0.5689 GB, free: 47.58 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003509/1.74, allocations: 1.153 MB / 0.57 GB, free: 46.43 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005628/1.741, allocations: 134.4 kB / 0.5701 GB, free: 46.28 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003415/1.744, allocations: 1.175 MB / 0.5713 GB, free: 45.07 MB / 378.7 MB Notification: Performance of pre-optimization done (n=156): time 7.204e-06/1.744, allocations: 0 / 0.5713 GB, free: 45.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=180): time 0.0399/1.784, allocations: 9.457 MB / 0.5805 GB, free: 35.48 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000256/1.784, allocations: 308.7 kB / 0.5808 GB, free: 35.11 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0092/1.794, allocations: 2.096 MB / 0.5829 GB, free: 32.98 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001003/1.795, allocations: 65.7 kB / 0.5829 GB, free: 32.91 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002951/1.798, allocations: 1.384 MB / 0.5843 GB, free: 31.51 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001785/1.8, allocations: 0.6125 MB / 0.5849 GB, free: 30.89 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007095/1.8, allocations: 40 kB / 0.5849 GB, free: 30.85 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003344/1.801, allocations: 390 kB / 0.5853 GB, free: 30.46 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003414/1.804, allocations: 1.05 MB / 0.5863 GB, free: 29.41 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003867/1.808, allocations: 1.6 MB / 0.5879 GB, free: 27.59 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007145/1.815, allocations: 2.626 MB / 0.5904 GB, free: 24.79 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.789e-05/1.815, allocations: 4 kB / 0.5904 GB, free: 24.78 MB / 378.7 MB Notification: Performance of matching and sorting (n=264) (initialization): time 0.01305/1.828, allocations: 3.675 MB / 0.594 GB, free: 21.07 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005035/1.829, allocations: 491.6 kB / 0.5945 GB, free: 20.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.552e-05/1.829, allocations: 15.94 kB / 0.5945 GB, free: 20.39 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005305/1.834, allocations: 1.21 MB / 0.5957 GB, free: 19.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003223/1.838, allocations: 379.4 kB / 0.5961 GB, free: 18.79 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02409/1.862, allocations: 14.59 MB / 0.6103 GB, free: 3.391 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005696/1.868, allocations: 179.8 kB / 0.6105 GB, free: 3.215 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001047/1.869, allocations: 79.98 kB / 0.6106 GB, free: 3.137 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.374e-05/1.869, allocations: 4 kB / 0.6106 GB, free: 3.133 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01152/1.88, allocations: 3.414 MB / 0.6139 GB, free: 15.7 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.58e-05/1.88, allocations: 19.94 kB / 0.6139 GB, free: 15.68 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00684/1.887, allocations: 1.198 MB / 0.6151 GB, free: 14.46 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003652/1.891, allocations: 379.3 kB / 0.6154 GB, free: 14.09 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03618/1.927, allocations: 14.55 MB / 0.6297 GB, free: 14.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006024/1.933, allocations: 163.9 kB / 0.6298 GB, free: 14.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001169/1.935, allocations: 87.98 kB / 0.6299 GB, free: 14.48 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (212): * Single equations (assignments): 205 * 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 {(4,100.0%) 14,(3,100.0%) 24,(2,100.0%) 4} * Non-linear torn systems: 3 {1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.007094/1.942, allocations: 0.9855 MB / 0.6309 GB, free: 13.48 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002425/1.944, allocations: 233.2 kB / 0.6311 GB, free: 13.25 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01674/1.961, allocations: 3.513 MB / 0.6345 GB, free: 9.715 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-05/1.961, allocations: 16 kB / 0.6345 GB, free: 9.699 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.955e-05/1.961, allocations: 4 kB / 0.6345 GB, free: 9.695 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.975e-05/1.961, allocations: 7.969 kB / 0.6345 GB, free: 9.688 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03506/1.996, allocations: 6.778 MB / 0.6412 GB, free: 2.789 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.373e-05/1.996, allocations: 4 kB / 0.6412 GB, free: 2.785 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002073/1.999, allocations: 191.8 kB / 0.6413 GB, free: 2.598 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008288/2.007, allocations: 1.437 MB / 0.6427 GB, free: 1.145 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005863/2.008, allocations: 43.98 kB / 0.6428 GB, free: 1.102 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5428/2.55, allocations: 14.84 MB / 0.6573 GB, free: 92.73 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.134e-05/2.55, allocations: 3.656 kB / 0.6573 GB, free: 92.73 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01605/2.567, allocations: 4.845 MB / 0.662 GB, free: 92.4 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003547/2.57, allocations: 0.5325 MB / 0.6625 GB, free: 92.3 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001839/2.572, allocations: 49.48 kB / 0.6626 GB, free: 92.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004324/2.576, allocations: 137.1 kB / 0.6627 GB, free: 92.3 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001757/2.578, allocations: 232.9 kB / 0.6629 GB, free: 92.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005029/2.579, allocations: 56.91 kB / 0.663 GB, free: 92.29 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.006209/2.585, allocations: 1.427 MB / 0.6644 GB, free: 92.15 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.207e-06/2.585, allocations: 0 / 0.6644 GB, free: 92.15 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.01477/2.6, allocations: 1.265 MB / 0.6656 GB, free: 92.15 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 8 (smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[1],smee.idq_rr[2],smee.idq_dr[1],speed.phi,speed.w,voltageController.I.y) * 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (116): * Single equations (assignments): 107 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 4} * Non-linear torn systems: 4 {7 52,1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.002036/2.602, allocations: 351.5 kB / 0.666 GB, free: 92.06 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.02548/2.628, allocations: 6.354 MB / 0.6722 GB, free: 90.41 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.066e-05/2.628, allocations: 0 / 0.6722 GB, free: 90.41 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008554/2.636, allocations: 2.399 MB / 0.6745 GB, free: 89.57 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009662/2.646, allocations: 0.5323 MB / 0.675 GB, free: 89.42 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03077/2.677, allocations: 7.439 MB / 0.6823 GB, free: 85.76 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006608/2.684, allocations: 2.235 MB / 0.6845 GB, free: 84.78 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001776/2.685, allocations: 151.7 kB / 0.6846 GB, free: 84.77 MB / 410.7 MB Notification: Performance of SimCode: time 2.375e-06/2.685, allocations: 0 / 0.6846 GB, free: 84.77 MB / 410.7 MB Notification: Performance of Templates: time 0.6831/3.369, allocations: 124.8 MB / 0.8065 GB, free: 129.1 MB / 442.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/SynchronousInductionMachines/SMEE_LoadDump/SMEE_LoadDump.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches