Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009148/0.0009148, allocations: 84.73 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009488/0.0009488, allocations: 160.2 kB / 24.91 MB, free: 8.766 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8964/0.8964, allocations: 177 MB / 205.2 MB, free: 5.441 MB / 186.7 MB " [Timeout remaining time 179] 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|smee.is.[0-9,]+.|smee.idq_dr.[0-9,]+.|smee.idq_rr.[0-9,]+.|smee.idq_sr.[0-9,]+.|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.lesigma.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|smee.is.[0-9,]+.|smee.idq_dr.[0-9,]+.|smee.idq_rr.[0-9,]+.|smee.idq_sr.[0-9,]+.|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.lesigma.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 273.4 MB, free: 1.207 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.162e-05/1.296e-05, allocations: 2.312 kB / 273.4 MB, free: 1.203 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL): time 0.01386/0.01387, allocations: 11.42 MB / 284.8 MB, free: 5.727 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.008462/0.02234, allocations: 4.055 MB / 288.9 MB, free: 1.656 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001336/0.02367, allocations: 83.44 kB / 289 MB, free: 1.574 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002094/0.02577, allocations: 0.8557 MB / 289.8 MB, free: 0.7109 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.09035/0.1161, allocations: 1.076 MB / 290.9 MB, free: 16.28 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001146/0.1173, allocations: 0.5378 MB / 291.4 MB, free: 16.28 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002918/0.1202, allocations: 3.595 MB / 295 MB, free: 15.42 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001524/0.1217, allocations: 1.527 MB / 296.5 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002753/0.1245, allocations: 2.547 MB / 299.1 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001722/0.1262, allocations: 1.726 MB / 300.8 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004158/0.1266, allocations: 397.3 kB / 301.2 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007427/0.1273, allocations: 0.6147 MB / 301.8 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005929/0.1279, allocations: 1.156 MB / 303 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009012/0.1288, allocations: 1.253 MB / 304.2 MB, free: 12.93 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001778/0.1306, allocations: 3.005 MB / 307.2 MB, free: 11.68 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.1306, allocations: 0 / 307.2 MB, free: 11.68 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1306, allocations: 6.219 kB / 307.2 MB, free: 11.68 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.478e-05/0.1306, allocations: 0 / 307.2 MB, free: 11.68 MB / 266.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.002789/0.1334, allocations: 3.453 MB / 310.7 MB, free: 9.5 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.731e-05/0.1335, allocations: 18.14 kB / 310.7 MB, free: 9.492 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009988/0.1345, allocations: 0.5768 MB / 311.3 MB, free: 9.273 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00128/0.1357, allocations: 1.316 MB / 312.6 MB, free: 8.008 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.142e-05/0.1358, allocations: 210.2 kB / 312.8 MB, free: 7.805 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000203/0.136, allocations: 265.2 kB / 313.1 MB, free: 7.547 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001588/0.1376, allocations: 2.07 MB / 315.1 MB, free: 5.488 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.569e-05/0.1376, allocations: 11.94 kB / 315.2 MB, free: 5.477 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001392/0.1378, allocations: 112.6 kB / 315.3 MB, free: 5.371 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.155e-05/0.1379, allocations: 121.3 kB / 315.4 MB, free: 5.25 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009614/0.1388, allocations: 0.7812 MB / 316.2 MB, free: 4.449 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006301/0.1451, allocations: 7.194 MB / 323.4 MB, free: 13.51 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008792/0.146, allocations: 0.8042 MB / 324.2 MB, free: 12.74 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006188/0.1466, allocations: 456.4 kB / 324.6 MB, free: 12.31 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001699/0.1468, allocations: 63.34 kB / 324.7 MB, free: 12.25 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.738e-05/0.1468, allocations: 51.86 kB / 324.7 MB, free: 12.19 MB / 282.7 MB Notification: Performance of pre-optimization done (n=130): time 2.485e-06/0.1468, allocations: 0 / 324.7 MB, free: 12.19 MB / 282.7 MB Notification: Performance of matching and sorting (n=147): time 0.004573/0.1514, allocations: 2.84 MB / 327.6 MB, free: 9.395 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.893e-05/0.1514, allocations: 68.72 kB / 327.6 MB, free: 9.312 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009034/0.1523, allocations: 1.304 MB / 328.9 MB, free: 8.25 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.813e-05/0.1524, allocations: 49.7 kB / 329 MB, free: 8.195 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004253/0.1528, allocations: 1.111 MB / 330.1 MB, free: 7.152 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002575/0.1531, allocations: 0.5239 MB / 330.6 MB, free: 6.656 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002989/0.1534, allocations: 307.9 kB / 330.9 MB, free: 6.387 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.366e-05/0.1534, allocations: 305.1 kB / 331.2 MB, free: 6.086 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002943/0.1537, allocations: 206.7 kB / 331.4 MB, free: 5.883 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005742/0.1543, allocations: 0.6683 MB / 332.1 MB, free: 5.059 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008501/0.1551, allocations: 1.072 MB / 333.2 MB, free: 3.879 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.212e-06/0.1552, allocations: 4 kB / 333.2 MB, free: 3.875 MB / 282.7 MB Notification: Performance of matching and sorting (n=225) (initialization): time 0.001401/0.1566, allocations: 1.195 MB / 334.4 MB, free: 2.773 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.1566, allocations: 12 kB / 334.4 MB, free: 2.762 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.364e-05/0.1566, allocations: 12 kB / 334.4 MB, free: 2.75 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006057/0.1572, allocations: 299.3 kB / 334.7 MB, free: 2.453 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007203/0.1579, allocations: 371.9 kB / 335 MB, free: 2.113 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003244/0.1612, allocations: 3.736 MB / 338.8 MB, free: 14.27 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005351/0.1617, allocations: 67.92 kB / 338.8 MB, free: 14.21 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.327e-05/0.1618, allocations: 59.05 kB / 338.9 MB, free: 14.15 MB / 298.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 (198): * Single equations (assignments): 193 * 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.0003537/0.1621, allocations: 224.7 kB / 339.1 MB, free: 13.95 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002181/0.1623, allocations: 171.8 kB / 339.3 MB, free: 13.78 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001173/0.1635, allocations: 0.9821 MB / 340.3 MB, free: 12.79 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.739e-05/0.1635, allocations: 16 kB / 340.3 MB, free: 12.77 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.1635, allocations: 4 kB / 340.3 MB, free: 12.77 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.06e-05/0.1636, allocations: 7.969 kB / 340.3 MB, free: 12.76 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003055/0.1666, allocations: 2.844 MB / 343.1 MB, free: 10.23 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.1666, allocations: 8.094 kB / 343.1 MB, free: 10.23 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005301/0.1671, allocations: 241.7 kB / 343.4 MB, free: 10 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007323/0.1679, allocations: 386.8 kB / 343.8 MB, free: 9.617 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.623e-05/0.1679, allocations: 35.98 kB / 343.8 MB, free: 9.582 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002799/0.1707, allocations: 4.933 MB / 348.7 MB, free: 4.441 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.1707, allocations: 4 kB / 348.7 MB, free: 4.438 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001529/0.1723, allocations: 1.441 MB / 350.2 MB, free: 2.977 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003613/0.1726, allocations: 246.6 kB / 350.4 MB, free: 2.734 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001478/0.1728, allocations: 43.27 kB / 350.5 MB, free: 2.695 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004289/0.1732, allocations: 55.97 kB / 350.5 MB, free: 2.641 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001526/0.1734, allocations: 116.2 kB / 350.6 MB, free: 2.527 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.656e-05/0.1734, allocations: 35.98 kB / 350.7 MB, free: 2.492 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000518/0.1739, allocations: 0.6662 MB / 351.3 MB, free: 1.902 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1739, allocations: 0 / 351.3 MB, free: 1.902 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0009595/0.1749, allocations: 0.5741 MB / 351.9 MB, free: 1.328 MB / 298.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 (124): * Single equations (assignments): 119 * 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%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002711/0.1752, allocations: 197.1 kB / 352.1 MB, free: 1.145 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001212/0.1764, allocations: 1.202 MB / 353.3 MB, free: 0 / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.894e-05/0.1764, allocations: 25.86 kB / 353.3 MB, free: 15.97 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008438/0.1773, allocations: 0.9077 MB / 354.2 MB, free: 15.07 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009865/0.1782, allocations: 444.7 kB / 354.7 MB, free: 14.66 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00477/0.183, allocations: 4.571 MB / 359.2 MB, free: 10.04 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004917/0.1835, allocations: 0.6269 MB / 359.9 MB, free: 9.391 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0005253/0.184, allocations: 249.6 kB / 360.1 MB, free: 9.148 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007361/0.1848, allocations: 459.1 kB / 360.5 MB, free: 8.695 MB / 314.7 MB Notification: Performance of SimCode: time 5.81e-07/0.1848, allocations: 3.938 kB / 360.6 MB, free: 8.691 MB / 314.7 MB Notification: Performance of Templates: time 0.03327/0.218, allocations: 30.3 MB / 390.8 MB, free: 10.86 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMEE_DOL/SMEE_DOL.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.497945454902947]