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.001862/0.001862, allocations: 106.5 kB / 21.22 MB, free: 0.6797 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.00237/0.00237, allocations: 209.3 kB / 24.54 MB, free: 4.055 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.473/1.473, allocations: 230.3 MB / 258 MB, free: 8.25 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.001941/0.001941, allocations: 59.89 kB / 378.8 MB, free: 2.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2467/0.2486, allocations: 53.37 MB / 432.1 MB, free: 7.066 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL): time 0.01329/0.2619, allocations: 10.33 MB / 442.5 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007338/0.2693, allocations: 3.326 MB / 445.8 MB, free: 9.363 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001937/0.2712, allocations: 79.44 kB / 445.9 MB, free: 9.285 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003152/0.2744, allocations: 0.7451 MB / 446.6 MB, free: 8.539 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004358/0.2787, allocations: 0.8933 MB / 447.5 MB, free: 7.641 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001717/0.2804, allocations: 435.3 kB / 447.9 MB, free: 7.215 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005107/0.2855, allocations: 2.984 MB / 450.9 MB, free: 4.219 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003387/0.2889, allocations: 1.38 MB / 452.3 MB, free: 2.773 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002722/0.2916, allocations: 1.398 MB / 453.7 MB, free: 1.371 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003332/0.295, allocations: 1.744 MB / 455.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001171/0.2961, allocations: 359.9 kB / 455.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001551/0.2977, allocations: 471.8 kB / 456.2 MB, free: 14.81 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001574/0.2993, allocations: 1.036 MB / 457.3 MB, free: 13.77 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002869/0.3021, allocations: 1.61 MB / 458.9 MB, free: 12.15 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006641/0.3088, allocations: 4.718 MB / 463.6 MB, free: 7.418 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.3088, allocations: 0 / 463.6 MB, free: 7.418 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3088, allocations: 0 / 463.6 MB, free: 7.418 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001344/0.3089, allocations: 0 / 463.6 MB, free: 7.418 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.007873/0.3168, allocations: 3.28 MB / 466.9 MB, free: 4.086 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.3168, allocations: 8.031 kB / 466.9 MB, free: 4.078 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001223/0.3181, allocations: 382.8 kB / 467.3 MB, free: 3.703 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003502/0.3216, allocations: 1.709 MB / 469 MB, free: 1.957 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001663/0.3217, allocations: 176.8 kB / 469.2 MB, free: 1.781 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004275/0.3222, allocations: 236 kB / 469.4 MB, free: 1.551 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00587/0.328, allocations: 3.129 MB / 472.5 MB, free: 14.33 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.976e-05/0.3281, allocations: 11.95 kB / 472.5 MB, free: 14.32 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002393/0.3283, allocations: 103.9 kB / 472.6 MB, free: 14.22 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001279/0.3285, allocations: 108.5 kB / 472.7 MB, free: 14.11 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004953/0.3334, allocations: 2.7 MB / 475.4 MB, free: 11.39 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01672/0.3501, allocations: 9.483 MB / 484.9 MB, free: 1.621 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00287/0.353, allocations: 1.415 MB / 486.3 MB, free: 212 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002041/0.355, allocations: 1.042 MB / 487.4 MB, free: 15.17 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002456/0.3553, allocations: 52.95 kB / 487.4 MB, free: 15.11 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.931e-05/0.3553, allocations: 43.56 kB / 487.5 MB, free: 15.06 MB / 398.1 MB Notification: Performance of pre-optimization done (n=116): time 2.975e-06/0.3553, allocations: 0 / 487.5 MB, free: 15.06 MB / 398.1 MB Notification: Performance of matching and sorting (n=131): time 0.01519/0.3705, allocations: 6.358 MB / 493.8 MB, free: 8.672 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.95e-05/0.3706, allocations: 64.72 kB / 493.9 MB, free: 8.598 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002679/0.3733, allocations: 1.755 MB / 495.6 MB, free: 6.84 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001405/0.3734, allocations: 49.7 kB / 495.7 MB, free: 6.785 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009425/0.3743, allocations: 1.19 MB / 496.9 MB, free: 5.582 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004327/0.3748, allocations: 480 kB / 497.3 MB, free: 5.109 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004829/0.3753, allocations: 279.5 kB / 497.6 MB, free: 4.828 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.3754, allocations: 309.1 kB / 497.9 MB, free: 4.523 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001403/0.3768, allocations: 0.7964 MB / 498.7 MB, free: 3.727 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001697/0.3785, allocations: 1.201 MB / 499.9 MB, free: 2.355 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003179/0.3817, allocations: 2.098 MB / 0.4903 GB, free: 88 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.575e-06/0.3817, allocations: 4 kB / 0.4903 GB, free: 84 kB / 398.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.004869/0.3865, allocations: 2.604 MB / 0.4928 GB, free: 13.46 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.391e-05/0.3866, allocations: 8 kB / 0.4928 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.081e-05/0.3866, allocations: 12 kB / 0.4928 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00107/0.3877, allocations: 419.5 kB / 0.4932 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001421/0.3891, allocations: 359.4 kB / 0.4936 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00785/0.3969, allocations: 6.77 MB / 0.5002 GB, free: 5.559 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001439/0.3984, allocations: 115.8 kB / 0.5003 GB, free: 5.445 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001322/0.3985, allocations: 67.98 kB / 0.5003 GB, free: 5.379 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.00141/0.3999, allocations: 0.7901 MB / 0.5011 GB, free: 4.578 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000355/0.4003, allocations: 190.8 kB / 0.5013 GB, free: 4.391 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004459/0.4047, allocations: 2.296 MB / 0.5035 GB, free: 2.066 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.416e-05/0.4047, allocations: 15.94 kB / 0.5036 GB, free: 2.051 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.401e-05/0.4047, allocations: 4 kB / 0.5036 GB, free: 2.047 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.244e-05/0.4048, allocations: 3.984 kB / 0.5036 GB, free: 2.043 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009233/0.414, allocations: 5.005 MB / 0.5085 GB, free: 12.92 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.866e-06/0.414, allocations: 4 kB / 0.5085 GB, free: 12.92 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001079/0.4151, allocations: 231.6 kB / 0.5087 GB, free: 12.69 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00128/0.4164, allocations: 459.4 kB / 0.5091 GB, free: 12.23 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001061/0.4165, allocations: 35.98 kB / 0.5092 GB, free: 12.2 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009668/0.4261, allocations: 8.222 MB / 0.5172 GB, free: 3.52 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/0.4261, allocations: 4 kB / 0.5172 GB, free: 3.516 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006361/0.4325, allocations: 3.443 MB / 0.5205 GB, free: 4 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001275/0.4338, allocations: 366.8 kB / 0.5209 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00029/0.4341, allocations: 35.98 kB / 0.5209 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001011/0.4351, allocations: 83.91 kB / 0.521 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003222/0.4354, allocations: 124.8 kB / 0.5211 GB, free: 15.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.595e-05/0.4355, allocations: 43.97 kB / 0.5212 GB, free: 15.36 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002039/0.4375, allocations: 1.21 MB / 0.5224 GB, free: 14.16 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4375, allocations: 0 / 0.5224 GB, free: 14.16 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002318/0.4399, allocations: 0.5 MB / 0.5228 GB, free: 13.66 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.0004453/0.4403, allocations: 198.8 kB / 0.523 GB, free: 13.45 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004366/0.4447, allocations: 2.322 MB / 0.5253 GB, free: 11.09 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.207e-06/0.4447, allocations: 0 / 0.5253 GB, free: 11.09 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002768/0.4474, allocations: 1.56 MB / 0.5268 GB, free: 9.48 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002406/0.4498, allocations: 480.4 kB / 0.5273 GB, free: 9.02 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008681/0.4585, allocations: 5.11 MB / 0.5323 GB, free: 3.828 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001971/0.4605, allocations: 1.997 MB / 0.5342 GB, free: 1.797 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00135/0.4618, allocations: 443.5 kB / 0.5346 GB, free: 1.359 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004227/0.4623, allocations: 135.4 kB / 0.5348 GB, free: 1.227 MB / 446.1 MB Notification: Performance of SimCode: time 1.232e-06/0.4623, allocations: 3.938 kB / 0.5348 GB, free: 1.223 MB / 446.1 MB Notification: Performance of Templates: time 0.2266/0.6889, allocations: 29.65 MB / 0.5637 GB, free: 82.19 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.892965071834624]