Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001366/0.001366, allocations: 79.59 kB / 21.18 MB, free: 3.387 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.004299/0.004299, allocations: 161 kB / 24.56 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.006/1.006, allocations: 177.1 MB / 205 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|constantSpeed.phi|smee.is.[0-9,]+.|smee.idq_dr.[0-9,]+.|smee.idq_rr.[0-9,]+.|smee.idq_sr.[0-9,]+.",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|constantSpeed.phi|smee.is.[0-9,]+.|smee.idq_dr.[0-9,]+.|smee.idq_rr.[0-9,]+.|smee.idq_sr.[0-9,]+.",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 273 MB, free: 1.531 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.123e-05/3.315e-05, allocations: 2.312 kB / 273 MB, free: 1.527 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator): time 0.01108/0.01111, allocations: 11.39 MB / 284.4 MB, free: 6.094 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007648/0.01876, allocations: 3.873 MB / 288.3 MB, free: 2.207 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001401/0.02016, allocations: 75.5 kB / 288.3 MB, free: 2.133 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001877/0.02204, allocations: 0.8312 MB / 289.2 MB, free: 1.293 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002515/0.02455, allocations: 1.028 MB / 290.2 MB, free: 264 kB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.134/0.1585, allocations: 0.5202 MB / 290.7 MB, free: 16.18 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004271/0.1628, allocations: 3.335 MB / 294 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001944/0.1648, allocations: 1.422 MB / 295.5 MB, free: 15.26 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002545/0.1673, allocations: 2.176 MB / 297.6 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002324/0.1696, allocations: 1.691 MB / 299.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000756/0.1704, allocations: 386.4 kB / 299.7 MB, free: 14.65 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001072/0.1715, allocations: 0.601 MB / 300.3 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007702/0.1722, allocations: 1.126 MB / 301.4 MB, free: 14.03 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001501/0.1737, allocations: 1.206 MB / 302.6 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002761/0.1765, allocations: 2.836 MB / 305.5 MB, free: 12.33 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.1765, allocations: 0 / 305.5 MB, free: 12.33 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1765, allocations: 0 / 305.5 MB, free: 12.33 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.31e-05/0.1766, allocations: 0.625 kB / 305.5 MB, free: 12.33 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: 656 * Number of variables: 656 Notification: Performance of Generate backend data structure: time 0.003822/0.1804, allocations: 3.667 MB / 309.1 MB, free: 10.21 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.1804, allocations: 11.91 kB / 309.2 MB, free: 10.21 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001028/0.1814, allocations: 0.6496 MB / 309.8 MB, free: 9.926 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001751/0.1832, allocations: 1.702 MB / 311.5 MB, free: 8.832 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.899e-05/0.1833, allocations: 191.5 kB / 311.7 MB, free: 8.746 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002252/0.1835, allocations: 248.5 kB / 311.9 MB, free: 8.578 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002236/0.1858, allocations: 2.039 MB / 314 MB, free: 6.434 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.518e-05/0.1858, allocations: 7.938 kB / 314 MB, free: 6.426 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001414/0.1859, allocations: 100 kB / 314.1 MB, free: 6.328 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.106e-05/0.186, allocations: 116.9 kB / 314.2 MB, free: 6.211 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001557/0.1876, allocations: 0.9239 MB / 315.1 MB, free: 5.277 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008145/0.1957, allocations: 8.522 MB / 323.6 MB, free: 12.68 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009767/0.1967, allocations: 0.6621 MB / 324.3 MB, free: 12.03 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008141/0.1975, allocations: 0.5028 MB / 324.8 MB, free: 11.53 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001877/0.1977, allocations: 61.58 kB / 324.9 MB, free: 11.47 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.999e-05/0.1977, allocations: 57.7 kB / 324.9 MB, free: 11.41 MB / 282.7 MB Notification: Performance of pre-optimization done (n=115): time 2.915e-06/0.1977, allocations: 0 / 324.9 MB, free: 11.41 MB / 282.7 MB Notification: Performance of matching and sorting (n=134): time 0.005922/0.2037, allocations: 3.6 MB / 328.5 MB, free: 7.816 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.682e-05/0.2037, allocations: 76.64 kB / 328.6 MB, free: 7.727 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001541/0.2053, allocations: 1.494 MB / 330.1 MB, free: 6.215 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.935e-05/0.2053, allocations: 49.7 kB / 330.1 MB, free: 6.16 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007483/0.2061, allocations: 1.367 MB / 331.5 MB, free: 4.781 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003163/0.2064, allocations: 496.1 kB / 332 MB, free: 4.305 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003458/0.2067, allocations: 297.1 kB / 332.3 MB, free: 4.004 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.2069, allocations: 484.7 kB / 332.8 MB, free: 3.527 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004738/0.2073, allocations: 247.8 kB / 333 MB, free: 3.285 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008336/0.2082, allocations: 0.9544 MB / 334 MB, free: 2.043 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001345/0.2095, allocations: 1.343 MB / 335.3 MB, free: 480 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.066e-05/0.2095, allocations: 4 kB / 335.3 MB, free: 476 kB / 282.7 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.002147/0.2117, allocations: 1.548 MB / 336.8 MB, free: 15.01 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.607e-05/0.2117, allocations: 12.62 kB / 336.9 MB, free: 15 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.001e-05/0.2117, allocations: 19.94 kB / 336.9 MB, free: 14.98 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006098/0.2123, allocations: 260.8 kB / 337.1 MB, free: 14.71 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007779/0.2131, allocations: 385.1 kB / 337.5 MB, free: 14.36 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003225/0.2163, allocations: 4.937 MB / 342.4 MB, free: 9.223 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006754/0.217, allocations: 127.3 kB / 342.6 MB, free: 9.102 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.489e-05/0.2171, allocations: 71.98 kB / 342.6 MB, free: 9.031 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 70 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (187): * Single equations (assignments): 182 * 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,12,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004117/0.2175, allocations: 256.1 kB / 342.9 MB, free: 8.793 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002635/0.2178, allocations: 238.7 kB / 343.1 MB, free: 8.559 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001613/0.2194, allocations: 1.196 MB / 344.3 MB, free: 7.344 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.871e-05/0.2194, allocations: 20 kB / 344.3 MB, free: 7.324 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.2194, allocations: 4 kB / 344.3 MB, free: 7.32 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.013e-05/0.2194, allocations: 7.969 kB / 344.4 MB, free: 7.312 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0043/0.2237, allocations: 3.416 MB / 347.8 MB, free: 3.84 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.675e-06/0.2237, allocations: 4 kB / 347.8 MB, free: 3.836 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005411/0.2243, allocations: 238.3 kB / 348 MB, free: 3.613 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000709/0.225, allocations: 302.1 kB / 348.3 MB, free: 3.309 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.316e-05/0.2251, allocations: 35.98 kB / 348.3 MB, free: 3.273 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003689/0.2288, allocations: 6.74 MB / 355.1 MB, free: 12.21 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.2288, allocations: 7.938 kB / 355.1 MB, free: 12.2 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002249/0.231, allocations: 1.771 MB / 356.9 MB, free: 10.34 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004849/0.2315, allocations: 342.6 kB / 357.2 MB, free: 10 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001361/0.2316, allocations: 32.06 kB / 357.2 MB, free: 9.973 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005385/0.2322, allocations: 103.4 kB / 357.3 MB, free: 9.875 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001971/0.2324, allocations: 116 kB / 357.4 MB, free: 9.762 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.48e-05/0.2324, allocations: 43.98 kB / 357.5 MB, free: 9.719 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0009458/0.2334, allocations: 0.8802 MB / 358.4 MB, free: 8.844 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.2334, allocations: 0 / 358.4 MB, free: 8.844 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001304/0.2347, allocations: 0.5428 MB / 358.9 MB, free: 8.301 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 5 (smee.phiMechanical,smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[2],smee.idq_dr[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 110 * 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,12,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.0003659/0.235, allocations: 232.7 kB / 359.1 MB, free: 8.082 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001778/0.2368, allocations: 1.426 MB / 360.6 MB, free: 6.672 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.2368, allocations: 0 / 360.6 MB, free: 6.672 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001153/0.238, allocations: 1.146 MB / 361.7 MB, free: 5.508 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001142/0.2391, allocations: 392.2 kB / 362.1 MB, free: 5.137 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005641/0.2448, allocations: 4.448 MB / 366.5 MB, free: 0.582 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005415/0.2453, allocations: 0.6545 MB / 367.2 MB, free: 15.89 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0006565/0.246, allocations: 338.2 kB / 367.5 MB, free: 15.56 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003061/0.2463, allocations: 128.4 kB / 367.6 MB, free: 15.43 MB / 330.7 MB Notification: Performance of SimCode: time 6.81e-07/0.2463, allocations: 0 / 367.6 MB, free: 15.43 MB / 330.7 MB Notification: Performance of Templates: time 0.03294/0.2792, allocations: 26.46 MB / 394.1 MB, free: 5.363 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMEE_Generator/SMEE_Generator.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: 4.099787888117135]