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.001524/0.001524, allocations: 186.1 kB / 16.4 MB, free: 5.719 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.87/1.87, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.001108/0.001107, allocations: 96.41 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003806/0.0003806, allocations: 8 kB / 327 MB, free: 196 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3254/0.3258, allocations: 47.57 MB / 374.5 MB, free: 45.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.257/0.5828, allocations: 115.7 MB / 490.2 MB, free: 12.98 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004147/0.5833, allocations: 95.95 kB / 490.3 MB, free: 12.89 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5112/1.095, allocations: 62.38 MB / 0.5398 GB, free: 77.32 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.855e-06/1.095, allocations: 0 / 0.5398 GB, free: 77.32 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003275/1.095, allocations: 83.86 kB / 0.5398 GB, free: 77.23 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.01285/1.108, allocations: 3.436 MB / 0.5432 GB, free: 73.72 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/1.108, allocations: 12.03 kB / 0.5432 GB, free: 73.71 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00305/1.111, allocations: 483.4 kB / 0.5437 GB, free: 73.23 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006941/1.118, allocations: 2.088 MB / 0.5457 GB, free: 71.09 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004077/1.118, allocations: 387.8 kB / 0.5461 GB, free: 70.68 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00112/1.119, allocations: 287.9 kB / 0.5463 GB, free: 70.39 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01111/1.131, allocations: 3.668 MB / 0.5499 GB, free: 66.57 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001643/1.131, allocations: 11.84 kB / 0.5499 GB, free: 66.56 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007535/1.132, allocations: 120 kB / 0.5501 GB, free: 66.45 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001356/1.132, allocations: 113.5 kB / 0.5502 GB, free: 66.33 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009475/1.141, allocations: 2.946 MB / 0.553 GB, free: 63.38 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0301/1.171, allocations: 11.97 MB / 0.5647 GB, free: 51.05 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004985/1.176, allocations: 2.868 MB / 0.5675 GB, free: 47.97 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004649/1.177, allocations: 134.4 kB / 0.5677 GB, free: 47.82 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00281/1.18, allocations: 1.175 MB / 0.5688 GB, free: 46.61 MB / 378.7 MB Notification: Performance of pre-optimization done (n=156): time 4.919e-06/1.18, allocations: 0 / 0.5688 GB, free: 46.61 MB / 378.7 MB Notification: Performance of matching and sorting (n=179): time 0.03503/1.215, allocations: 9.435 MB / 0.578 GB, free: 37.04 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001156/1.215, allocations: 312.7 kB / 0.5783 GB, free: 36.67 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004304/1.219, allocations: 1.863 MB / 0.5801 GB, free: 34.78 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004646/1.22, allocations: 61.7 kB / 0.5802 GB, free: 34.71 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001208/1.221, allocations: 1.292 MB / 0.5815 GB, free: 33.41 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008206/1.222, allocations: 0.6049 MB / 0.582 GB, free: 32.79 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002328/1.222, allocations: 40 kB / 0.5821 GB, free: 32.75 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001634/1.222, allocations: 390.8 kB / 0.5825 GB, free: 32.36 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002687/1.225, allocations: 1.054 MB / 0.5835 GB, free: 31.3 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003202/1.228, allocations: 1.592 MB / 0.585 GB, free: 29.49 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003197/1.231, allocations: 1.255 MB / 0.5863 GB, free: 28.24 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.584e-05/1.232, allocations: 4 kB / 0.5863 GB, free: 28.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=263) (initialization): time 0.009524/1.241, allocations: 3.532 MB / 0.5897 GB, free: 24.67 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001005/1.242, allocations: 5.153 MB / 0.5948 GB, free: 19.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.338e-05/1.242, allocations: 12 kB / 0.5948 GB, free: 19.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004971/1.247, allocations: 1.196 MB / 0.5959 GB, free: 17.89 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002739/1.25, allocations: 379.3 kB / 0.5963 GB, free: 17.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02199/1.272, allocations: 14.88 MB / 0.6108 GB, free: 1.836 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003675/1.276, allocations: 175.9 kB / 0.611 GB, free: 1.664 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004267/1.276, allocations: 79.94 kB / 0.6111 GB, free: 1.586 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/1.276, allocations: 4 kB / 0.6111 GB, free: 1.582 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00962/1.286, allocations: 3.426 MB / 0.6144 GB, free: 14.13 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.673e-05/1.286, allocations: 16 kB / 0.6144 GB, free: 14.12 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004638/1.291, allocations: 1.175 MB / 0.6156 GB, free: 12.92 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002884/1.294, allocations: 375.4 kB / 0.6159 GB, free: 12.55 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02666/1.32, allocations: 14.94 MB / 0.6305 GB, free: 12.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002469/1.323, allocations: 163.8 kB / 0.6307 GB, free: 12.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003973/1.323, allocations: 83.98 kB / 0.6308 GB, free: 12.55 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 (211): * Single equations (assignments): 204 * 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.00289/1.326, allocations: 0.9772 MB / 0.6317 GB, free: 11.57 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000888/1.327, allocations: 233.2 kB / 0.6319 GB, free: 11.34 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01599/1.343, allocations: 3.513 MB / 0.6354 GB, free: 7.793 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.373e-05/1.343, allocations: 16 kB / 0.6354 GB, free: 7.777 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.726e-05/1.343, allocations: 0 / 0.6354 GB, free: 7.777 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.636e-05/1.343, allocations: 15.95 kB / 0.6354 GB, free: 7.762 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03191/1.375, allocations: 6.73 MB / 0.642 GB, free: 0.9258 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.614e-05/1.375, allocations: 8.062 kB / 0.642 GB, free: 0.918 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002317/1.378, allocations: 203.6 kB / 0.6422 GB, free: 0.7188 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.3304/1.708, allocations: 1.434 MB / 0.6436 GB, free: 98.61 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003895/1.708, allocations: 41.56 kB / 0.6436 GB, free: 98.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02796/1.736, allocations: 15.26 MB / 0.6585 GB, free: 92.3 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/1.736, allocations: 3.938 kB / 0.6585 GB, free: 92.3 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01393/1.75, allocations: 4.965 MB / 0.6634 GB, free: 91.83 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002082/1.753, allocations: 0.5333 MB / 0.6639 GB, free: 91.73 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009109/1.753, allocations: 51.59 kB / 0.6639 GB, free: 91.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003146/1.757, allocations: 141.2 kB / 0.6641 GB, free: 91.73 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009463/1.758, allocations: 219 kB / 0.6643 GB, free: 91.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001929/1.758, allocations: 52.97 kB / 0.6643 GB, free: 91.73 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.004073/1.762, allocations: 1.434 MB / 0.6657 GB, free: 91.58 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.21e-07/1.762, allocations: 0 / 0.6657 GB, free: 91.58 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.007967/1.77, allocations: 1.255 MB / 0.667 GB, free: 91.58 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (114): * Single equations (assignments): 105 * 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.001177/1.771, allocations: 341.5 kB / 0.6673 GB, free: 91.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01809/1.789, allocations: 6.436 MB / 0.6736 GB, free: 89.75 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.383e-05/1.789, allocations: 5.719 kB / 0.6736 GB, free: 89.75 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006739/1.796, allocations: 2.352 MB / 0.6759 GB, free: 88.59 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004626/1.801, allocations: 0.5286 MB / 0.6764 GB, free: 88.44 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01923/1.82, allocations: 7.398 MB / 0.6836 GB, free: 84.83 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003317/1.823, allocations: 2.292 MB / 0.6859 GB, free: 83.85 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001074/1.825, allocations: 147.1 kB / 0.686 GB, free: 83.84 MB / 410.7 MB Notification: Performance of SimCode: time 1.703e-06/1.825, allocations: 0 / 0.686 GB, free: 83.84 MB / 410.7 MB Notification: Performance of Templates: time 0.4773/2.302, allocations: 118.2 MB / 0.8014 GB, free: 129.9 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