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.001202/0.001202, allocations: 75.34 kB / 21.24 MB, free: 0.5469 MB / 14.72 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.002223/0.002223, allocations: 157.7 kB / 24.5 MB, free: 3.723 MB / 14.72 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.478/1.478, allocations: 177.2 MB / 204.9 MB, free: 9.02 MB / 190.1 MB " [Timeout remaining time 178] 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.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.",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.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00154/0.00154, allocations: 51.69 kB / 325.6 MB, free: 248 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08798/0.08952, allocations: 53.34 MB / 378.9 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator): time 0.01263/0.1022, allocations: 10.12 MB / 389 MB, free: 5.492 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006876/0.109, allocations: 3.718 MB / 392.8 MB, free: 1.762 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001057/0.1101, allocations: 75.5 kB / 392.8 MB, free: 1.688 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00181/0.1119, allocations: 0.8197 MB / 393.6 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002218/0.1141, allocations: 0.9979 MB / 394.6 MB, free: 15.86 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001045/0.1152, allocations: 0.5188 MB / 395.2 MB, free: 15.34 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003365/0.1185, allocations: 3.23 MB / 398.4 MB, free: 12.1 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001927/0.1204, allocations: 1.415 MB / 399.8 MB, free: 10.62 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001697/0.1221, allocations: 1.48 MB / 401.3 MB, free: 9.137 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002406/0.1246, allocations: 1.739 MB / 403 MB, free: 7.391 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005359/0.1251, allocations: 388 kB / 403.4 MB, free: 7.012 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001104/0.1262, allocations: 0.605 MB / 404 MB, free: 6.406 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001126/0.1273, allocations: 1.079 MB / 405.1 MB, free: 5.324 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001605/0.1289, allocations: 1.404 MB / 406.5 MB, free: 3.914 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005145/0.1341, allocations: 5.095 MB / 411.6 MB, free: 14.8 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.1341, allocations: 0 / 411.6 MB, free: 14.8 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1341, allocations: 0 / 411.6 MB, free: 14.8 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.14e-05/0.1341, allocations: 0 / 411.6 MB, free: 14.8 MB / 382.1 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.007049/0.1412, allocations: 3.499 MB / 415.1 MB, free: 11.25 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.1412, allocations: 16.03 kB / 415.1 MB, free: 11.23 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001632/0.1429, allocations: 462.7 kB / 415.6 MB, free: 10.78 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003297/0.1462, allocations: 1.799 MB / 417.4 MB, free: 8.941 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001672/0.1463, allocations: 189.2 kB / 417.5 MB, free: 8.754 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003797/0.1467, allocations: 248 kB / 417.8 MB, free: 8.512 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00567/0.1524, allocations: 3.376 MB / 421.2 MB, free: 5.027 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.498e-05/0.1524, allocations: 4 kB / 421.2 MB, free: 5.023 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002513/0.1527, allocations: 104 kB / 421.3 MB, free: 4.922 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001473/0.1528, allocations: 112.9 kB / 421.4 MB, free: 4.809 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004831/0.1577, allocations: 2.697 MB / 424.1 MB, free: 2.098 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01556/0.1732, allocations: 8.929 MB / 433 MB, free: 8.844 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002262/0.1755, allocations: 1.245 MB / 434.2 MB, free: 7.598 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001882/0.1774, allocations: 0.9835 MB / 435.2 MB, free: 6.613 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002291/0.1776, allocations: 52.95 kB / 435.3 MB, free: 6.562 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.663e-05/0.1776, allocations: 47.55 kB / 435.3 MB, free: 6.504 MB / 398.1 MB Notification: Performance of pre-optimization done (n=115): time 3.136e-06/0.1776, allocations: 0 / 435.3 MB, free: 6.504 MB / 398.1 MB Notification: Performance of matching and sorting (n=134): time 0.01787/0.1955, allocations: 7.053 MB / 442.4 MB, free: 15.42 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.021e-05/0.1956, allocations: 64.72 kB / 442.4 MB, free: 15.35 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002487/0.1981, allocations: 1.712 MB / 444.2 MB, free: 13.63 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 9.258e-05/0.1981, allocations: 45.7 kB / 444.2 MB, free: 13.58 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009986/0.1991, allocations: 1.294 MB / 445.5 MB, free: 12.27 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004158/0.1996, allocations: 491.9 kB / 446 MB, free: 11.79 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005009/0.2001, allocations: 303.4 kB / 446.3 MB, free: 11.48 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001262/0.2002, allocations: 309.1 kB / 446.6 MB, free: 11.18 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00146/0.2016, allocations: 0.8081 MB / 447.4 MB, free: 10.37 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001859/0.2035, allocations: 1.308 MB / 448.7 MB, free: 8.844 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003451/0.207, allocations: 2.258 MB / 450.9 MB, free: 6.371 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.899e-06/0.207, allocations: 8 kB / 451 MB, free: 6.363 MB / 414.1 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.00483/0.2118, allocations: 2.701 MB / 453.7 MB, free: 3.645 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.712e-05/0.2118, allocations: 12 kB / 453.7 MB, free: 3.633 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.69e-05/0.2119, allocations: 16 kB / 453.7 MB, free: 3.617 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001013/0.2129, allocations: 430.4 kB / 454.1 MB, free: 3.188 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001531/0.2144, allocations: 399.3 kB / 454.5 MB, free: 2.797 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006606/0.221, allocations: 5.503 MB / 460 MB, free: 13.09 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001438/0.2224, allocations: 119.8 kB / 460.1 MB, free: 12.98 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001427/0.2226, allocations: 71.98 kB / 460.2 MB, free: 12.91 MB / 430.1 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.001334/0.2239, allocations: 0.7978 MB / 461 MB, free: 12.1 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003631/0.2243, allocations: 190.8 kB / 461.2 MB, free: 11.91 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004276/0.2286, allocations: 2.287 MB / 463.5 MB, free: 9.598 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.444e-05/0.2286, allocations: 24 kB / 463.5 MB, free: 9.574 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/0.2286, allocations: 4 kB / 463.5 MB, free: 9.57 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.461e-05/0.2286, allocations: 8.062 kB / 463.5 MB, free: 9.562 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008346/0.237, allocations: 4.542 MB / 468 MB, free: 4.91 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.817e-06/0.237, allocations: 4.562 kB / 468 MB, free: 4.906 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001115/0.2381, allocations: 251.6 kB / 468.3 MB, free: 4.66 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001187/0.2393, allocations: 450.1 kB / 468.7 MB, free: 4.211 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.967e-05/0.2394, allocations: 43.92 kB / 468.8 MB, free: 4.168 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.185/0.4243, allocations: 6.897 MB / 475.7 MB, free: 81.32 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.7e-06/0.4243, allocations: 10.09 kB / 475.7 MB, free: 81.32 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005485/0.4298, allocations: 3.477 MB / 479.1 MB, free: 80.34 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009404/0.4308, allocations: 362.1 kB / 479.5 MB, free: 80.25 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002168/0.431, allocations: 37.67 kB / 479.5 MB, free: 80.24 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00113/0.4321, allocations: 101.9 kB / 479.6 MB, free: 80.22 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002695/0.4324, allocations: 121.5 kB / 479.8 MB, free: 80.2 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.767e-05/0.4325, allocations: 41.14 kB / 479.8 MB, free: 80.19 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001634/0.4341, allocations: 1.161 MB / 481 MB, free: 79.75 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4341, allocations: 0 / 481 MB, free: 79.75 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001726/0.4358, allocations: 0.5385 MB / 481.5 MB, free: 79.7 MB / 430.1 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.0003832/0.4362, allocations: 222.7 kB / 481.7 MB, free: 79.59 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003662/0.4399, allocations: 2.266 MB / 484 MB, free: 78.71 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.4399, allocations: 4.344 kB / 484 MB, free: 78.71 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002236/0.4421, allocations: 1.448 MB / 485.4 MB, free: 78.01 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00173/0.4439, allocations: 379.4 kB / 485.8 MB, free: 77.89 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006474/0.4503, allocations: 5.19 MB / 491 MB, free: 75.4 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001218/0.4515, allocations: 1.449 MB / 492.4 MB, free: 75.01 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0009447/0.4525, allocations: 408.2 kB / 492.8 MB, free: 74.96 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003543/0.4528, allocations: 121 kB / 493 MB, free: 74.95 MB / 430.1 MB Notification: Performance of SimCode: time 5.51e-07/0.4528, allocations: 0 / 493 MB, free: 74.95 MB / 430.1 MB Notification: Performance of Templates: time 0.03496/0.4878, allocations: 26.44 MB / 0.5072 GB, free: 50.52 MB / 430.1 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=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMEE_Generator/SMEE_Generator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.914448637049645]