Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.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.001305/0.001305, allocations: 113 kB / 21.18 MB, free: 0.5898 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.001426/0.001426, allocations: 209.7 kB / 24.47 MB, free: 3.996 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.376/1.376, allocations: 230.4 MB / 258.1 MB, free: 8.145 MB / 206.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-beta.om/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.SMR_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|loadInertia.phi|loadInertia.w|smr.is.1.|smr.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|loadInertia.phi|loadInertia.w|smr.is.1.|smr.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001868/0.001868, allocations: 67.83 kB / 378.7 MB, free: 2.961 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2458/0.2477, allocations: 53.32 MB / 432.1 MB, free: 7.363 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL): time 0.01316/0.2609, allocations: 10.32 MB / 442.4 MB, free: 13 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006766/0.2676, allocations: 3.33 MB / 445.7 MB, free: 9.664 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001353/0.269, allocations: 59.75 kB / 445.8 MB, free: 9.605 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001808/0.2708, allocations: 0.7415 MB / 446.5 MB, free: 8.859 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002396/0.2732, allocations: 0.8815 MB / 447.4 MB, free: 7.973 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00104/0.2742, allocations: 442.5 kB / 447.8 MB, free: 7.543 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003573/0.2778, allocations: 2.98 MB / 450.8 MB, free: 4.551 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001939/0.2797, allocations: 1.376 MB / 452.2 MB, free: 3.109 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00196/0.2817, allocations: 1.359 MB / 453.5 MB, free: 1.746 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002548/0.2843, allocations: 1.744 MB / 455.3 MB, free: 15.99 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005259/0.2848, allocations: 352 kB / 455.6 MB, free: 15.65 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000873/0.2857, allocations: 467.8 kB / 456.1 MB, free: 15.2 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00103/0.2867, allocations: 1.04 MB / 457.1 MB, free: 14.15 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001866/0.2885, allocations: 1.614 MB / 458.7 MB, free: 12.53 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005181/0.2937, allocations: 4.714 MB / 463.5 MB, free: 7.801 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.2937, allocations: 0 / 463.5 MB, free: 7.801 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2937, allocations: 0 / 463.5 MB, free: 7.801 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.464e-05/0.2938, allocations: 0 / 463.5 MB, free: 7.801 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: 606 * Number of variables: 606 Notification: Performance of Generate backend data structure: time 0.007404/0.3012, allocations: 3.351 MB / 466.8 MB, free: 4.379 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.3013, allocations: 8.031 kB / 466.8 MB, free: 4.371 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00118/0.3025, allocations: 382.8 kB / 467.2 MB, free: 3.996 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003482/0.3059, allocations: 1.793 MB / 469 MB, free: 2.148 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001565/0.3061, allocations: 184.7 kB / 469.2 MB, free: 1.965 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003653/0.3065, allocations: 232 kB / 469.4 MB, free: 1.738 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005453/0.3119, allocations: 3.133 MB / 472.5 MB, free: 14.52 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.189e-05/0.312, allocations: 7.953 kB / 472.5 MB, free: 14.51 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002259/0.3122, allocations: 96 kB / 472.6 MB, free: 14.41 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001293/0.3123, allocations: 108.6 kB / 472.7 MB, free: 14.3 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004756/0.3171, allocations: 2.7 MB / 475.4 MB, free: 11.59 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01607/0.3332, allocations: 9.633 MB / 485.1 MB, free: 1.668 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002916/0.3361, allocations: 2.088 MB / 487.1 MB, free: 15.42 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001965/0.338, allocations: 1.058 MB / 488.2 MB, free: 14.36 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003242/0.3384, allocations: 207.2 kB / 488.4 MB, free: 14.12 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.782e-05/0.3384, allocations: 47.56 kB / 488.5 MB, free: 14.07 MB / 398.1 MB Notification: Performance of pre-optimization done (n=116): time 3.116e-06/0.3384, allocations: 0 / 488.5 MB, free: 14.07 MB / 398.1 MB Notification: Performance of matching and sorting (n=131): time 0.01534/0.3538, allocations: 6.878 MB / 495.3 MB, free: 7.023 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.646e-05/0.3538, allocations: 64.72 kB / 495.4 MB, free: 6.949 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002713/0.3565, allocations: 1.759 MB / 497.2 MB, free: 5.188 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001802/0.3567, allocations: 45.7 kB / 497.2 MB, free: 5.137 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009601/0.3577, allocations: 1.194 MB / 498.4 MB, free: 3.93 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004503/0.3581, allocations: 472 kB / 498.9 MB, free: 3.465 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004688/0.3586, allocations: 287.5 kB / 499.1 MB, free: 3.176 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.3587, allocations: 309.1 kB / 499.4 MB, free: 2.871 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001332/0.3601, allocations: 0.7886 MB / 0.4885 GB, free: 2.082 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001637/0.3617, allocations: 1.201 MB / 0.4897 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003048/0.3647, allocations: 2.098 MB / 0.4917 GB, free: 14.44 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.715e-06/0.3648, allocations: 8 kB / 0.4917 GB, free: 14.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.004593/0.3693, allocations: 2.671 MB / 0.4943 GB, free: 11.72 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.643e-05/0.3694, allocations: 12 kB / 0.4944 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.204e-05/0.3694, allocations: 20.27 kB / 0.4944 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009625/0.3704, allocations: 415.1 kB / 0.4948 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001369/0.3717, allocations: 363.4 kB / 0.4951 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007481/0.3792, allocations: 7.088 MB / 0.502 GB, free: 3.426 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001395/0.3806, allocations: 107.8 kB / 0.5021 GB, free: 3.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001158/0.3807, allocations: 60 kB / 0.5022 GB, free: 3.262 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 3 (idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (174): * Single equations (assignments): 170 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * 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): 3 systems {(3,11,100.0%), (1,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001326/0.382, allocations: 0.7978 MB / 0.503 GB, free: 2.453 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003384/0.3824, allocations: 194.8 kB / 0.5032 GB, free: 2.262 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004067/0.3865, allocations: 2.368 MB / 0.5055 GB, free: 15.84 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.451e-05/0.3865, allocations: 15.94 kB / 0.5055 GB, free: 15.83 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.176e-05/0.3865, allocations: 8 kB / 0.5055 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.086e-05/0.3865, allocations: 7.984 kB / 0.5055 GB, free: 15.81 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008647/0.3951, allocations: 5.105 MB / 0.5105 GB, free: 10.57 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/0.3951, allocations: 0 / 0.5105 GB, free: 10.57 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009809/0.3961, allocations: 239.6 kB / 0.5107 GB, free: 10.34 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00107/0.3972, allocations: 451.5 kB / 0.5111 GB, free: 9.887 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.619e-05/0.3973, allocations: 43.97 kB / 0.5112 GB, free: 9.844 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009016/0.4063, allocations: 8.633 MB / 0.5196 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.631e-06/0.4063, allocations: 4 kB / 0.5196 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005861/0.4122, allocations: 3.522 MB / 0.5231 GB, free: 13.03 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001065/0.4132, allocations: 439.8 kB / 0.5235 GB, free: 12.58 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002551/0.4135, allocations: 35.98 kB / 0.5235 GB, free: 12.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009188/0.4144, allocations: 83.91 kB / 0.5236 GB, free: 12.46 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002859/0.4147, allocations: 120.7 kB / 0.5237 GB, free: 12.35 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.172e-05/0.4148, allocations: 35.98 kB / 0.5237 GB, free: 12.31 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001865/0.4166, allocations: 1.21 MB / 0.5249 GB, free: 11.11 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4166, allocations: 0 / 0.5249 GB, free: 11.11 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001668/0.4183, allocations: 0.5078 MB / 0.5254 GB, free: 10.6 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 6 (smr.inertiaRotor.w,smr.idq_sr[1],smr.idq_sr[2],smr.idq_dr[1],smr.idq_dr[2],loadInertia.phi) * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (114): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,11,100.0%), (1,1,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.0003825/0.4187, allocations: 195 kB / 0.5256 GB, free: 10.4 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004022/0.4227, allocations: 2.398 MB / 0.528 GB, free: 7.941 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.4227, allocations: 0 / 0.528 GB, free: 7.941 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002555/0.4253, allocations: 1.56 MB / 0.5295 GB, free: 6.332 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002018/0.4273, allocations: 479.2 kB / 0.5299 GB, free: 5.871 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00797/0.4353, allocations: 5.142 MB / 0.535 GB, free: 0.6484 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1831/0.6184, allocations: 1.966 MB / 0.5369 GB, free: 100.3 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007215/0.6191, allocations: 136.3 kB / 0.537 GB, free: 100.3 MB / 446.1 MB Notification: Performance of SimCode: time 9.52e-07/0.6191, allocations: 0 / 0.537 GB, free: 100.3 MB / 446.1 MB Notification: Performance of Templates: time 0.06111/0.6802, allocations: 80.05 MB / 0.6152 GB, free: 30.81 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMR_DOL/SMR_DOL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.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: 12.368227595929056]