Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001482/0.001482, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001537/0.001537, allocations: 207.5 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.458/1.458, allocations: 230.5 MB / 257.4 MB, free: 7.758 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001979/0.001979, allocations: 67.91 kB / 378.2 MB, free: 2.273 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2613/0.2633, allocations: 53.4 MB / 431.6 MB, free: 6.523 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL): time 0.01261/0.2759, allocations: 9.055 MB / 440.7 MB, free: 13.44 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006509/0.2824, allocations: 3.132 MB / 443.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001102/0.2835, allocations: 75.5 kB / 443.9 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001804/0.2853, allocations: 0.6908 MB / 444.6 MB, free: 9.527 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002359/0.2877, allocations: 0.8894 MB / 445.5 MB, free: 8.633 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009621/0.2887, allocations: 427.4 kB / 445.9 MB, free: 8.215 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003688/0.2924, allocations: 2.991 MB / 448.9 MB, free: 5.215 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002055/0.2944, allocations: 1.336 MB / 450.2 MB, free: 3.816 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002038/0.2964, allocations: 1.398 MB / 451.6 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00267/0.2991, allocations: 1.662 MB / 453.3 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000612/0.2997, allocations: 356 kB / 453.6 MB, free: 408 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001141/0.3009, allocations: 463.8 kB / 454.1 MB, free: 15.95 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001093/0.302, allocations: 1.028 MB / 455.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001668/0.3036, allocations: 1.307 MB / 456.4 MB, free: 13.6 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005533/0.3092, allocations: 4.745 MB / 461.2 MB, free: 8.84 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.3092, allocations: 0 / 461.2 MB, free: 8.84 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.3092, allocations: 0 / 461.2 MB, free: 8.84 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001006/0.3093, allocations: 0 / 461.2 MB, free: 8.84 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.00695/0.3162, allocations: 3.284 MB / 464.5 MB, free: 5.504 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.3163, allocations: 11.97 kB / 464.5 MB, free: 5.492 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001189/0.3175, allocations: 374.9 kB / 464.8 MB, free: 5.125 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003523/0.321, allocations: 1.721 MB / 466.6 MB, free: 3.367 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001667/0.3211, allocations: 172.8 kB / 466.7 MB, free: 3.195 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003897/0.3215, allocations: 228 kB / 466.9 MB, free: 2.973 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005761/0.3273, allocations: 3.237 MB / 470.2 MB, free: 15.62 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.703e-05/0.3274, allocations: 11.94 kB / 470.2 MB, free: 15.61 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002661/0.3276, allocations: 95.98 kB / 470.3 MB, free: 15.52 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001292/0.3278, allocations: 108.5 kB / 470.4 MB, free: 15.41 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004978/0.3327, allocations: 2.692 MB / 473.1 MB, free: 12.7 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01515/0.3479, allocations: 8.401 MB / 481.5 MB, free: 4.027 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002652/0.3505, allocations: 1.407 MB / 482.9 MB, free: 2.625 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002043/0.3526, allocations: 1.043 MB / 483.9 MB, free: 1.586 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002394/0.3528, allocations: 48.95 kB / 484 MB, free: 1.535 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.349e-05/0.3529, allocations: 43.56 kB / 484 MB, free: 1.484 MB / 382.1 MB Notification: Performance of pre-optimization done (n=116): time 3.397e-06/0.3529, allocations: 0 / 484 MB, free: 1.484 MB / 382.1 MB Notification: Performance of matching and sorting (n=131): time 0.01463/0.3675, allocations: 6.342 MB / 490.4 MB, free: 11.11 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.989e-05/0.3676, allocations: 68.72 kB / 490.4 MB, free: 11.03 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002388/0.3699, allocations: 1.619 MB / 492.1 MB, free: 9.398 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.607e-05/0.37, allocations: 45.7 kB / 492.1 MB, free: 9.348 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009902/0.371, allocations: 1.193 MB / 493.3 MB, free: 8.141 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004067/0.3714, allocations: 472 kB / 493.8 MB, free: 7.676 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004672/0.3719, allocations: 287.5 kB / 494 MB, free: 7.387 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.372, allocations: 309.1 kB / 494.3 MB, free: 7.082 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001372/0.3734, allocations: 0.8003 MB / 495.1 MB, free: 6.281 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00168/0.3751, allocations: 1.201 MB / 496.3 MB, free: 4.91 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003176/0.3783, allocations: 2.098 MB / 498.4 MB, free: 2.641 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.348e-06/0.3783, allocations: 4 kB / 498.4 MB, free: 2.637 MB / 398.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.004627/0.3829, allocations: 2.584 MB / 0.4893 GB, free: 32 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.3829, allocations: 12 kB / 0.4893 GB, free: 20 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.777e-05/0.3829, allocations: 12 kB / 0.4893 GB, free: 8 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000977/0.3839, allocations: 411.5 kB / 0.4897 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001381/0.3853, allocations: 371.4 kB / 0.4901 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007198/0.3925, allocations: 6.647 MB / 0.4965 GB, free: 8.285 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001171/0.3937, allocations: 107.9 kB / 0.4966 GB, free: 8.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000117/0.3938, allocations: 63.98 kB / 0.4967 GB, free: 8.117 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.001302/0.3951, allocations: 0.7978 MB / 0.4975 GB, free: 7.309 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002892/0.3954, allocations: 182.8 kB / 0.4977 GB, free: 7.129 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004136/0.3995, allocations: 2.284 MB / 0.4999 GB, free: 4.816 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.184e-05/0.3995, allocations: 12 kB / 0.4999 GB, free: 4.805 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.3995, allocations: 4 kB / 0.4999 GB, free: 4.801 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.512e-05/0.3995, allocations: 7.969 kB / 0.4999 GB, free: 4.793 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008061/0.4076, allocations: 4.447 MB / 0.5043 GB, free: 252 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.794e-06/0.4076, allocations: 4 kB / 0.5043 GB, free: 248 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001026/0.4086, allocations: 240 kB / 0.5045 GB, free: 8 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001136/0.4098, allocations: 450.9 kB / 0.5049 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.846e-05/0.4099, allocations: 35.98 kB / 0.505 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00853/0.4184, allocations: 8.081 MB / 0.5128 GB, free: 7.031 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.668e-06/0.4184, allocations: 4 kB / 0.5128 GB, free: 7.027 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00549/0.4239, allocations: 3.423 MB / 0.5162 GB, free: 3.531 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009646/0.4249, allocations: 346.7 kB / 0.5165 GB, free: 3.191 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002236/0.4251, allocations: 32 kB / 0.5166 GB, free: 3.16 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009027/0.426, allocations: 87.89 kB / 0.5166 GB, free: 3.074 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002487/0.4262, allocations: 128.7 kB / 0.5168 GB, free: 2.949 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.104e-05/0.4263, allocations: 39.98 kB / 0.5168 GB, free: 2.91 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001608/0.4279, allocations: 1.09 MB / 0.5179 GB, free: 1.824 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4279, allocations: 0 / 0.5179 GB, free: 1.824 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001621/0.4296, allocations: 0.5038 MB / 0.5184 GB, free: 1.32 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.0003653/0.4299, allocations: 207 kB / 0.5185 GB, free: 1.109 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003974/0.4339, allocations: 2.315 MB / 0.5208 GB, free: 14.75 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.4339, allocations: 0.8125 kB / 0.5208 GB, free: 14.75 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002631/0.4365, allocations: 1.551 MB / 0.5223 GB, free: 13.15 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001927/0.4385, allocations: 422.9 kB / 0.5227 GB, free: 12.74 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008479/0.4469, allocations: 5.088 MB / 0.5277 GB, free: 7.582 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001759/0.4487, allocations: 1.447 MB / 0.5291 GB, free: 6.098 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001279/0.45, allocations: 426.3 kB / 0.5295 GB, free: 5.676 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003888/0.4504, allocations: 119.4 kB / 0.5296 GB, free: 5.559 MB / 446.1 MB Notification: Performance of SimCode: time 1.062e-06/0.4504, allocations: 0 / 0.5296 GB, free: 5.559 MB / 446.1 MB Notification: Performance of Templates: time 0.2329/0.6832, allocations: 29.91 MB / 0.5588 GB, free: 86.36 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.675914742052555]