Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.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.001462/0.001462, allocations: 77.7 kB / 21.25 MB, free: 0.5469 MB / 14.72 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.001961/0.001961, allocations: 161.3 kB / 24.5 MB, free: 3.711 MB / 14.72 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 1.484/1.484, allocations: 177.1 MB / 204.7 MB, free: 8.938 MB / 190.1 MB " [Timeout remaining time 178] 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_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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002265/0.002265, allocations: 64.2 kB / 325.5 MB, free: 156 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1066, allocations: 53.39 MB / 378.9 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator): time 0.0147/0.1213, allocations: 10.13 MB / 389.1 MB, free: 5.254 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008797/0.1301, allocations: 3.71 MB / 392.8 MB, free: 1.531 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00198/0.1321, allocations: 75.5 kB / 392.8 MB, free: 1.457 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002705/0.1348, allocations: 0.8236 MB / 393.7 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003574/0.1383, allocations: 0.998 MB / 394.7 MB, free: 15.62 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001637/0.14, allocations: 0.5188 MB / 395.2 MB, free: 15.11 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004614/0.1446, allocations: 3.23 MB / 398.4 MB, free: 11.87 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002835/0.1474, allocations: 1.411 MB / 399.8 MB, free: 10.39 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002467/0.1499, allocations: 1.483 MB / 401.3 MB, free: 8.902 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003227/0.1531, allocations: 1.739 MB / 403.1 MB, free: 7.156 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007273/0.1538, allocations: 388 kB / 403.4 MB, free: 6.777 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001434/0.1553, allocations: 0.6089 MB / 404 MB, free: 6.168 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001189/0.1565, allocations: 1.083 MB / 405.1 MB, free: 5.082 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001942/0.1584, allocations: 1.392 MB / 406.5 MB, free: 3.684 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005959/0.1644, allocations: 5.099 MB / 411.6 MB, free: 14.57 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.1644, allocations: 0 / 411.6 MB, free: 14.57 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1644, allocations: 0 / 411.6 MB, free: 14.57 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001259/0.1645, allocations: 0 / 411.6 MB, free: 14.57 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.007885/0.1724, allocations: 3.499 MB / 415.1 MB, free: 11.02 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.1724, allocations: 15.98 kB / 415.1 MB, free: 11 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001721/0.1742, allocations: 458.7 kB / 415.6 MB, free: 10.55 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003546/0.1777, allocations: 1.799 MB / 417.4 MB, free: 8.711 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002307/0.1779, allocations: 193.1 kB / 417.6 MB, free: 8.52 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003859/0.1783, allocations: 251.9 kB / 417.8 MB, free: 8.273 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006064/0.1844, allocations: 3.377 MB / 421.2 MB, free: 4.789 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.32e-05/0.1844, allocations: 8 kB / 421.2 MB, free: 4.781 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002246/0.1847, allocations: 104 kB / 421.3 MB, free: 4.68 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000146/0.1848, allocations: 116.9 kB / 421.4 MB, free: 4.562 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004948/0.1898, allocations: 2.693 MB / 424.1 MB, free: 1.855 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01675/0.2065, allocations: 8.929 MB / 433 MB, free: 8.602 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002092/0.2086, allocations: 1.233 MB / 434.3 MB, free: 7.367 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001771/0.2104, allocations: 0.9835 MB / 435.2 MB, free: 6.387 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002232/0.2106, allocations: 56.94 kB / 435.3 MB, free: 6.332 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.973e-05/0.2106, allocations: 43.56 kB / 435.3 MB, free: 6.277 MB / 398.1 MB Notification: Performance of pre-optimization done (n=115): time 3.847e-06/0.2106, allocations: 4 kB / 435.3 MB, free: 6.273 MB / 398.1 MB Notification: Performance of matching and sorting (n=134): time 0.0181/0.2287, allocations: 7.055 MB / 442.4 MB, free: 15.2 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.522e-05/0.2288, allocations: 64.72 kB / 442.5 MB, free: 15.12 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002573/0.2314, allocations: 1.712 MB / 444.2 MB, free: 13.4 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 9.811e-05/0.2315, allocations: 49.64 kB / 444.2 MB, free: 13.35 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009798/0.2324, allocations: 1.298 MB / 445.5 MB, free: 12.04 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004314/0.2329, allocations: 491.9 kB / 446 MB, free: 11.55 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005038/0.2334, allocations: 299.4 kB / 446.3 MB, free: 11.25 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.2335, allocations: 305.1 kB / 446.6 MB, free: 10.95 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00138/0.2349, allocations: 0.812 MB / 447.4 MB, free: 10.14 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001866/0.2368, allocations: 1.308 MB / 448.7 MB, free: 8.613 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003434/0.2402, allocations: 2.258 MB / 451 MB, free: 6.141 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.034e-05/0.2402, allocations: 8 kB / 451 MB, free: 6.133 MB / 414.1 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.005084/0.2453, allocations: 2.709 MB / 453.7 MB, free: 3.406 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.038e-05/0.2453, allocations: 12 kB / 453.7 MB, free: 3.395 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.157e-05/0.2453, allocations: 12 kB / 453.7 MB, free: 3.383 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001024/0.2464, allocations: 430.4 kB / 454.1 MB, free: 2.953 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001572/0.2479, allocations: 399.3 kB / 454.5 MB, free: 2.562 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006598/0.2545, allocations: 5.487 MB / 460 MB, free: 12.88 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001606/0.2561, allocations: 119.9 kB / 460.1 MB, free: 12.76 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000145/0.2563, allocations: 75.98 kB / 460.2 MB, free: 12.68 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.001444/0.2577, allocations: 0.7939 MB / 461 MB, free: 11.88 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003955/0.2581, allocations: 190.8 kB / 461.2 MB, free: 11.69 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004224/0.2624, allocations: 2.303 MB / 463.5 MB, free: 9.359 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.043e-05/0.2624, allocations: 12 kB / 463.5 MB, free: 9.348 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.557e-06/0.2624, allocations: 4 kB / 463.5 MB, free: 9.344 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.601e-05/0.2624, allocations: 7.969 kB / 463.5 MB, free: 9.336 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008421/0.2708, allocations: 4.539 MB / 468 MB, free: 4.691 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.109e-05/0.2708, allocations: 4 kB / 468.1 MB, free: 4.688 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001046/0.2719, allocations: 251.7 kB / 468.3 MB, free: 4.441 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00118/0.2731, allocations: 458.1 kB / 468.7 MB, free: 3.984 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.795e-05/0.2732, allocations: 39.91 kB / 468.8 MB, free: 3.945 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2308/0.504, allocations: 6.9 MB / 475.7 MB, free: 81.13 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.893e-06/0.504, allocations: 8.625 kB / 475.7 MB, free: 81.13 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005921/0.5099, allocations: 3.474 MB / 479.2 MB, free: 80.14 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001125/0.511, allocations: 367.5 kB / 479.5 MB, free: 80.05 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002501/0.5113, allocations: 35.8 kB / 479.6 MB, free: 80.03 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001109/0.5124, allocations: 99.86 kB / 479.7 MB, free: 80.01 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003003/0.5127, allocations: 118.6 kB / 479.8 MB, free: 79.99 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.93e-05/0.5128, allocations: 41.83 kB / 479.8 MB, free: 79.98 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001676/0.5145, allocations: 1.161 MB / 481 MB, free: 79.54 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5145, allocations: 0 / 481 MB, free: 79.54 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001778/0.5162, allocations: 0.539 MB / 481.5 MB, free: 79.5 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.000429/0.5167, allocations: 221.7 kB / 481.7 MB, free: 79.39 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003806/0.5205, allocations: 2.267 MB / 484 MB, free: 78.51 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.665e-06/0.5205, allocations: 1.125 kB / 484 MB, free: 78.51 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002332/0.5228, allocations: 1.451 MB / 485.5 MB, free: 77.81 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001898/0.5247, allocations: 378.5 kB / 485.8 MB, free: 77.7 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007093/0.5318, allocations: 5.188 MB / 491 MB, free: 75.2 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00126/0.5331, allocations: 1.444 MB / 492.5 MB, free: 74.81 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001075/0.5341, allocations: 418.1 kB / 492.9 MB, free: 74.75 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003561/0.5345, allocations: 121.8 kB / 493 MB, free: 74.73 MB / 430.1 MB Notification: Performance of SimCode: time 1.173e-06/0.5345, allocations: 0 / 493 MB, free: 74.73 MB / 430.1 MB Notification: Performance of Templates: time 0.03653/0.571, allocations: 26.44 MB / 0.5072 GB, free: 50.2 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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: 6.066884231055155]