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.001248/0.001248, allocations: 115.5 kB / 18.45 MB, free: 4.602 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.001255/0.001255, allocations: 192.3 kB / 21.4 MB, free: 1.664 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.511/1.511, allocations: 225.6 MB / 249.8 MB, free: 3.629 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.001546/0.001546, allocations: 51.91 kB / 366.8 MB, free: 352 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0936/0.09515, allocations: 52.13 MB / 419 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator): time 0.01365/0.1088, allocations: 11.52 MB / 430.5 MB, free: 0.543 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006774/0.1156, allocations: 3.885 MB / 434.4 MB, free: 12.64 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001056/0.1166, allocations: 59.75 kB / 434.4 MB, free: 12.59 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001901/0.1185, allocations: 0.858 MB / 435.3 MB, free: 11.72 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002255/0.1208, allocations: 0.9902 MB / 436.3 MB, free: 10.72 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001034/0.1218, allocations: 0.5109 MB / 436.8 MB, free: 10.21 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003458/0.1253, allocations: 3.203 MB / 440 MB, free: 6.992 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002337/0.1276, allocations: 1.848 MB / 441.8 MB, free: 5.082 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001753/0.1294, allocations: 1.441 MB / 443.3 MB, free: 3.637 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00246/0.1318, allocations: 1.853 MB / 445.1 MB, free: 1.777 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005475/0.1324, allocations: 388 kB / 445.5 MB, free: 1.398 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001163/0.1335, allocations: 0.644 MB / 446.2 MB, free: 0.7539 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.175/0.3086, allocations: 1.076 MB / 447.2 MB, free: 13.36 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002062/0.3106, allocations: 1.72 MB / 449 MB, free: 13.23 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005389/0.316, allocations: 5.058 MB / 454 MB, free: 12.61 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.316, allocations: 1.25 kB / 454 MB, free: 12.61 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.572e-06/0.316, allocations: 0 / 454 MB, free: 12.61 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001366/0.3162, allocations: 0 / 454 MB, free: 12.61 MB / 366.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.008286/0.3245, allocations: 3.566 MB / 457.6 MB, free: 11.12 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.3245, allocations: 9.094 kB / 457.6 MB, free: 11.12 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001467/0.326, allocations: 432.9 kB / 458 MB, free: 10.94 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003052/0.329, allocations: 1.837 MB / 459.8 MB, free: 10.43 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001214/0.3292, allocations: 192.3 kB / 460 MB, free: 10.43 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003768/0.3295, allocations: 254.6 kB / 460.3 MB, free: 10.42 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005567/0.3351, allocations: 3.252 MB / 463.5 MB, free: 10.2 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.66e-05/0.3352, allocations: 11.92 kB / 463.5 MB, free: 10.19 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002371/0.3354, allocations: 103.1 kB / 463.6 MB, free: 10.19 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001272/0.3355, allocations: 113.8 kB / 463.8 MB, free: 10.18 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004285/0.3398, allocations: 2.708 MB / 466.5 MB, free: 9.234 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01404/0.3538, allocations: 10.28 MB / 476.7 MB, free: 2.91 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001969/0.3558, allocations: 1.704 MB / 478.4 MB, free: 1.719 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00159/0.3574, allocations: 0.9852 MB / 479.4 MB, free: 1.25 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002426/0.3577, allocations: 213 kB / 479.6 MB, free: 1.043 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.484e-05/0.3577, allocations: 44.72 kB / 479.7 MB, free: 0.9961 MB / 366.1 MB Notification: Performance of pre-optimization done (n=115): time 3.105e-06/0.3577, allocations: 0 / 479.7 MB, free: 0.9961 MB / 366.1 MB Notification: Performance of matching and sorting (n=134): time 0.01788/0.3756, allocations: 7.454 MB / 487.1 MB, free: 12.88 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.324e-05/0.3756, allocations: 64.03 kB / 487.2 MB, free: 12.81 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002683/0.3783, allocations: 1.872 MB / 489.1 MB, free: 11.83 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001208/0.3784, allocations: 49.52 kB / 489.1 MB, free: 11.78 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001005/0.3794, allocations: 1.268 MB / 490.4 MB, free: 10.67 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004528/0.3799, allocations: 485.9 kB / 490.9 MB, free: 10.25 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004871/0.3804, allocations: 314.3 kB / 491.2 MB, free: 10.07 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.3805, allocations: 305.1 kB / 491.5 MB, free: 9.773 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001357/0.3819, allocations: 0.8055 MB / 492.3 MB, free: 9.375 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001876/0.3837, allocations: 1.317 MB / 493.6 MB, free: 8.105 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003544/0.3873, allocations: 2.256 MB / 495.9 MB, free: 5.703 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.586e-06/0.3873, allocations: 4 kB / 495.9 MB, free: 5.699 MB / 382.1 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.005356/0.3926, allocations: 2.803 MB / 498.7 MB, free: 2.957 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.941e-05/0.3927, allocations: 12.62 kB / 498.7 MB, free: 2.945 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.188e-05/0.3927, allocations: 12 kB / 498.7 MB, free: 2.934 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001104/0.3938, allocations: 419.1 kB / 499.1 MB, free: 2.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001575/0.3954, allocations: 400 kB / 499.5 MB, free: 2.152 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007059/0.4024, allocations: 5.8 MB / 0.4934 GB, free: 12.11 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001785/0.4042, allocations: 127.8 kB / 0.4936 GB, free: 11.99 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001603/0.4044, allocations: 72 kB / 0.4936 GB, free: 11.92 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.00155/0.4059, allocations: 0.7836 MB / 0.4944 GB, free: 11.15 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004445/0.4064, allocations: 202.7 kB / 0.4946 GB, free: 10.95 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004716/0.4111, allocations: 2.392 MB / 0.4969 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.211e-05/0.4111, allocations: 12.61 kB / 0.4969 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/0.4111, allocations: 4.875 kB / 0.4969 GB, free: 8.508 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.055e-05/0.4112, allocations: 11.91 kB / 0.497 GB, free: 8.496 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009904/0.4211, allocations: 5.262 MB / 0.5021 GB, free: 3.172 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-05/0.4211, allocations: 8 kB / 0.5021 GB, free: 3.164 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001151/0.4222, allocations: 248.1 kB / 0.5023 GB, free: 2.934 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001328/0.4235, allocations: 461.2 kB / 0.5028 GB, free: 2.477 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001065/0.4237, allocations: 43.34 kB / 0.5028 GB, free: 2.438 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008479/0.4321, allocations: 7.332 MB / 0.51 GB, free: 10.72 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.603e-06/0.4321, allocations: 8.406 kB / 0.51 GB, free: 10.72 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006632/0.4388, allocations: 3.574 MB / 0.5135 GB, free: 7.062 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001126/0.4399, allocations: 459.7 kB / 0.5139 GB, free: 6.594 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002929/0.4402, allocations: 31.12 kB / 0.5139 GB, free: 6.566 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001246/0.4414, allocations: 99.88 kB / 0.514 GB, free: 6.469 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002908/0.4417, allocations: 112.2 kB / 0.5141 GB, free: 6.363 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000109/0.4418, allocations: 44 kB / 0.5142 GB, free: 6.32 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002181/0.444, allocations: 1.291 MB / 0.5154 GB, free: 5.039 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.444, allocations: 0 / 0.5154 GB, free: 5.039 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001956/0.446, allocations: 0.5508 MB / 0.516 GB, free: 4.488 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.0004765/0.4464, allocations: 223.6 kB / 0.5162 GB, free: 4.281 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004398/0.4508, allocations: 2.352 MB / 0.5185 GB, free: 1.941 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.4508, allocations: 2 kB / 0.5185 GB, free: 1.941 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002671/0.4535, allocations: 1.444 MB / 0.5199 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002211/0.4557, allocations: 451.2 kB / 0.5203 GB, free: 68 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009126/0.4649, allocations: 5.226 MB / 0.5254 GB, free: 10.78 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001968/0.4668, allocations: 1.987 MB / 0.5274 GB, free: 8.758 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007492/0.4676, allocations: 143.4 kB / 0.5275 GB, free: 8.617 MB / 430.1 MB Notification: Performance of SimCode: time 6.31e-07/0.4676, allocations: 0 / 0.5275 GB, free: 8.617 MB / 430.1 MB Notification: Performance of Templates: time 0.08949/0.5571, allocations: 70.57 MB / 0.5964 GB, free: 2.117 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.30300054885447]