Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_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.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,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.inertiaRotor.phi|smee.inertiaRotor.w|smee.lesigma.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,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.inertiaRotor.phi|smee.inertiaRotor.w|smee.lesigma.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001186/0.001186, allocations: 186.5 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.372/1.372, allocations: 222.9 MB / 240.9 MB, free: 10.98 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.001021/0.001021, allocations: 101 kB / 291.2 MB, free: 10.93 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008054/0.0008054, allocations: 39.94 kB / 350 MB, free: 52 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2364/0.2372, allocations: 49.44 MB / 399.5 MB, free: 33.35 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL): time 0.009315/0.2466, allocations: 11.7 MB / 411.2 MB, free: 21.61 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006399/0.253, allocations: 3.886 MB / 415.1 MB, free: 17.71 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002171/0.2552, allocations: 59.75 kB / 415.1 MB, free: 17.66 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001961/0.2573, allocations: 0.7539 MB / 415.9 MB, free: 16.9 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002419/0.2597, allocations: 0.8897 MB / 416.8 MB, free: 16.01 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009293/0.2607, allocations: 471.5 kB / 417.2 MB, free: 15.55 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00332/0.264, allocations: 3.893 MB / 421.1 MB, free: 11.64 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002299/0.2663, allocations: 2.276 MB / 423.4 MB, free: 9.301 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001697/0.268, allocations: 1.339 MB / 424.7 MB, free: 7.957 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001684/0.2697, allocations: 1.864 MB / 426.6 MB, free: 6.086 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003338/0.2701, allocations: 248 kB / 426.8 MB, free: 5.844 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008426/0.2709, allocations: 0.5034 MB / 427.3 MB, free: 5.34 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006478/0.2716, allocations: 0.9813 MB / 428.3 MB, free: 4.355 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001297/0.2729, allocations: 1.667 MB / 430 MB, free: 2.68 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003423/0.2763, allocations: 5.187 MB / 435.2 MB, free: 13.48 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.2763, allocations: 0 / 435.2 MB, free: 13.48 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.2763, allocations: 0 / 435.2 MB, free: 13.48 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.913e-05/0.2764, allocations: 0 / 435.2 MB, free: 13.48 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: 701 * Number of variables: 701 Notification: Performance of Generate backend data structure: time 0.007114/0.2835, allocations: 3.711 MB / 438.9 MB, free: 9.699 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.2836, allocations: 8.031 kB / 438.9 MB, free: 9.691 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001221/0.2848, allocations: 436.6 kB / 439.3 MB, free: 9.262 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003179/0.288, allocations: 1.899 MB / 441.2 MB, free: 7.309 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001793/0.2882, allocations: 221.3 kB / 441.4 MB, free: 7.09 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003632/0.2886, allocations: 271.8 kB / 441.7 MB, free: 6.824 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005478/0.2941, allocations: 3.517 MB / 445.2 MB, free: 3.227 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.641e-05/0.2941, allocations: 7.906 kB / 445.2 MB, free: 3.219 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002212/0.2944, allocations: 116 kB / 445.3 MB, free: 3.105 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001205/0.2945, allocations: 117.3 kB / 445.5 MB, free: 2.988 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005589/0.3001, allocations: 2.976 MB / 448.4 MB, free: 0 / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01704/0.3172, allocations: 11.08 MB / 459.5 MB, free: 4.582 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002635/0.3198, allocations: 2.293 MB / 461.8 MB, free: 2.125 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001871/0.3217, allocations: 1.184 MB / 463 MB, free: 0.9453 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000295/0.322, allocations: 207.5 kB / 463.2 MB, free: 0.7031 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.63e-05/0.3221, allocations: 47.88 kB / 463.2 MB, free: 0.6484 MB / 330.7 MB Notification: Performance of pre-optimization done (n=131): time 3.667e-06/0.3221, allocations: 0 / 463.2 MB, free: 0.6484 MB / 330.7 MB Notification: Performance of matching and sorting (n=148): time 0.01575/0.3378, allocations: 7.507 MB / 470.7 MB, free: 8.996 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.99e-05/0.3379, allocations: 68.72 kB / 470.8 MB, free: 8.918 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003252/0.3412, allocations: 1.975 MB / 472.8 MB, free: 6.898 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001556/0.3414, allocations: 49.7 kB / 472.8 MB, free: 6.844 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009662/0.3423, allocations: 1.312 MB / 474.1 MB, free: 5.516 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004486/0.3428, allocations: 0.516 MB / 474.7 MB, free: 4.992 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005258/0.3433, allocations: 323.3 kB / 475 MB, free: 4.672 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.3434, allocations: 305.1 kB / 475.3 MB, free: 4.371 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001452/0.3449, allocations: 0.8823 MB / 476.2 MB, free: 3.488 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001799/0.3467, allocations: 1.368 MB / 477.5 MB, free: 1.91 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003239/0.35, allocations: 2.381 MB / 479.9 MB, free: 15.32 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.769e-06/0.35, allocations: 4 kB / 479.9 MB, free: 15.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005157/0.3552, allocations: 2.982 MB / 482.9 MB, free: 12.3 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.839e-05/0.3552, allocations: 15.94 kB / 482.9 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.471e-05/0.3552, allocations: 12 kB / 482.9 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001169/0.3564, allocations: 470.5 kB / 483.4 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001591/0.358, allocations: 435.3 kB / 483.8 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006663/0.3647, allocations: 5.573 MB / 489.4 MB, free: 5.539 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002049/0.3668, allocations: 127.8 kB / 489.5 MB, free: 5.414 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003314/0.3671, allocations: 72 kB / 489.6 MB, free: 5.344 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * Number of states: 0 () * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (199): * Single equations (assignments): 194 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * 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): 2 systems {(3,16,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002011/0.3691, allocations: 0.8563 MB / 490.4 MB, free: 4.477 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007012/0.3699, allocations: 217.4 kB / 490.6 MB, free: 4.262 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004899/0.3748, allocations: 2.588 MB / 493.2 MB, free: 1.641 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.512e-05/0.3748, allocations: 19.94 kB / 493.2 MB, free: 1.621 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.275e-05/0.3748, allocations: 4 kB / 493.3 MB, free: 1.617 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.51e-05/0.3749, allocations: 7.969 kB / 493.3 MB, free: 1.609 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01079/0.3857, allocations: 5.633 MB / 498.9 MB, free: 11.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.119e-05/0.3857, allocations: 0 / 498.9 MB, free: 11.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001223/0.3869, allocations: 283.6 kB / 499.2 MB, free: 11.56 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00138/0.3883, allocations: 0.4923 MB / 499.7 MB, free: 11.06 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001329/0.3885, allocations: 43.92 kB / 499.7 MB, free: 11.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007915/0.3964, allocations: 7.058 MB / 0.4949 GB, free: 3.551 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.585e-06/0.3965, allocations: 7.938 kB / 0.4949 GB, free: 3.543 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2366/0.633, allocations: 25.31 MB / 0.5196 GB, free: 83.11 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007856/0.6339, allocations: 479 kB / 0.5201 GB, free: 82.71 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002254/0.6341, allocations: 39.98 kB / 0.5201 GB, free: 82.67 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001084/0.6352, allocations: 97.92 kB / 0.5202 GB, free: 82.58 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002458/0.6354, allocations: 121 kB / 0.5203 GB, free: 82.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.767e-05/0.6355, allocations: 47.98 kB / 0.5204 GB, free: 82.41 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001525/0.6371, allocations: 1.355 MB / 0.5217 GB, free: 81.04 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.6371, allocations: 0 / 0.5217 GB, free: 81.04 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002041/0.6391, allocations: 0.814 MB / 0.5225 GB, free: 80.23 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 7 (smee.inertiaRotor.w,smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[1],smee.idq_rr[2],smee.idq_dr[1],mechanicalMultiSensor.flange_a.phi) * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (125): * Single equations (assignments): 120 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,16,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.000366/0.6395, allocations: 223.8 kB / 0.5227 GB, free: 80.02 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003255/0.6428, allocations: 2.599 MB / 0.5252 GB, free: 77.39 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.6428, allocations: 0 / 0.5252 GB, free: 77.39 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002086/0.6449, allocations: 1.607 MB / 0.5268 GB, free: 75.77 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001926/0.6468, allocations: 472.1 kB / 0.5273 GB, free: 75.33 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009792/0.6566, allocations: 8.358 MB / 0.5354 GB, free: 66.92 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001467/0.6581, allocations: 2.191 MB / 0.5376 GB, free: 64.7 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.00155/0.6597, allocations: 481 kB / 0.538 GB, free: 64.22 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004501/0.6602, allocations: 143.4 kB / 0.5381 GB, free: 64.08 MB / 378.7 MB Notification: Performance of SimCode: time 6.51e-07/0.6602, allocations: 0 / 0.5381 GB, free: 64.08 MB / 378.7 MB Notification: Performance of Templates: time 0.04726/0.7074, allocations: 35.35 MB / 0.5727 GB, free: 29.04 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMEE_DOL/SMEE_DOL.csv","../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches