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.001321/0.001321, allocations: 116.8 kB / 19.17 MB, free: 3.895 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.001405/0.001405, allocations: 214.6 kB / 22.13 MB, free: 0.9414 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.465/1.465, allocations: 230.4 MB / 255.4 MB, free: 15.01 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.001917/0.001917, allocations: 79.81 kB / 374.8 MB, free: 9.738 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1058, allocations: 53.32 MB / 428.1 MB, free: 4.324 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL): time 0.2119/0.3177, allocations: 10.27 MB / 438.3 MB, free: 5.992 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005894/0.3236, allocations: 3.322 MB / 441.7 MB, free: 4.266 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001942/0.3255, allocations: 58.97 kB / 441.7 MB, free: 4.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002026/0.3275, allocations: 0.7428 MB / 442.5 MB, free: 3.852 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003086/0.3306, allocations: 0.8738 MB / 443.3 MB, free: 3.297 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00117/0.3318, allocations: 429.4 kB / 443.8 MB, free: 3.031 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003916/0.3357, allocations: 2.988 MB / 446.8 MB, free: 1.531 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002209/0.3379, allocations: 1.784 MB / 448.5 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002333/0.3402, allocations: 1.363 MB / 449.9 MB, free: 72 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003611/0.3439, allocations: 1.737 MB / 451.6 MB, free: 15.28 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001049/0.3449, allocations: 353.7 kB / 452 MB, free: 15.28 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001618/0.3465, allocations: 470.6 kB / 452.4 MB, free: 15.24 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001305/0.3478, allocations: 1.033 MB / 453.5 MB, free: 14.68 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00281/0.3506, allocations: 1.614 MB / 455.1 MB, free: 13.63 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006897/0.3575, allocations: 4.715 MB / 459.8 MB, free: 11.07 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.3575, allocations: 0 / 459.8 MB, free: 11.07 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.3575, allocations: 0 / 459.8 MB, free: 11.07 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000152/0.3577, allocations: 1.375 kB / 459.8 MB, free: 11.07 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.009073/0.3668, allocations: 3.355 MB / 463.2 MB, free: 8.734 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.3668, allocations: 9 kB / 463.2 MB, free: 8.734 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001487/0.3683, allocations: 383.9 kB / 463.5 MB, free: 8.543 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003827/0.3721, allocations: 1.788 MB / 465.3 MB, free: 7.273 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001664/0.3723, allocations: 175.4 kB / 465.5 MB, free: 7.191 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004239/0.3727, allocations: 238.2 kB / 465.7 MB, free: 7.109 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006915/0.3796, allocations: 3.137 MB / 468.9 MB, free: 5.23 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.789e-05/0.3797, allocations: 7.359 kB / 468.9 MB, free: 5.227 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002692/0.38, allocations: 91.75 kB / 469 MB, free: 5.156 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001486/0.3801, allocations: 109 kB / 469.1 MB, free: 5.137 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005966/0.3861, allocations: 2.695 MB / 471.8 MB, free: 3.754 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02095/0.407, allocations: 9.644 MB / 481.4 MB, free: 10.81 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003415/0.4105, allocations: 2.082 MB / 483.5 MB, free: 8.57 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002238/0.4127, allocations: 1.047 MB / 484.5 MB, free: 7.527 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004024/0.4131, allocations: 212.1 kB / 484.7 MB, free: 7.285 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.28e-05/0.4131, allocations: 47.5 kB / 484.8 MB, free: 7.23 MB / 382.1 MB Notification: Performance of pre-optimization done (n=116): time 4.278e-06/0.4131, allocations: 0 / 484.8 MB, free: 7.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=131): time 0.01714/0.4303, allocations: 6.878 MB / 491.7 MB, free: 184 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.994e-05/0.4303, allocations: 68.66 kB / 491.7 MB, free: 104 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003929/0.4343, allocations: 1.755 MB / 493.5 MB, free: 14.34 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00021/0.4345, allocations: 53.64 kB / 493.5 MB, free: 14.29 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001176/0.4357, allocations: 1.186 MB / 494.7 MB, free: 13.09 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000616/0.4363, allocations: 480 kB / 495.2 MB, free: 12.61 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000718/0.437, allocations: 283.5 kB / 495.5 MB, free: 12.33 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.4371, allocations: 305.1 kB / 495.8 MB, free: 12.03 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001582/0.4387, allocations: 0.7986 MB / 496.6 MB, free: 11.23 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001984/0.4407, allocations: 1.205 MB / 497.8 MB, free: 9.848 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003596/0.4443, allocations: 2.098 MB / 499.9 MB, free: 7.582 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.538e-05/0.4443, allocations: 4 kB / 499.9 MB, free: 7.578 MB / 398.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.00553/0.4498, allocations: 2.664 MB / 0.4908 GB, free: 4.875 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.561e-05/0.4499, allocations: 12 kB / 0.4908 GB, free: 4.863 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.635e-05/0.4499, allocations: 16.33 kB / 0.4908 GB, free: 4.848 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001149/0.4511, allocations: 419.1 kB / 0.4912 GB, free: 4.426 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001445/0.4525, allocations: 363.4 kB / 0.4915 GB, free: 4.07 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008163/0.4607, allocations: 7.073 MB / 0.4984 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001794/0.4625, allocations: 107.9 kB / 0.4986 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003138/0.4628, allocations: 67.98 kB / 0.4986 GB, free: 12.42 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.001998/0.4648, allocations: 0.7928 MB / 0.4994 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006793/0.4655, allocations: 194.8 kB / 0.4996 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005164/0.4706, allocations: 2.368 MB / 0.5019 GB, free: 9.02 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.88e-05/0.4706, allocations: 15.94 kB / 0.5019 GB, free: 9.004 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.457e-05/0.4707, allocations: 7.938 kB / 0.5019 GB, free: 8.996 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.988e-05/0.4707, allocations: 15.91 kB / 0.5019 GB, free: 8.984 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01149/0.4822, allocations: 5.097 MB / 0.5069 GB, free: 3.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-05/0.4822, allocations: 4 kB / 0.5069 GB, free: 3.746 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001109/0.4833, allocations: 235.6 kB / 0.5071 GB, free: 3.516 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001344/0.4846, allocations: 451.2 kB / 0.5076 GB, free: 3.066 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001432/0.4848, allocations: 39.98 kB / 0.5076 GB, free: 3.027 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009852/0.4946, allocations: 8.642 MB / 0.516 GB, free: 9.828 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/0.4946, allocations: 4 kB / 0.516 GB, free: 9.824 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007171/0.5018, allocations: 3.522 MB / 0.5195 GB, free: 6.215 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001396/0.5032, allocations: 443.8 kB / 0.5199 GB, free: 5.762 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006819/0.5039, allocations: 32 kB / 0.5199 GB, free: 5.73 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001441/0.5053, allocations: 79.91 kB / 0.52 GB, free: 5.652 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003873/0.5057, allocations: 124.7 kB / 0.5201 GB, free: 5.531 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001274/0.5058, allocations: 39.98 kB / 0.5202 GB, free: 5.492 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002709/0.5085, allocations: 1.203 MB / 0.5213 GB, free: 4.297 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5085, allocations: 3.938 kB / 0.5213 GB, free: 4.293 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002614/0.5112, allocations: 0.5077 MB / 0.5218 GB, free: 3.785 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.0005262/0.5117, allocations: 198.9 kB / 0.522 GB, free: 3.582 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004728/0.5164, allocations: 2.4 MB / 0.5244 GB, free: 1.117 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.62e-06/0.5164, allocations: 0 / 0.5244 GB, free: 1.117 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002922/0.5193, allocations: 1.565 MB / 0.5259 GB, free: 15.51 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003808/0.5232, allocations: 470.5 kB / 0.5264 GB, free: 15.06 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01203/0.5352, allocations: 5.112 MB / 0.5313 GB, free: 9.863 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002821/0.538, allocations: 1.965 MB / 0.5333 GB, free: 7.867 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008533/0.5389, allocations: 135.4 kB / 0.5334 GB, free: 7.734 MB / 446.1 MB Notification: Performance of SimCode: time 1.563e-06/0.5389, allocations: 8 kB / 0.5334 GB, free: 7.727 MB / 446.1 MB Notification: Performance of Templates: time 0.1068/0.6457, allocations: 80.05 MB / 0.6116 GB, free: 7.68 MB / 0.5137 GB " [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.933510021073744]