Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001746/0.001746, allocations: 118.5 kB / 18.41 MB, free: 4.555 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001872/0.001872, allocations: 186.7 kB / 21.35 MB, free: 1.621 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.476/1.476, allocations: 222.9 MB / 247.1 MB, free: 4.211 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001519/0.001519, allocations: 51.91 kB / 358.7 MB, free: 8.348 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09829/0.09982, allocations: 49.44 MB / 408.1 MB, free: 6.863 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator): time 0.01362/0.1135, allocations: 11.47 MB / 419.6 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00744/0.121, allocations: 3.861 MB / 423.5 MB, free: 7.473 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00186/0.1229, allocations: 59.75 kB / 423.5 MB, free: 7.414 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002429/0.1253, allocations: 0.8346 MB / 424.3 MB, free: 6.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003235/0.1286, allocations: 0.9511 MB / 425.3 MB, free: 5.613 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001395/0.13, allocations: 0.5032 MB / 425.8 MB, free: 5.109 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004305/0.1343, allocations: 3.203 MB / 429 MB, free: 1.891 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1992/0.3335, allocations: 2.58 MB / 431.6 MB, free: 6.613 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002136/0.3357, allocations: 1.433 MB / 433 MB, free: 6.512 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002279/0.338, allocations: 1.813 MB / 434.8 MB, free: 6.215 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007799/0.3388, allocations: 386.2 kB / 435.2 MB, free: 6.215 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001391/0.3402, allocations: 0.6218 MB / 435.8 MB, free: 6.215 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001014/0.3412, allocations: 1.063 MB / 436.9 MB, free: 6.102 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001945/0.3432, allocations: 1.722 MB / 438.6 MB, free: 5.652 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005887/0.3491, allocations: 5.061 MB / 443.7 MB, free: 5.035 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.3491, allocations: 1.312 kB / 443.7 MB, free: 5.035 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3491, allocations: 0 / 443.7 MB, free: 5.035 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001216/0.3493, allocations: 0 / 443.7 MB, free: 5.035 MB / 350.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.007294/0.3566, allocations: 3.566 MB / 447.2 MB, free: 3.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.3566, allocations: 9.812 kB / 447.3 MB, free: 3.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001373/0.358, allocations: 426.7 kB / 447.7 MB, free: 3.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002759/0.3608, allocations: 1.843 MB / 449.5 MB, free: 2.816 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001209/0.3609, allocations: 188.2 kB / 449.7 MB, free: 2.809 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003775/0.3613, allocations: 263.8 kB / 450 MB, free: 2.801 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00527/0.3665, allocations: 3.247 MB / 453.2 MB, free: 2.578 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.699e-05/0.3666, allocations: 6.281 kB / 453.2 MB, free: 2.578 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002413/0.3669, allocations: 107.2 kB / 453.3 MB, free: 2.578 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001245/0.367, allocations: 114.6 kB / 453.4 MB, free: 2.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004332/0.3714, allocations: 2.701 MB / 456.1 MB, free: 1.699 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01604/0.3874, allocations: 10.28 MB / 466.4 MB, free: 10.35 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002308/0.3898, allocations: 1.776 MB / 468.2 MB, free: 9.121 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00173/0.3915, allocations: 1.056 MB / 469.2 MB, free: 8.613 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003115/0.3918, allocations: 202.2 kB / 469.4 MB, free: 8.414 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.491e-05/0.3919, allocations: 49.12 kB / 469.5 MB, free: 8.363 MB / 366.1 MB Notification: Performance of pre-optimization done (n=115): time 3.978e-06/0.3919, allocations: 3.938 kB / 469.5 MB, free: 8.359 MB / 366.1 MB Notification: Performance of matching and sorting (n=134): time 0.01885/0.4107, allocations: 7.473 MB / 477 MB, free: 1.602 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.323e-05/0.4108, allocations: 64.72 kB / 477 MB, free: 1.523 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003114/0.4139, allocations: 1.869 MB / 478.9 MB, free: 15.66 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001463/0.4141, allocations: 45.7 kB / 478.9 MB, free: 15.61 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001087/0.4152, allocations: 1.277 MB / 480.2 MB, free: 14.32 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004798/0.4157, allocations: 494.1 kB / 480.7 MB, free: 13.85 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005625/0.4163, allocations: 295.4 kB / 481 MB, free: 13.55 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.4164, allocations: 305.1 kB / 481.3 MB, free: 13.25 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001555/0.418, allocations: 0.8159 MB / 482.1 MB, free: 12.43 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001972/0.42, allocations: 1.312 MB / 483.4 MB, free: 10.92 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003649/0.4236, allocations: 2.251 MB / 485.7 MB, free: 8.512 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.163e-05/0.4236, allocations: 8 kB / 485.7 MB, free: 8.504 MB / 382.1 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.005455/0.4291, allocations: 2.804 MB / 488.5 MB, free: 5.758 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.942e-05/0.4292, allocations: 16 kB / 488.5 MB, free: 5.742 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.649e-05/0.4292, allocations: 16 kB / 488.5 MB, free: 5.727 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001085/0.4303, allocations: 424.8 kB / 488.9 MB, free: 5.305 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001545/0.4318, allocations: 399.9 kB / 489.3 MB, free: 4.938 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006837/0.4387, allocations: 5.79 MB / 495.1 MB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001917/0.4406, allocations: 123.8 kB / 495.2 MB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001952/0.4408, allocations: 71.98 kB / 495.3 MB, free: 14.72 MB / 398.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.001479/0.4423, allocations: 0.7865 MB / 496.1 MB, free: 13.95 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005063/0.4428, allocations: 210.7 kB / 496.3 MB, free: 13.74 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004619/0.4475, allocations: 2.396 MB / 498.7 MB, free: 11.31 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.749e-05/0.4475, allocations: 15.98 kB / 498.7 MB, free: 11.3 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.026e-05/0.4475, allocations: 7.938 kB / 498.7 MB, free: 11.29 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.609e-05/0.4476, allocations: 7.922 kB / 498.7 MB, free: 11.28 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01002/0.4576, allocations: 5.272 MB / 0.4922 GB, free: 5.945 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.304e-05/0.4576, allocations: 4 kB / 0.4922 GB, free: 5.941 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001121/0.4588, allocations: 246.5 kB / 0.4924 GB, free: 5.711 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001299/0.4601, allocations: 467.4 kB / 0.4929 GB, free: 5.254 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001186/0.4602, allocations: 31.98 kB / 0.4929 GB, free: 5.223 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008194/0.4684, allocations: 7.34 MB / 0.5001 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/0.4684, allocations: 4 kB / 0.5001 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00651/0.475, allocations: 3.586 MB / 0.5036 GB, free: 9.828 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001209/0.4762, allocations: 463.7 kB / 0.504 GB, free: 9.355 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003243/0.4765, allocations: 35.98 kB / 0.504 GB, free: 9.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001198/0.4777, allocations: 99.88 kB / 0.5041 GB, free: 9.223 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002839/0.478, allocations: 110 kB / 0.5042 GB, free: 9.121 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001092/0.4781, allocations: 43.98 kB / 0.5043 GB, free: 9.078 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002094/0.4802, allocations: 1.294 MB / 0.5055 GB, free: 7.793 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4803, allocations: 0 / 0.5055 GB, free: 7.793 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002052/0.4823, allocations: 0.5391 MB / 0.5061 GB, free: 7.254 MB / 414.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.000521/0.4828, allocations: 233.9 kB / 0.5063 GB, free: 7.035 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004481/0.4873, allocations: 2.436 MB / 0.5087 GB, free: 4.613 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.4874, allocations: 2.906 kB / 0.5087 GB, free: 4.613 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002707/0.4901, allocations: 1.501 MB / 0.5101 GB, free: 3.102 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002515/0.4926, allocations: 453.1 kB / 0.5106 GB, free: 2.668 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009096/0.5017, allocations: 5.221 MB / 0.5157 GB, free: 13.38 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001929/0.5037, allocations: 1.987 MB / 0.5176 GB, free: 11.36 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007495/0.5044, allocations: 139.4 kB / 0.5177 GB, free: 11.22 MB / 430.1 MB Notification: Performance of SimCode: time 6.31e-07/0.5045, allocations: 4 kB / 0.5177 GB, free: 11.22 MB / 430.1 MB Notification: Performance of Templates: time 0.08658/0.591, allocations: 70.35 MB / 0.5864 GB, free: 4.938 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMEE_Generator/SMEE_Generator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 13.575046699959785]