Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001293/0.001293, allocations: 188.9 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.343/1.343, allocations: 222.9 MB / 240.9 MB, free: 10.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009714/0.0009713, allocations: 104.8 kB / 291.2 MB, free: 10.94 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001175/0.001175, allocations: 39.95 kB / 350 MB, free: 68 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2682/0.2694, allocations: 49.43 MB / 399.5 MB, free: 33.37 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL): time 0.008126/0.2776, allocations: 10.12 MB / 409.6 MB, free: 23.22 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004678/0.2823, allocations: 3.195 MB / 412.8 MB, free: 20.02 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001132/0.2835, allocations: 51.75 kB / 412.8 MB, free: 19.97 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001532/0.285, allocations: 0.6097 MB / 413.4 MB, free: 19.36 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002233/0.2873, allocations: 0.7538 MB / 414.2 MB, free: 18.6 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007201/0.288, allocations: 367.7 kB / 414.6 MB, free: 18.24 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002574/0.2906, allocations: 3.407 MB / 418 MB, free: 14.82 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001893/0.2925, allocations: 2.096 MB / 420.1 MB, free: 12.66 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001297/0.2938, allocations: 1.179 MB / 421.2 MB, free: 11.48 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001592/0.2954, allocations: 1.619 MB / 422.9 MB, free: 9.852 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003941/0.2958, allocations: 216 kB / 423.1 MB, free: 9.641 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006989/0.2966, allocations: 331.7 kB / 423.4 MB, free: 9.316 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005956/0.2972, allocations: 0.8761 MB / 424.3 MB, free: 8.438 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00116/0.2983, allocations: 1.454 MB / 425.7 MB, free: 6.977 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002488/0.3008, allocations: 4.498 MB / 430.2 MB, free: 2.465 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3008, allocations: 0 / 430.2 MB, free: 2.465 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.3009, allocations: 4 kB / 430.2 MB, free: 2.461 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.965e-05/0.3009, allocations: 0 / 430.2 MB, free: 2.461 MB / 298.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.005507/0.3064, allocations: 3.26 MB / 433.5 MB, free: 15.13 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.3065, allocations: 12.03 kB / 433.5 MB, free: 15.12 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007363/0.3072, allocations: 329.2 kB / 433.8 MB, free: 14.8 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002901/0.3101, allocations: 1.705 MB / 435.5 MB, free: 13.04 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000167/0.3103, allocations: 188.9 kB / 435.7 MB, free: 12.85 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003338/0.3107, allocations: 228 kB / 435.9 MB, free: 12.62 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00517/0.3158, allocations: 3.137 MB / 439.1 MB, free: 9.398 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.531e-05/0.3159, allocations: 3.906 kB / 439.1 MB, free: 9.395 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002194/0.3162, allocations: 95.98 kB / 439.2 MB, free: 9.301 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001118/0.3163, allocations: 104.6 kB / 439.3 MB, free: 9.195 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004973/0.3213, allocations: 2.7 MB / 442 MB, free: 6.48 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02117/0.3425, allocations: 9.723 MB / 451.7 MB, free: 12.46 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004294/0.3468, allocations: 2.167 MB / 453.9 MB, free: 10.13 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003072/0.3499, allocations: 1.112 MB / 455 MB, free: 9.02 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004294/0.3504, allocations: 207 kB / 455.2 MB, free: 8.781 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.846e-05/0.3505, allocations: 51.5 kB / 455.2 MB, free: 8.723 MB / 330.7 MB Notification: Performance of pre-optimization done (n=116): time 6.512e-06/0.3505, allocations: 4 kB / 455.2 MB, free: 8.719 MB / 330.7 MB Notification: Performance of matching and sorting (n=131): time 0.0257/0.3762, allocations: 6.839 MB / 462.1 MB, free: 1.711 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.838e-05/0.3764, allocations: 64.72 kB / 462.1 MB, free: 1.637 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004606/0.381, allocations: 1.746 MB / 463.9 MB, free: 15.89 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002602/0.3813, allocations: 45.7 kB / 463.9 MB, free: 15.84 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001336/0.3826, allocations: 1.155 MB / 465.1 MB, free: 14.66 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007315/0.3834, allocations: 453.5 kB / 465.5 MB, free: 14.21 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007827/0.3842, allocations: 283.3 kB / 465.8 MB, free: 13.93 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.3843, allocations: 309.1 kB / 466.1 MB, free: 13.63 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002437/0.3868, allocations: 0.7964 MB / 466.9 MB, free: 12.83 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002791/0.3896, allocations: 1.201 MB / 468.1 MB, free: 11.46 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005428/0.3951, allocations: 2.098 MB / 470.2 MB, free: 9.195 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.506e-05/0.3951, allocations: 4 kB / 470.2 MB, free: 9.191 MB / 346.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.008212/0.4033, allocations: 2.666 MB / 472.9 MB, free: 6.484 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.627e-05/0.4034, allocations: 11.94 kB / 472.9 MB, free: 6.473 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.494e-05/0.4035, allocations: 12 kB / 472.9 MB, free: 6.461 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001835/0.4053, allocations: 423.4 kB / 473.3 MB, free: 6.035 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002747/0.4081, allocations: 359.4 kB / 473.6 MB, free: 5.684 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01117/0.4193, allocations: 6.486 MB / 480.1 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002412/0.4217, allocations: 111.8 kB / 480.2 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002389/0.422, allocations: 63.98 kB / 480.3 MB, free: 14.62 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.002112/0.4241, allocations: 0.7939 MB / 481.1 MB, free: 13.81 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005867/0.4247, allocations: 189.8 kB / 481.3 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006085/0.4308, allocations: 2.379 MB / 483.7 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.236e-05/0.4309, allocations: 16 kB / 483.7 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.375e-06/0.4309, allocations: 7.938 kB / 483.7 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.392e-05/0.4309, allocations: 7.969 kB / 483.7 MB, free: 11.17 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008934/0.4398, allocations: 5.132 MB / 488.8 MB, free: 5.895 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.057e-05/0.4399, allocations: 4 kB / 488.8 MB, free: 5.891 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009823/0.4409, allocations: 235.6 kB / 489.1 MB, free: 5.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001176/0.4421, allocations: 454.3 kB / 489.5 MB, free: 5.207 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001172/0.4422, allocations: 35.98 kB / 489.5 MB, free: 5.172 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007719/0.4499, allocations: 7.943 MB / 497.5 MB, free: 12.7 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.223e-06/0.45, allocations: 7.938 kB / 497.5 MB, free: 12.69 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.213/0.663, allocations: 25.04 MB / 0.5103 GB, free: 86.89 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009041/0.6639, allocations: 428.6 kB / 0.5107 GB, free: 86.71 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002335/0.6642, allocations: 39.36 kB / 0.5107 GB, free: 86.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009402/0.6651, allocations: 88.08 kB / 0.5108 GB, free: 86.67 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003063/0.6654, allocations: 121.5 kB / 0.5109 GB, free: 86.65 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.639e-05/0.6655, allocations: 39.03 kB / 0.511 GB, free: 86.64 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001393/0.6669, allocations: 1.195 MB / 0.5121 GB, free: 86.2 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.6669, allocations: 0 / 0.5121 GB, free: 86.2 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001974/0.6689, allocations: 0.7069 MB / 0.5128 GB, free: 86.14 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.000332/0.6692, allocations: 202.2 kB / 0.513 GB, free: 86.02 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003079/0.6723, allocations: 2.458 MB / 0.5154 GB, free: 84.94 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.6723, allocations: 0 / 0.5154 GB, free: 84.94 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002014/0.6744, allocations: 1.611 MB / 0.517 GB, free: 84.11 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002017/0.6764, allocations: 455.4 kB / 0.5174 GB, free: 83.98 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008486/0.6849, allocations: 7.591 MB / 0.5248 GB, free: 77.1 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00151/0.6865, allocations: 2.052 MB / 0.5268 GB, free: 75.19 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001354/0.6878, allocations: 463.6 kB / 0.5273 GB, free: 74.73 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000409/0.6882, allocations: 131.4 kB / 0.5274 GB, free: 74.61 MB / 378.7 MB Notification: Performance of SimCode: time 1.031e-06/0.6883, allocations: 0 / 0.5274 GB, free: 74.61 MB / 378.7 MB Notification: Performance of Templates: time 0.04437/0.7326, allocations: 32.04 MB / 0.5587 GB, free: 42.86 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches