Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|loadInertia.phi|loadInertia.w|smr.is.1.|smr.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|loadInertia.phi|loadInertia.w|smr.is.1.|smr.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001869/0.001869, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.394/1.394, allocations: 226.7 MB / 245.5 MB, free: 6.984 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001047/0.001047, allocations: 109.2 kB / 296.7 MB, free: 6.484 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000964/0.0009644, allocations: 51.92 kB / 356.6 MB, free: 10.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1857/0.1866, allocations: 50.45 MB / 407.1 MB, free: 27.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL): time 0.007791/0.1945, allocations: 10.12 MB / 417.2 MB, free: 17.65 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004233/0.1988, allocations: 3.258 MB / 420.4 MB, free: 14.39 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008083/0.1996, allocations: 51.75 kB / 420.5 MB, free: 14.34 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001188/0.2008, allocations: 0.6252 MB / 421.1 MB, free: 13.71 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001427/0.2022, allocations: 0.7538 MB / 421.9 MB, free: 12.95 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005648/0.2028, allocations: 371.6 kB / 422.2 MB, free: 12.59 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002/0.2048, allocations: 3.393 MB / 425.6 MB, free: 9.188 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00165/0.2065, allocations: 2.092 MB / 427.7 MB, free: 7.031 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009715/0.2075, allocations: 1.183 MB / 428.9 MB, free: 5.844 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0013/0.2088, allocations: 1.634 MB / 430.5 MB, free: 4.203 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003066/0.2091, allocations: 219.9 kB / 430.7 MB, free: 3.988 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000597/0.2097, allocations: 331.8 kB / 431.1 MB, free: 3.664 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005602/0.2103, allocations: 0.8684 MB / 431.9 MB, free: 2.793 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001017/0.2113, allocations: 1.465 MB / 433.4 MB, free: 1.32 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003424/0.2147, allocations: 4.513 MB / 437.9 MB, free: 12.79 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.2148, allocations: 0 / 437.9 MB, free: 12.79 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.2148, allocations: 0 / 437.9 MB, free: 12.79 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.38e-05/0.2148, allocations: 0 / 437.9 MB, free: 12.79 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 606 * Number of variables: 606 Notification: Performance of Generate backend data structure: time 0.006209/0.2211, allocations: 3.276 MB / 441.2 MB, free: 9.449 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.2211, allocations: 8.031 kB / 441.2 MB, free: 9.441 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001028/0.2221, allocations: 357.2 kB / 441.6 MB, free: 9.09 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002958/0.2251, allocations: 1.694 MB / 443.2 MB, free: 7.34 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000158/0.2253, allocations: 188.9 kB / 443.4 MB, free: 7.152 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003137/0.2256, allocations: 235.9 kB / 443.7 MB, free: 6.922 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004747/0.2304, allocations: 3.133 MB / 446.8 MB, free: 3.699 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.282e-05/0.2304, allocations: 11.94 kB / 446.8 MB, free: 3.688 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000196/0.2306, allocations: 92 kB / 446.9 MB, free: 3.598 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001049/0.2308, allocations: 108.6 kB / 447 MB, free: 3.488 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004341/0.2351, allocations: 2.692 MB / 449.7 MB, free: 0.7812 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01431/0.2494, allocations: 9.727 MB / 459.4 MB, free: 6.754 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002531/0.252, allocations: 2.177 MB / 461.6 MB, free: 4.406 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001809/0.2538, allocations: 1.113 MB / 462.7 MB, free: 3.297 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002771/0.2541, allocations: 207.2 kB / 462.9 MB, free: 3.059 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.131e-05/0.2542, allocations: 43.56 kB / 463 MB, free: 3.008 MB / 330.7 MB Notification: Performance of pre-optimization done (n=116): time 4.588e-06/0.2542, allocations: 0 / 463 MB, free: 3.008 MB / 330.7 MB Notification: Performance of matching and sorting (n=131): time 0.01384/0.268, allocations: 6.845 MB / 469.8 MB, free: 12 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.696e-05/0.2681, allocations: 68.66 kB / 469.9 MB, free: 11.92 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00235/0.2705, allocations: 1.751 MB / 471.6 MB, free: 10.16 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.671e-05/0.2706, allocations: 45.7 kB / 471.7 MB, free: 10.11 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007382/0.2713, allocations: 1.148 MB / 472.8 MB, free: 8.949 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000336/0.2717, allocations: 461.4 kB / 473.3 MB, free: 8.492 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004428/0.2721, allocations: 291.3 kB / 473.5 MB, free: 8.203 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.363e-05/0.2722, allocations: 305.1 kB / 473.8 MB, free: 7.902 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001228/0.2734, allocations: 0.7886 MB / 474.6 MB, free: 7.113 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001462/0.2749, allocations: 1.209 MB / 475.8 MB, free: 5.727 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002746/0.2777, allocations: 2.094 MB / 477.9 MB, free: 3.465 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.2777, allocations: 4 kB / 477.9 MB, free: 3.461 MB / 346.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.00414/0.2818, allocations: 2.67 MB / 480.6 MB, free: 0.75 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.591e-05/0.2819, allocations: 14.66 kB / 480.6 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.882e-05/0.2819, allocations: 12 kB / 480.6 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009664/0.2829, allocations: 411.5 kB / 481 MB, free: 320 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001334/0.2842, allocations: 371.4 kB / 481.4 MB, free: 15.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006307/0.2905, allocations: 6.5 MB / 487.9 MB, free: 9.043 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001471/0.292, allocations: 103.9 kB / 488 MB, free: 8.941 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001595/0.2922, allocations: 60 kB / 488.1 MB, free: 8.883 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 3 (idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (174): * Single equations (assignments): 170 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,11,100.0%), (1,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00136/0.2936, allocations: 0.807 MB / 488.9 MB, free: 8.066 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003426/0.2939, allocations: 189.6 kB / 489.1 MB, free: 7.879 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003908/0.2978, allocations: 2.368 MB / 491.4 MB, free: 5.473 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-05/0.2979, allocations: 12 kB / 491.4 MB, free: 5.461 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.2979, allocations: 4 kB / 491.4 MB, free: 5.457 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.421e-05/0.2979, allocations: 7.969 kB / 491.4 MB, free: 5.449 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008076/0.306, allocations: 5.136 MB / 496.6 MB, free: 176 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.534e-06/0.306, allocations: 4 kB / 496.6 MB, free: 172 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009971/0.307, allocations: 232 kB / 496.8 MB, free: 15.94 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001096/0.3081, allocations: 458.2 kB / 497.3 MB, free: 15.48 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.709e-05/0.3082, allocations: 31.98 kB / 497.3 MB, free: 15.45 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007224/0.3155, allocations: 7.944 MB / 0.4934 GB, free: 6.973 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.3155, allocations: 7.938 kB / 0.4934 GB, free: 6.965 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1944/0.51, allocations: 25.04 MB / 0.5179 GB, free: 79.32 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007184/0.5107, allocations: 435.7 kB / 0.5183 GB, free: 79.14 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000205/0.5109, allocations: 31.78 kB / 0.5183 GB, free: 79.12 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009127/0.5119, allocations: 88.27 kB / 0.5184 GB, free: 79.11 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002636/0.5121, allocations: 115.3 kB / 0.5185 GB, free: 79.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.509e-05/0.5122, allocations: 42.14 kB / 0.5185 GB, free: 79.08 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001378/0.5136, allocations: 1.2 MB / 0.5197 GB, free: 78.63 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5136, allocations: 0 / 0.5197 GB, free: 78.63 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001812/0.5154, allocations: 0.7027 MB / 0.5204 GB, free: 78.58 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 6 (smr.inertiaRotor.w,smr.idq_sr[1],smr.idq_sr[2],smr.idq_dr[1],smr.idq_dr[2],loadInertia.phi) * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (114): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,11,100.0%), (1,1,100.0%), (1,6,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003095/0.5157, allocations: 196.6 kB / 0.5206 GB, free: 78.46 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003153/0.5189, allocations: 2.453 MB / 0.523 GB, free: 76.73 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.5189, allocations: 6.469 kB / 0.523 GB, free: 76.72 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001972/0.5209, allocations: 1.602 MB / 0.5245 GB, free: 75.29 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001864/0.5228, allocations: 468 kB / 0.525 GB, free: 74.89 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007384/0.5302, allocations: 7.581 MB / 0.5324 GB, free: 67.34 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001197/0.5314, allocations: 2.048 MB / 0.5344 GB, free: 65.25 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001211/0.5326, allocations: 463.4 kB / 0.5348 GB, free: 64.8 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003859/0.533, allocations: 127.4 kB / 0.535 GB, free: 64.67 MB / 378.7 MB Notification: Performance of SimCode: time 6.61e-07/0.533, allocations: 0 / 0.535 GB, free: 64.67 MB / 378.7 MB Notification: Performance of Templates: time 0.03914/0.5722, allocations: 32.11 MB / 0.5663 GB, free: 32.81 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMR_DOL/SMR_DOL.csv","../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches