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.001256/0.001256, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001387/0.001387, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.498/1.498, allocations: 230.6 MB / 258.3 MB, free: 8.023 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.001981/0.001981, allocations: 56.78 kB / 379 MB, free: 2.656 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2628/0.2648, allocations: 53.37 MB / 432.4 MB, free: 6.965 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL): time 0.01349/0.2783, allocations: 10.33 MB / 442.7 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008086/0.2863, allocations: 3.322 MB / 446.1 MB, free: 9.266 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00263/0.289, allocations: 75.44 kB / 446.1 MB, free: 9.191 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002886/0.2919, allocations: 0.749 MB / 446.9 MB, free: 8.441 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004694/0.2966, allocations: 0.8894 MB / 447.8 MB, free: 7.547 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002009/0.2986, allocations: 439.3 kB / 448.2 MB, free: 7.117 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005479/0.304, allocations: 2.99 MB / 451.2 MB, free: 4.117 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00337/0.3074, allocations: 1.38 MB / 452.6 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003145/0.3106, allocations: 1.386 MB / 454 MB, free: 1.281 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0035/0.3141, allocations: 1.748 MB / 455.7 MB, free: 15.53 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007562/0.3148, allocations: 352 kB / 456.1 MB, free: 15.18 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001381/0.3162, allocations: 471.8 kB / 456.5 MB, free: 14.72 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001154/0.3174, allocations: 1.04 MB / 457.6 MB, free: 13.68 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00215/0.3195, allocations: 1.61 MB / 459.2 MB, free: 12.06 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006103/0.3256, allocations: 4.714 MB / 463.9 MB, free: 7.332 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.483e-06/0.3256, allocations: 0 / 463.9 MB, free: 7.332 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.265e-06/0.3256, allocations: 0 / 463.9 MB, free: 7.332 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001345/0.3257, allocations: 0 / 463.9 MB, free: 7.332 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.007886/0.3336, allocations: 3.284 MB / 467.2 MB, free: 3.996 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/0.3337, allocations: 8.031 kB / 467.2 MB, free: 3.988 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001237/0.3349, allocations: 378.8 kB / 467.5 MB, free: 3.617 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003694/0.3386, allocations: 1.713 MB / 469.3 MB, free: 1.867 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001802/0.3388, allocations: 180.8 kB / 469.4 MB, free: 1.688 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004124/0.3392, allocations: 232 kB / 469.7 MB, free: 1.461 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006361/0.3456, allocations: 3.137 MB / 472.8 MB, free: 14.23 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.924e-05/0.3456, allocations: 7.953 kB / 472.8 MB, free: 14.23 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002232/0.3458, allocations: 95.98 kB / 472.9 MB, free: 14.13 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001256/0.346, allocations: 112.5 kB / 473 MB, free: 14.02 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005066/0.351, allocations: 2.696 MB / 475.7 MB, free: 11.31 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01728/0.3683, allocations: 9.479 MB / 485.2 MB, free: 1.539 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00254/0.3709, allocations: 1.414 MB / 486.6 MB, free: 132 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001917/0.3728, allocations: 1.043 MB / 487.6 MB, free: 15.09 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002544/0.373, allocations: 52.95 kB / 487.7 MB, free: 15.04 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.83e-05/0.3731, allocations: 43.56 kB / 487.7 MB, free: 14.98 MB / 398.1 MB Notification: Performance of pre-optimization done (n=116): time 3.276e-06/0.3731, allocations: 0 / 487.7 MB, free: 14.98 MB / 398.1 MB Notification: Performance of matching and sorting (n=131): time 0.01467/0.3877, allocations: 6.359 MB / 494.1 MB, free: 8.586 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.825e-05/0.3878, allocations: 68.66 kB / 494.2 MB, free: 8.508 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00297/0.3908, allocations: 1.755 MB / 495.9 MB, free: 6.75 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001326/0.3909, allocations: 45.7 kB / 496 MB, free: 6.699 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000997/0.3919, allocations: 1.186 MB / 497.1 MB, free: 5.5 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005287/0.3924, allocations: 484 kB / 497.6 MB, free: 5.023 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004616/0.3929, allocations: 279.5 kB / 497.9 MB, free: 4.742 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.3931, allocations: 309.1 kB / 498.2 MB, free: 4.438 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00134/0.3944, allocations: 0.7964 MB / 499 MB, free: 3.641 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001687/0.3961, allocations: 1.201 MB / 0.4885 GB, free: 2.27 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003165/0.3992, allocations: 2.098 MB / 0.4905 GB, free: 0 / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-05/0.3993, allocations: 4.047 kB / 0.4905 GB, free: 15.99 MB / 414.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.004904/0.4042, allocations: 2.596 MB / 0.4931 GB, free: 13.38 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.443e-05/0.4042, allocations: 12 kB / 0.4931 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.553e-05/0.4042, allocations: 12 kB / 0.4931 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001165/0.4054, allocations: 419.5 kB / 0.4935 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001427/0.4068, allocations: 359.4 kB / 0.4938 GB, free: 12.58 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007371/0.4142, allocations: 6.777 MB / 0.5004 GB, free: 5.469 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001462/0.4157, allocations: 111.8 kB / 0.5005 GB, free: 5.359 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001232/0.4158, allocations: 63.98 kB / 0.5006 GB, free: 5.297 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.001414/0.4172, allocations: 0.7917 MB / 0.5014 GB, free: 4.496 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003467/0.4175, allocations: 194.8 kB / 0.5016 GB, free: 4.305 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004083/0.4216, allocations: 2.3 MB / 0.5038 GB, free: 1.98 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-05/0.4216, allocations: 15.94 kB / 0.5038 GB, free: 1.965 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.4217, allocations: 4 kB / 0.5038 GB, free: 1.961 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.079e-05/0.4217, allocations: 3.984 kB / 0.5038 GB, free: 1.957 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008648/0.4303, allocations: 5.001 MB / 0.5087 GB, free: 12.84 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/0.4303, allocations: 0 / 0.5087 GB, free: 12.84 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001023/0.4313, allocations: 239.6 kB / 0.5089 GB, free: 12.61 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001176/0.4325, allocations: 447.2 kB / 0.5094 GB, free: 12.16 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.573e-05/0.4326, allocations: 35.98 kB / 0.5094 GB, free: 12.12 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00864/0.4413, allocations: 8.237 MB / 0.5175 GB, free: 3.438 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.6e-06/0.4413, allocations: 4 kB / 0.5175 GB, free: 3.434 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005812/0.4471, allocations: 3.443 MB / 0.5208 GB, free: 15.91 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001033/0.4481, allocations: 370.6 kB / 0.5212 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000241/0.4483, allocations: 35.98 kB / 0.5212 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008825/0.4492, allocations: 79.91 kB / 0.5213 GB, free: 15.44 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002907/0.4495, allocations: 128.7 kB / 0.5214 GB, free: 15.31 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.034e-05/0.4496, allocations: 47.92 kB / 0.5215 GB, free: 15.27 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001819/0.4514, allocations: 1.203 MB / 0.5226 GB, free: 14.07 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4514, allocations: 0 / 0.5226 GB, free: 14.07 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001659/0.4531, allocations: 0.5039 MB / 0.5231 GB, free: 13.57 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.0003734/0.4535, allocations: 198.9 kB / 0.5233 GB, free: 13.36 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00398/0.4574, allocations: 2.319 MB / 0.5256 GB, free: 11 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.4574, allocations: 0 / 0.5256 GB, free: 11 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002526/0.46, allocations: 1.56 MB / 0.5271 GB, free: 9.387 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001954/0.4619, allocations: 475.4 kB / 0.5275 GB, free: 8.93 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008217/0.4701, allocations: 5.11 MB / 0.5325 GB, free: 3.742 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001873/0.472, allocations: 2.005 MB / 0.5345 GB, free: 1.703 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001345/0.4734, allocations: 443.5 kB / 0.5349 GB, free: 1.266 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000388/0.4737, allocations: 131.4 kB / 0.535 GB, free: 1.137 MB / 446.1 MB Notification: Performance of SimCode: time 8.62e-07/0.4737, allocations: 0 / 0.535 GB, free: 1.137 MB / 446.1 MB Notification: Performance of Templates: time 0.2557/0.7294, allocations: 29.66 MB / 0.564 GB, free: 82.05 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMR_DOL/SMR_DOL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 5.683569780550897]