Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.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.001443/0.001443, allocations: 115.1 kB / 18.45 MB, free: 4.566 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.001577/0.001577, allocations: 215.2 kB / 21.42 MB, free: 1.605 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.463/1.463, allocations: 230.6 MB / 254.8 MB, free: 15.09 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+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.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_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_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001652/0.001652, allocations: 47.92 kB / 374.2 MB, free: 9.691 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.111, allocations: 53.34 MB / 427.5 MB, free: 4.266 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL): time 0.2351/0.3462, allocations: 10.27 MB / 437.8 MB, free: 6.391 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006445/0.3526, allocations: 3.32 MB / 441.1 MB, free: 4.352 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002132/0.3548, allocations: 73.91 kB / 441.2 MB, free: 4.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002503/0.3573, allocations: 0.7377 MB / 441.9 MB, free: 3.926 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003687/0.3609, allocations: 0.8788 MB / 442.8 MB, free: 3.367 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001585/0.3625, allocations: 428.3 kB / 443.2 MB, free: 3.105 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004801/0.3673, allocations: 2.988 MB / 446.2 MB, free: 1.605 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003491/0.3708, allocations: 1.788 MB / 448 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002839/0.3737, allocations: 1.385 MB / 449.4 MB, free: 148 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003897/0.3776, allocations: 1.745 MB / 451.1 MB, free: 15.34 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001219/0.3788, allocations: 353.8 kB / 451.5 MB, free: 15.34 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002066/0.3808, allocations: 466.3 kB / 451.9 MB, free: 15.31 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001896/0.3827, allocations: 1.034 MB / 452.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003374/0.3861, allocations: 1.61 MB / 454.6 MB, free: 13.7 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006669/0.3928, allocations: 4.711 MB / 459.3 MB, free: 11.11 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.371e-06/0.3928, allocations: 0 / 459.3 MB, free: 11.11 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.3928, allocations: 1.125 kB / 459.3 MB, free: 11.11 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001515/0.3929, allocations: 0 / 459.3 MB, free: 11.11 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.009116/0.4021, allocations: 3.36 MB / 462.6 MB, free: 8.773 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.4021, allocations: 10.06 kB / 462.6 MB, free: 8.773 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001447/0.4035, allocations: 382.5 kB / 463 MB, free: 8.582 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003728/0.4073, allocations: 1.792 MB / 464.8 MB, free: 7.309 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001665/0.4074, allocations: 172.4 kB / 465 MB, free: 7.23 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003984/0.4078, allocations: 231.6 kB / 465.2 MB, free: 7.152 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006444/0.4143, allocations: 3.137 MB / 468.3 MB, free: 5.273 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.912e-05/0.4143, allocations: 5.984 kB / 468.3 MB, free: 5.27 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002379/0.4146, allocations: 104.8 kB / 468.4 MB, free: 5.188 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001207/0.4147, allocations: 105.8 kB / 468.5 MB, free: 5.172 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005027/0.4197, allocations: 2.701 MB / 471.2 MB, free: 3.785 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01886/0.4386, allocations: 9.639 MB / 480.9 MB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002953/0.4415, allocations: 2.086 MB / 483 MB, free: 8.531 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001978/0.4435, allocations: 1.045 MB / 484 MB, free: 7.492 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003418/0.4439, allocations: 211.1 kB / 484.2 MB, free: 7.25 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.553e-05/0.4439, allocations: 43.56 kB / 484.3 MB, free: 7.199 MB / 382.1 MB Notification: Performance of pre-optimization done (n=116): time 3.226e-06/0.4439, allocations: 0 / 484.3 MB, free: 7.199 MB / 382.1 MB Notification: Performance of matching and sorting (n=131): time 0.01613/0.46, allocations: 6.874 MB / 491.1 MB, free: 160 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.353e-05/0.4601, allocations: 72.66 kB / 491.2 MB, free: 76 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00321/0.4633, allocations: 1.756 MB / 493 MB, free: 14.31 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000215/0.4635, allocations: 49.7 kB / 493 MB, free: 14.26 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001012/0.4645, allocations: 1.186 MB / 494.2 MB, free: 13.06 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004884/0.465, allocations: 483.9 kB / 494.7 MB, free: 12.59 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005063/0.4655, allocations: 283.5 kB / 494.9 MB, free: 12.3 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.4657, allocations: 305.1 kB / 495.2 MB, free: 12 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001429/0.4671, allocations: 0.796 MB / 496 MB, free: 11.21 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001692/0.4688, allocations: 1.209 MB / 497.2 MB, free: 9.824 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003132/0.4719, allocations: 2.094 MB / 499.3 MB, free: 7.562 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.617e-06/0.4719, allocations: 4 kB / 499.3 MB, free: 7.559 MB / 398.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.005051/0.477, allocations: 2.671 MB / 0.4903 GB, free: 4.848 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.883e-05/0.477, allocations: 15.94 kB / 0.4903 GB, free: 4.832 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.564e-05/0.477, allocations: 12 kB / 0.4903 GB, free: 4.82 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001067/0.4781, allocations: 423.5 kB / 0.4907 GB, free: 4.395 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001418/0.4795, allocations: 359.5 kB / 0.491 GB, free: 4.043 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007633/0.4872, allocations: 7.072 MB / 0.4979 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001903/0.4891, allocations: 103.8 kB / 0.498 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000212/0.4893, allocations: 68 kB / 0.4981 GB, free: 12.39 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.00181/0.4911, allocations: 0.8016 MB / 0.4989 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006005/0.4917, allocations: 190.8 kB / 0.4991 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004591/0.4963, allocations: 2.371 MB / 0.5014 GB, free: 8.988 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.55e-05/0.4963, allocations: 15.94 kB / 0.5014 GB, free: 8.973 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.05e-05/0.4963, allocations: 4 kB / 0.5014 GB, free: 8.969 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.352e-05/0.4963, allocations: 3.984 kB / 0.5014 GB, free: 8.965 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009572/0.5059, allocations: 5.101 MB / 0.5064 GB, free: 3.723 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.768e-06/0.5059, allocations: 4 kB / 0.5064 GB, free: 3.719 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001042/0.5069, allocations: 231.7 kB / 0.5066 GB, free: 3.492 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001268/0.5082, allocations: 452.4 kB / 0.507 GB, free: 3.039 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001178/0.5083, allocations: 39.97 kB / 0.5071 GB, free: 3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009018/0.5173, allocations: 8.643 MB / 0.5155 GB, free: 9.801 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/0.5174, allocations: 4 kB / 0.5155 GB, free: 9.797 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006109/0.5235, allocations: 3.526 MB / 0.519 GB, free: 6.184 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001256/0.5247, allocations: 439.8 kB / 0.5194 GB, free: 5.734 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002824/0.525, allocations: 35.98 kB / 0.5194 GB, free: 5.699 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009729/0.526, allocations: 79.91 kB / 0.5195 GB, free: 5.621 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003238/0.5263, allocations: 120.7 kB / 0.5196 GB, free: 5.504 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.864e-05/0.5264, allocations: 43.92 kB / 0.5196 GB, free: 5.461 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002066/0.5285, allocations: 1.207 MB / 0.5208 GB, free: 4.262 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5285, allocations: 0 / 0.5208 GB, free: 4.262 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002071/0.5305, allocations: 0.5038 MB / 0.5213 GB, free: 3.758 MB / 430.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.0004655/0.531, allocations: 201 kB / 0.5215 GB, free: 3.555 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00443/0.5354, allocations: 2.411 MB / 0.5239 GB, free: 1.082 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.571e-06/0.5354, allocations: 0 / 0.5239 GB, free: 1.082 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002714/0.5381, allocations: 1.548 MB / 0.5254 GB, free: 15.48 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002732/0.5409, allocations: 482.8 kB / 0.5258 GB, free: 15.02 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009686/0.5506, allocations: 5.108 MB / 0.5308 GB, free: 9.836 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0019/0.5525, allocations: 1.965 MB / 0.5327 GB, free: 7.84 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007679/0.5532, allocations: 135.4 kB / 0.5329 GB, free: 7.707 MB / 446.1 MB Notification: Performance of SimCode: time 1.082e-06/0.5532, allocations: 4 kB / 0.5329 GB, free: 7.703 MB / 446.1 MB Notification: Performance of Templates: time 0.09723/0.6505, allocations: 80.06 MB / 0.6111 GB, free: 7.648 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 13.523409293004079]