Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.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_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|constantSpeed.phi|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|constantSpeed.phi|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001321/0.001321, allocations: 177 kB / 8.7 MB, free: 384 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.37/1.37, allocations: 205.3 MB / 214.4 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008699/0.0008699, allocations: 90.22 kB / 262.4 MB, free: 1.688 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.335e-05/1.337e-05, allocations: 4 kB / 315.5 MB, free: 22.73 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07279/0.07282, allocations: 47.6 MB / 363.1 MB, free: 7.074 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3178/0.3907, allocations: 113.1 MB / 476.1 MB, free: 15.13 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002025/0.3909, allocations: 83.89 kB / 476.2 MB, free: 15.09 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3865/0.7775, allocations: 81.94 MB / 0.5451 GB, free: 91.87 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.7775, allocations: 0.9375 kB / 0.5451 GB, free: 91.87 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001794/0.7777, allocations: 70.34 kB / 0.5452 GB, free: 91.86 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: 656 * Number of variables: 656 Notification: Performance of Generate backend data structure: time 0.005863/0.7836, allocations: 2.618 MB / 0.5477 GB, free: 90.87 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.074e-05/0.7837, allocations: 8.719 kB / 0.5477 GB, free: 90.87 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001733/0.7854, allocations: 422.7 kB / 0.5481 GB, free: 90.71 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00383/0.7892, allocations: 1.829 MB / 0.5499 GB, free: 90.26 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001048/0.7894, allocations: 81.56 kB / 0.55 GB, free: 90.26 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003916/0.7898, allocations: 155.3 kB / 0.5501 GB, free: 90.26 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00356/0.7933, allocations: 2.308 MB / 0.5524 GB, free: 90.25 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003891/0.7972, allocations: 2.778 MB / 0.5551 GB, free: 89.88 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.117e-05/0.7973, allocations: 11.58 kB / 0.5551 GB, free: 89.87 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002026/0.7975, allocations: 3.531 kB / 0.5551 GB, free: 89.87 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.012e-05/0.7976, allocations: 112.4 kB / 0.5552 GB, free: 89.86 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01241/0.81, allocations: 9.98 MB / 0.565 GB, free: 87.32 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001515/0.8116, allocations: 1.728 MB / 0.5667 GB, free: 86.73 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008844/0.8125, allocations: 0.8322 MB / 0.5675 GB, free: 86.71 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002846/0.8128, allocations: 224.5 kB / 0.5677 GB, free: 86.52 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.16e-05/0.8128, allocations: 45.38 kB / 0.5677 GB, free: 86.48 MB / 410.7 MB Notification: Performance of pre-optimization done (n=120): time 2.765e-06/0.8128, allocations: 0 / 0.5677 GB, free: 86.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=145): time 0.008641/0.8214, allocations: 5.427 MB / 0.573 GB, free: 85.58 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.78e-05/0.8215, allocations: 72 kB / 0.5731 GB, free: 85.52 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001617/0.8231, allocations: 1.369 MB / 0.5744 GB, free: 85.04 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.155e-05/0.8232, allocations: 28.83 kB / 0.5745 GB, free: 85 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005256/0.8238, allocations: 1.244 MB / 0.5757 GB, free: 84.04 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002604/0.824, allocations: 478.9 kB / 0.5761 GB, free: 83.67 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.182e-05/0.8241, allocations: 0 / 0.5761 GB, free: 83.67 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.84e-05/0.8242, allocations: 376.5 kB / 0.5765 GB, free: 83.34 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008687/0.8251, allocations: 0.7802 MB / 0.5773 GB, free: 83.04 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001001/0.8261, allocations: 1.254 MB / 0.5785 GB, free: 82.15 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001095/0.8272, allocations: 0.9883 MB / 0.5794 GB, free: 81.79 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.504e-06/0.8272, allocations: 3.625 kB / 0.5794 GB, free: 81.79 MB / 410.7 MB Notification: Performance of matching and sorting (n=220) (initialization): time 0.003532/0.8308, allocations: 2.659 MB / 0.582 GB, free: 80.89 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.8308, allocations: 14.84 kB / 0.5821 GB, free: 80.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.212e-05/0.8308, allocations: 18.67 kB / 0.5821 GB, free: 80.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001182/0.832, allocations: 0.578 MB / 0.5826 GB, free: 80.74 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00135/0.8334, allocations: 416.6 kB / 0.583 GB, free: 80.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005264/0.8386, allocations: 5.206 MB / 0.5881 GB, free: 77.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001466/0.8401, allocations: 104.5 kB / 0.5882 GB, free: 77.85 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001744/0.8403, allocations: 78 kB / 0.5883 GB, free: 77.84 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 69 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (189): * Single equations (assignments): 185 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * 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: 1 {(6,72.2%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002538/0.8406, allocations: 148.1 kB / 0.5884 GB, free: 77.71 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002738/0.8409, allocations: 181.4 kB / 0.5886 GB, free: 77.62 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00354/0.8444, allocations: 2.39 MB / 0.5909 GB, free: 76.75 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.588e-06/0.8444, allocations: 14.09 kB / 0.591 GB, free: 76.75 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.8444, allocations: 7.188 kB / 0.591 GB, free: 76.75 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.447e-05/0.8445, allocations: 7.219 kB / 0.591 GB, free: 76.75 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007252/0.8517, allocations: 4.972 MB / 0.5958 GB, free: 74.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.748e-05/0.8518, allocations: 3.781 kB / 0.5958 GB, free: 74.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009928/0.8528, allocations: 256.4 kB / 0.5961 GB, free: 74.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001457/0.8542, allocations: 0.654 MB / 0.5967 GB, free: 74.57 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.301e-05/0.8543, allocations: 18.62 kB / 0.5967 GB, free: 74.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006217/0.8606, allocations: 6.858 MB / 0.6034 GB, free: 70.29 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.8606, allocations: 3.844 kB / 0.6034 GB, free: 70.29 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004537/0.8651, allocations: 3.797 MB / 0.6071 GB, free: 68.43 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008903/0.866, allocations: 442.2 kB / 0.6076 GB, free: 68.03 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002462/0.8663, allocations: 12 kB / 0.6076 GB, free: 68.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001058/0.8674, allocations: 100.5 kB / 0.6077 GB, free: 67.96 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002305/0.8676, allocations: 113.7 kB / 0.6078 GB, free: 67.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.208e-05/0.8677, allocations: 51.8 kB / 0.6078 GB, free: 67.84 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00131/0.869, allocations: 1.029 MB / 0.6088 GB, free: 66.91 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.869, allocations: 0 / 0.6088 GB, free: 66.91 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001838/0.8709, allocations: 0.5348 MB / 0.6094 GB, free: 66.38 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 5 (smee.phiMechanical,smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[2],smee.idq_dr[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (112): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,75.0%) 23,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004739/0.8714, allocations: 332.4 kB / 0.6097 GB, free: 66.11 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003004/0.8744, allocations: 2.383 MB / 0.612 GB, free: 63.91 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.8744, allocations: 0 / 0.612 GB, free: 63.91 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001957/0.8764, allocations: 1.529 MB / 0.6135 GB, free: 62.52 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001692/0.8781, allocations: 305.4 kB / 0.6138 GB, free: 62.28 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006153/0.8842, allocations: 4.098 MB / 0.6178 GB, free: 58.59 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001324/0.8856, allocations: 2.08 MB / 0.6198 GB, free: 56.94 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001301/0.8869, allocations: 396 kB / 0.6202 GB, free: 56.67 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003534/0.8872, allocations: 122.4 kB / 0.6203 GB, free: 56.55 MB / 410.7 MB Notification: Performance of SimCode: time 7.72e-07/0.8872, allocations: 0 / 0.6203 GB, free: 56.55 MB / 410.7 MB Notification: Performance of Templates: time 0.03529/0.9225, allocations: 24.67 MB / 0.6444 GB, free: 37.04 MB / 410.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/SynchronousInductionMachines/SMEE_Generator/SMEE_Generator.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches