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.007148/0.007148, allocations: 108.6 kB / 21.97 MB, free: 5.184 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.001956/0.001956, allocations: 220.6 kB / 25.29 MB, free: 3.203 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.433/1.433, allocations: 230.6 MB / 259 MB, free: 8.02 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.001973/0.001973, allocations: 68.77 kB / 379.8 MB, free: 2.742 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2683/0.2703, allocations: 53.38 MB / 433.2 MB, free: 6.98 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL): time 0.01275/0.283, allocations: 10.32 MB / 443.5 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006973/0.29, allocations: 3.33 MB / 446.8 MB, free: 9.281 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001811/0.2918, allocations: 79.44 kB / 446.9 MB, free: 9.203 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002289/0.2941, allocations: 0.7454 MB / 447.7 MB, free: 8.453 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003485/0.2976, allocations: 0.8855 MB / 448.5 MB, free: 7.562 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001382/0.299, allocations: 435.3 kB / 449 MB, free: 7.137 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004527/0.3035, allocations: 2.984 MB / 452 MB, free: 4.145 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0023/0.3058, allocations: 1.376 MB / 453.3 MB, free: 2.703 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002464/0.3083, allocations: 1.39 MB / 454.7 MB, free: 1.309 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003206/0.3115, allocations: 1.751 MB / 456.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009276/0.3124, allocations: 352 kB / 456.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001383/0.3138, allocations: 475.8 kB / 457.3 MB, free: 14.74 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001221/0.315, allocations: 1.028 MB / 458.3 MB, free: 13.71 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002425/0.3174, allocations: 1.618 MB / 459.9 MB, free: 12.09 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005727/0.3232, allocations: 4.715 MB / 464.6 MB, free: 7.355 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.684e-06/0.3232, allocations: 0 / 464.6 MB, free: 7.355 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.3232, allocations: 0 / 464.6 MB, free: 7.355 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001372/0.3233, allocations: 0 / 464.6 MB, free: 7.355 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.007627/0.3309, allocations: 3.284 MB / 467.9 MB, free: 4.02 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.331, allocations: 11.97 kB / 467.9 MB, free: 4.008 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001281/0.3323, allocations: 382.8 kB / 468.3 MB, free: 3.633 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003909/0.3362, allocations: 1.705 MB / 470 MB, free: 1.891 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001921/0.3364, allocations: 180.8 kB / 470.2 MB, free: 1.711 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005828/0.3369, allocations: 228 kB / 470.4 MB, free: 1.488 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006085/0.343, allocations: 3.137 MB / 473.6 MB, free: 14.26 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.187e-05/0.3431, allocations: 11.89 kB / 473.6 MB, free: 14.25 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002185/0.3433, allocations: 96 kB / 473.7 MB, free: 14.16 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001365/0.3434, allocations: 112.5 kB / 473.8 MB, free: 14.04 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005144/0.3486, allocations: 2.692 MB / 476.5 MB, free: 11.34 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.018/0.3666, allocations: 9.487 MB / 485.9 MB, free: 1.559 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00274/0.3693, allocations: 1.422 MB / 487.4 MB, free: 144 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002027/0.3714, allocations: 1.039 MB / 488.4 MB, free: 15.11 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002567/0.3716, allocations: 48.95 kB / 488.5 MB, free: 15.05 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.355e-05/0.3717, allocations: 43.56 kB / 488.5 MB, free: 15 MB / 398.1 MB Notification: Performance of pre-optimization done (n=116): time 4.188e-06/0.3717, allocations: 0 / 488.5 MB, free: 15 MB / 398.1 MB Notification: Performance of matching and sorting (n=131): time 0.01502/0.3867, allocations: 6.355 MB / 494.9 MB, free: 8.609 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.111e-05/0.3868, allocations: 68.72 kB / 494.9 MB, free: 8.531 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003285/0.39, allocations: 1.759 MB / 496.7 MB, free: 6.77 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002163/0.3903, allocations: 45.7 kB / 496.7 MB, free: 6.719 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00103/0.3913, allocations: 1.194 MB / 497.9 MB, free: 5.512 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005471/0.3918, allocations: 472 kB / 498.4 MB, free: 5.047 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005672/0.3924, allocations: 283.5 kB / 498.7 MB, free: 4.762 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.3925, allocations: 305.1 kB / 499 MB, free: 4.461 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001463/0.394, allocations: 0.7964 MB / 499.8 MB, free: 3.664 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001793/0.3958, allocations: 1.205 MB / 0.4892 GB, free: 2.289 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003304/0.3991, allocations: 2.09 MB / 0.4913 GB, free: 28 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.531e-05/0.3991, allocations: 8 kB / 0.4913 GB, free: 20 kB / 398.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.005119/0.4042, allocations: 2.6 MB / 0.4938 GB, free: 13.39 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.371e-05/0.4043, allocations: 15 kB / 0.4938 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.773e-05/0.4043, allocations: 16 kB / 0.4938 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001092/0.4054, allocations: 411.1 kB / 0.4942 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001448/0.4068, allocations: 363.4 kB / 0.4946 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007685/0.4145, allocations: 6.772 MB / 0.5012 GB, free: 5.492 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001615/0.4161, allocations: 111.8 kB / 0.5013 GB, free: 5.383 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001464/0.4163, allocations: 60 kB / 0.5013 GB, free: 5.324 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.001464/0.4177, allocations: 0.8016 MB / 0.5021 GB, free: 4.512 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003983/0.4181, allocations: 194.8 kB / 0.5023 GB, free: 4.32 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004264/0.4224, allocations: 2.292 MB / 0.5046 GB, free: 2.004 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.738e-05/0.4224, allocations: 15.94 kB / 0.5046 GB, free: 1.988 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.418e-06/0.4224, allocations: 8 kB / 0.5046 GB, free: 1.98 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.382e-05/0.4224, allocations: 7.969 kB / 0.5046 GB, free: 1.973 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00924/0.4317, allocations: 5.005 MB / 0.5095 GB, free: 12.85 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.488e-06/0.4317, allocations: 4 kB / 0.5095 GB, free: 12.85 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001024/0.4327, allocations: 231.6 kB / 0.5097 GB, free: 12.62 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001214/0.4339, allocations: 462.4 kB / 0.5101 GB, free: 12.16 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001058/0.434, allocations: 31.98 kB / 0.5102 GB, free: 12.13 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008758/0.4428, allocations: 8.215 MB / 0.5182 GB, free: 3.461 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.233e-06/0.4428, allocations: 7.938 kB / 0.5182 GB, free: 3.453 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005927/0.4487, allocations: 3.447 MB / 0.5216 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001126/0.4499, allocations: 366.6 kB / 0.5219 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002918/0.4501, allocations: 35.98 kB / 0.522 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009416/0.4511, allocations: 87.91 kB / 0.522 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003053/0.4514, allocations: 120.7 kB / 0.5222 GB, free: 15.33 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.448e-05/0.4515, allocations: 39.98 kB / 0.5222 GB, free: 15.29 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001919/0.4534, allocations: 1.203 MB / 0.5234 GB, free: 14.1 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4534, allocations: 0 / 0.5234 GB, free: 14.1 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00177/0.4552, allocations: 0.5078 MB / 0.5239 GB, free: 13.59 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.0004084/0.4556, allocations: 198.9 kB / 0.524 GB, free: 13.39 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004171/0.4597, allocations: 2.322 MB / 0.5263 GB, free: 11.02 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.269e-06/0.4597, allocations: 0 / 0.5263 GB, free: 11.02 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002553/0.4623, allocations: 1.556 MB / 0.5278 GB, free: 9.41 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002254/0.4646, allocations: 488.3 kB / 0.5283 GB, free: 8.941 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008602/0.4732, allocations: 5.132 MB / 0.5333 GB, free: 3.727 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001824/0.475, allocations: 1.969 MB / 0.5352 GB, free: 1.727 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006129/0.4756, allocations: 143.4 kB / 0.5354 GB, free: 1.586 MB / 446.1 MB Notification: Performance of SimCode: time 1.122e-06/0.4756, allocations: 0 / 0.5354 GB, free: 1.586 MB / 446.1 MB Notification: Performance of Templates: time 0.277/0.7525, allocations: 80.06 MB / 0.6136 GB, free: 31.78 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/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-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: 13.447711029089987]