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.001039/0.001039, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001534/0.002573, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.001051/0.001051, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001371/0.002423, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.9422/0.9422, allocations: 177.5 MB / 190 MB, free: 4.82 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08439/1.027, allocations: 53.87 MB / 243.9 MB, free: 14.88 MB / 250.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.844e-06/1.844e-06, allocations: 0 / 245.2 MB, free: 13.59 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.814e-05/1.999e-05, allocations: 2.312 kB / 245.2 MB, free: 13.58 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL): time 0.009024/0.009044, allocations: 11.55 MB / 256.8 MB, free: 1.98 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005445/0.01449, allocations: 4.075 MB / 260.8 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006716/0.01516, allocations: 83.44 kB / 260.9 MB, free: 13.81 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001188/0.01635, allocations: 0.8674 MB / 261.8 MB, free: 12.94 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001426/0.01777, allocations: 1.075 MB / 262.9 MB, free: 11.86 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006699/0.01844, allocations: 0.5342 MB / 263.4 MB, free: 11.32 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003023/0.02147, allocations: 3.606 MB / 267 MB, free: 7.699 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001651/0.02312, allocations: 1.522 MB / 268.5 MB, free: 6.098 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003421/0.02654, allocations: 2.799 MB / 271.3 MB, free: 3.273 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002333/0.02887, allocations: 1.722 MB / 273 MB, free: 1.547 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005331/0.02941, allocations: 396 kB / 273.4 MB, free: 1.16 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000973/0.03038, allocations: 0.6128 MB / 274 MB, free: 0.5469 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.1144/0.1448, allocations: 0.9453 MB / 275 MB, free: 7.359 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002105/0.1469, allocations: 1.026 MB / 276 MB, free: 7.359 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00323/0.1501, allocations: 2.803 MB / 278.8 MB, free: 7.113 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.007e-05/0.1501, allocations: 0 / 278.8 MB, free: 7.113 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1501, allocations: 1.438 kB / 278.8 MB, free: 7.113 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001243/0.1502, allocations: 0 / 278.8 MB, free: 7.113 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.005325/0.1556, allocations: 4.122 MB / 282.9 MB, free: 5.668 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.193e-05/0.1556, allocations: 10.22 kB / 283 MB, free: 5.668 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001262/0.1569, allocations: 0.6534 MB / 283.6 MB, free: 5.57 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002054/0.1589, allocations: 1.325 MB / 284.9 MB, free: 5.07 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001345/0.1591, allocations: 204 kB / 285.1 MB, free: 5.062 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003267/0.1594, allocations: 269.5 kB / 285.4 MB, free: 5.059 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002499/0.1619, allocations: 2.067 MB / 287.5 MB, free: 4.648 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.971e-05/0.1619, allocations: 8.094 kB / 287.5 MB, free: 4.648 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000159/0.1621, allocations: 110.1 kB / 287.6 MB, free: 4.648 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.014e-05/0.1622, allocations: 116.7 kB / 287.7 MB, free: 4.641 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001048/0.1632, allocations: 0.781 MB / 288.5 MB, free: 4.547 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006456/0.1697, allocations: 7.237 MB / 295.7 MB, free: 1.723 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008855/0.1706, allocations: 0.8029 MB / 296.5 MB, free: 1.613 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006261/0.1712, allocations: 452.8 kB / 297 MB, free: 1.598 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001655/0.1714, allocations: 63.67 kB / 297 MB, free: 1.59 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.507e-05/0.1714, allocations: 46.06 kB / 297.1 MB, free: 1.551 MB / 266.7 MB Notification: Performance of pre-optimization done (n=130): time 3.086e-06/0.1714, allocations: 0 / 297.1 MB, free: 1.551 MB / 266.7 MB Notification: Performance of matching and sorting (n=147): time 0.005167/0.1765, allocations: 2.888 MB / 300 MB, free: 236 kB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.298e-05/0.1766, allocations: 68.72 kB / 300 MB, free: 156 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001225/0.1778, allocations: 1.304 MB / 301.3 MB, free: 15.32 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.357e-05/0.1779, allocations: 53.7 kB / 301.4 MB, free: 15.26 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005802/0.1785, allocations: 1.113 MB / 302.5 MB, free: 14.36 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003427/0.1788, allocations: 0.5196 MB / 303 MB, free: 13.91 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003923/0.1792, allocations: 306.6 kB / 303.3 MB, free: 13.67 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.767e-05/0.1793, allocations: 309.1 kB / 303.6 MB, free: 13.36 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003784/0.1796, allocations: 204.8 kB / 303.8 MB, free: 13.16 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006142/0.1803, allocations: 0.6752 MB / 304.5 MB, free: 12.33 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001214/0.1815, allocations: 1.117 MB / 305.6 MB, free: 11.1 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.949e-06/0.1815, allocations: 4 kB / 305.6 MB, free: 11.1 MB / 282.7 MB Notification: Performance of matching and sorting (n=225) (initialization): time 0.001877/0.1834, allocations: 1.191 MB / 306.8 MB, free: 10 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.325e-05/0.1834, allocations: 12 kB / 306.8 MB, free: 9.988 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.981e-05/0.1834, allocations: 15.98 kB / 306.8 MB, free: 9.973 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008669/0.1843, allocations: 302.4 kB / 307.1 MB, free: 9.676 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001205/0.1855, allocations: 442.9 kB / 307.6 MB, free: 9.27 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003317/0.1888, allocations: 3.739 MB / 311.3 MB, free: 5.414 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000789/0.1896, allocations: 67.94 kB / 311.4 MB, free: 5.348 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001186/0.1897, allocations: 59.98 kB / 311.4 MB, free: 5.289 MB / 282.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.0005641/0.1903, allocations: 222.9 kB / 311.6 MB, free: 5.09 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00031/0.1906, allocations: 179.7 kB / 311.8 MB, free: 4.914 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001563/0.1921, allocations: 0.9852 MB / 312.8 MB, free: 3.93 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.386e-05/0.1922, allocations: 18.84 kB / 312.8 MB, free: 3.914 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.533e-06/0.1922, allocations: 4 kB / 312.8 MB, free: 3.91 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.331e-05/0.1922, allocations: 7.969 kB / 312.8 MB, free: 3.902 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004067/0.1963, allocations: 2.839 MB / 315.7 MB, free: 1.383 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.724e-06/0.1963, allocations: 4 kB / 315.7 MB, free: 1.379 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009893/0.1972, allocations: 342.8 kB / 316 MB, free: 1.055 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000476/0.1977, allocations: 261.2 kB / 316.3 MB, free: 0.8008 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008855/0.1986, allocations: 332.9 kB / 316.6 MB, free: 484 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.552e-05/0.1987, allocations: 35.98 kB / 316.6 MB, free: 448 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003739/0.2024, allocations: 4.944 MB / 321.6 MB, free: 11.28 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.612e-06/0.2024, allocations: 8.047 kB / 321.6 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002008/0.2044, allocations: 1.449 MB / 323 MB, free: 9.801 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002/0.2046, allocations: 32 kB / 323 MB, free: 9.77 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006209/0.2053, allocations: 59.09 kB / 323.1 MB, free: 9.715 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002203/0.2055, allocations: 116.4 kB / 323.2 MB, free: 9.605 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.795e-05/0.2056, allocations: 35.98 kB / 323.3 MB, free: 9.57 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0007081/0.2063, allocations: 0.6608 MB / 323.9 MB, free: 8.988 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2063, allocations: 0 / 323.9 MB, free: 8.988 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001603/0.2079, allocations: 0.5762 MB / 324.5 MB, free: 8.414 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.0003677/0.2082, allocations: 210.8 kB / 324.7 MB, free: 8.215 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001759/0.21, allocations: 1.227 MB / 325.9 MB, free: 7.051 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.556e-05/0.2101, allocations: 36.44 kB / 326 MB, free: 7.02 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001194/0.2113, allocations: 0.989 MB / 326.9 MB, free: 6.047 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002695/0.214, allocations: 4.286 MB / 331.2 MB, free: 0.9375 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02113/0.2351, allocations: 4.72 MB / 336 MB, free: 12.17 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005195/0.2356, allocations: 0.6315 MB / 336.6 MB, free: 11.52 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0005734/0.2362, allocations: 247.9 kB / 336.8 MB, free: 11.27 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007574/0.2369, allocations: 463.1 kB / 337.3 MB, free: 10.82 MB / 314.7 MB Notification: Performance of SimCode: time 8.62e-07/0.2369, allocations: 3.062 kB / 337.3 MB, free: 10.82 MB / 314.7 MB Notification: Performance of Templates: time 0.03805/0.275, allocations: 31.35 MB / 368.6 MB, free: 11.91 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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.471605811268091]