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.002884/0.002884, allocations: 180.6 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.076/2.076, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001546/0.001546, allocations: 82.66 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.106e-05/3.117e-05, allocations: 4 kB / 321.5 MB, free: 17.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0911/0.09117, allocations: 47.58 MB / 369.1 MB, free: 2.188 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4767/0.5679, allocations: 115.6 MB / 484.7 MB, free: 10.16 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00036/0.5684, allocations: 90.69 kB / 484.8 MB, free: 10.11 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5626/1.131, allocations: 62.47 MB / 0.5344 GB, free: 94.57 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.465e-06/1.131, allocations: 0 / 0.5344 GB, free: 94.57 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003906/1.131, allocations: 79.19 kB / 0.5345 GB, free: 94.56 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: 731 * Number of variables: 731 Notification: Performance of Generate backend data structure: time 0.01261/1.144, allocations: 3.024 MB / 0.5375 GB, free: 93.46 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.327e-05/1.144, allocations: 8.844 kB / 0.5375 GB, free: 93.46 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003339/1.148, allocations: 483.2 kB / 0.5379 GB, free: 93.27 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007718/1.155, allocations: 2.062 MB / 0.5399 GB, free: 92.79 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004342/1.156, allocations: 381.3 kB / 0.5403 GB, free: 92.6 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00122/1.157, allocations: 285.9 kB / 0.5406 GB, free: 92.59 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01176/1.169, allocations: 3.59 MB / 0.5441 GB, free: 92.16 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001582/1.169, allocations: 14.05 kB / 0.5441 GB, free: 92.16 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004804/1.17, allocations: 127.3 kB / 0.5442 GB, free: 92.16 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001748/1.17, allocations: 110.5 kB / 0.5443 GB, free: 92.15 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009703/1.179, allocations: 2.822 MB / 0.5471 GB, free: 92.12 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03167/1.211, allocations: 11.97 MB / 0.5588 GB, free: 89.07 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004431/1.216, allocations: 2.774 MB / 0.5615 GB, free: 87.45 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002408/1.218, allocations: 1.104 MB / 0.5626 GB, free: 87.03 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004202/1.219, allocations: 142.8 kB / 0.5627 GB, free: 86.93 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002343/1.221, allocations: 1.124 MB / 0.5638 GB, free: 86.46 MB / 410.7 MB Notification: Performance of pre-optimization done (n=156): time 4.859e-06/1.221, allocations: 0 / 0.5638 GB, free: 86.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=180): time 0.02959/1.251, allocations: 8.008 MB / 0.5716 GB, free: 83.73 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001259/1.251, allocations: 309.5 kB / 0.5719 GB, free: 83.38 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003935/1.255, allocations: 1.845 MB / 0.5737 GB, free: 82.64 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004595/1.255, allocations: 66.77 kB / 0.5738 GB, free: 82.58 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001223/1.256, allocations: 1.289 MB / 0.575 GB, free: 81.53 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008055/1.257, allocations: 0.598 MB / 0.5756 GB, free: 81.07 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001897/1.257, allocations: 43.28 kB / 0.5757 GB, free: 81.04 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001485/1.258, allocations: 391 kB / 0.576 GB, free: 80.69 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002259/1.26, allocations: 1.001 MB / 0.577 GB, free: 80.32 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002661/1.263, allocations: 1.535 MB / 0.5785 GB, free: 79.32 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002682/1.265, allocations: 1.228 MB / 0.5797 GB, free: 78.85 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-05/1.265, allocations: 3.844 kB / 0.5797 GB, free: 78.85 MB / 410.7 MB Notification: Performance of matching and sorting (n=264) (initialization): time 0.008614/1.274, allocations: 3.431 MB / 0.5831 GB, free: 77.65 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001031/1.275, allocations: 5.147 MB / 0.5881 GB, free: 72.17 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.474e-05/1.275, allocations: 15.64 kB / 0.5881 GB, free: 72.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004919/1.28, allocations: 1.189 MB / 0.5893 GB, free: 71.85 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002862/1.283, allocations: 382.1 kB / 0.5896 GB, free: 71.83 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02103/1.304, allocations: 14.57 MB / 0.6039 GB, free: 61.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003726/1.308, allocations: 169.8 kB / 0.604 GB, free: 61.08 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004764/1.308, allocations: 89.78 kB / 0.6041 GB, free: 61.06 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/1.308, allocations: 11.16 kB / 0.6041 GB, free: 61.06 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008343/1.317, allocations: 3.348 MB / 0.6074 GB, free: 59.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.097e-05/1.317, allocations: 17.59 kB / 0.6074 GB, free: 59.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0041/1.321, allocations: 1.154 MB / 0.6085 GB, free: 59.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002766/1.324, allocations: 371 kB / 0.6089 GB, free: 59.44 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02099/1.345, allocations: 14.65 MB / 0.6232 GB, free: 46.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002395/1.347, allocations: 167.7 kB / 0.6233 GB, free: 46.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003366/1.348, allocations: 83.19 kB / 0.6234 GB, free: 46.04 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 () * 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.0006758/1.348, allocations: 251.3 kB / 0.6237 GB, free: 45.8 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008395/1.349, allocations: 237.1 kB / 0.6239 GB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01005/1.359, allocations: 3.422 MB / 0.6272 GB, free: 42.73 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.337e-05/1.359, allocations: 20 kB / 0.6273 GB, free: 42.71 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.099e-05/1.359, allocations: 0 / 0.6273 GB, free: 42.71 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.607e-05/1.359, allocations: 11.83 kB / 0.6273 GB, free: 42.71 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01909/1.378, allocations: 6.688 MB / 0.6338 GB, free: 37.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.939e-05/1.378, allocations: 4 kB / 0.6338 GB, free: 37.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001768/1.38, allocations: 196.1 kB / 0.634 GB, free: 37.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005947/1.386, allocations: 1.402 MB / 0.6354 GB, free: 36 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004025/1.387, allocations: 47.31 kB / 0.6354 GB, free: 35.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02485/1.412, allocations: 14.66 MB / 0.6497 GB, free: 22.15 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.369e-06/1.412, allocations: 0 / 0.6497 GB, free: 22.15 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01159/1.423, allocations: 4.895 MB / 0.6545 GB, free: 17.72 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00195/1.425, allocations: 0.5301 MB / 0.655 GB, free: 17.23 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005838/1.426, allocations: 47.14 kB / 0.6551 GB, free: 17.19 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002592/1.428, allocations: 140.7 kB / 0.6552 GB, free: 17.09 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007298/1.429, allocations: 234.8 kB / 0.6554 GB, free: 16.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001689/1.429, allocations: 55.03 kB / 0.6555 GB, free: 16.91 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002997/1.432, allocations: 1.409 MB / 0.6568 GB, free: 15.6 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.81e-07/1.432, allocations: 2.344 kB / 0.6568 GB, free: 15.6 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005947/1.438, allocations: 1.25 MB / 0.6581 GB, free: 14.35 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) * 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.0008283/1.439, allocations: 351.6 kB / 0.6584 GB, free: 14.07 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01432/1.454, allocations: 6.26 MB / 0.6645 GB, free: 8.23 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.988e-06/1.454, allocations: 256 / 0.6645 GB, free: 8.23 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00572/1.459, allocations: 2.327 MB / 0.6668 GB, free: 6.105 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004199/1.464, allocations: 0.5281 MB / 0.6673 GB, free: 5.688 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01513/1.479, allocations: 5.19 MB / 0.6724 GB, free: 1.094 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002888/1.482, allocations: 2.289 MB / 0.6746 GB, free: 14.78 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001104/1.483, allocations: 147.4 kB / 0.6747 GB, free: 14.63 MB / 426.7 MB Notification: Performance of SimCode: time 1.102e-06/1.483, allocations: 4 kB / 0.6748 GB, free: 14.63 MB / 426.7 MB Notification: Performance of Templates: time 0.4748/1.958, allocations: 118.2 MB / 0.7902 GB, free: 38.38 MB / 426.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