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.001828/0.001828, allocations: 118.6 kB / 18.5 MB, free: 4.543 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.002152/0.002152, allocations: 202.6 kB / 21.45 MB, free: 1.59 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.48/1.48, allocations: 230.2 MB / 254.5 MB, free: 15.26 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.001888/0.001888, allocations: 67.88 kB / 373.8 MB, free: 9.906 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1033, allocations: 53.31 MB / 427.2 MB, free: 4.492 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL): time 0.1927/0.2961, allocations: 10.29 MB / 437.4 MB, free: 6.633 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006736/0.3028, allocations: 3.324 MB / 440.8 MB, free: 4.629 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002323/0.3051, allocations: 58.12 kB / 440.8 MB, free: 4.613 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002517/0.3077, allocations: 0.743 MB / 441.6 MB, free: 4.215 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003607/0.3113, allocations: 0.8708 MB / 442.4 MB, free: 3.664 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001231/0.3125, allocations: 432.7 kB / 442.9 MB, free: 3.398 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004714/0.3172, allocations: 2.988 MB / 445.8 MB, free: 1.902 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002593/0.3198, allocations: 1.788 MB / 447.6 MB, free: 1.094 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00268/0.3225, allocations: 1.364 MB / 449 MB, free: 448 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00326/0.3257, allocations: 1.744 MB / 450.7 MB, free: 15.64 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008134/0.3266, allocations: 354 kB / 451.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001532/0.3281, allocations: 471.8 kB / 451.5 MB, free: 15.6 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001482/0.3296, allocations: 1.032 MB / 452.6 MB, free: 15.04 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003937/0.3335, allocations: 1.606 MB / 454.2 MB, free: 14 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00747/0.341, allocations: 4.713 MB / 458.9 MB, free: 11.44 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.523e-06/0.341, allocations: 1.062 kB / 458.9 MB, free: 11.44 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.341, allocations: 0 / 458.9 MB, free: 11.44 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001253/0.3411, allocations: 3.938 kB / 458.9 MB, free: 11.44 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.00836/0.3495, allocations: 3.36 MB / 462.3 MB, free: 9.098 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/0.3495, allocations: 10.5 kB / 462.3 MB, free: 9.098 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001516/0.351, allocations: 382 kB / 462.6 MB, free: 8.906 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003626/0.3547, allocations: 1.785 MB / 464.4 MB, free: 7.641 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001614/0.3548, allocations: 172.7 kB / 464.6 MB, free: 7.562 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003672/0.3552, allocations: 238.6 kB / 464.8 MB, free: 7.477 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007157/0.3623, allocations: 3.138 MB / 468 MB, free: 5.598 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-05/0.3624, allocations: 10.83 kB / 468 MB, free: 5.59 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002579/0.3627, allocations: 96.34 kB / 468.1 MB, free: 5.516 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001545/0.3628, allocations: 108.3 kB / 468.2 MB, free: 5.496 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006306/0.3691, allocations: 2.696 MB / 470.9 MB, free: 4.113 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01996/0.3891, allocations: 9.639 MB / 480.5 MB, free: 11.16 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003147/0.3922, allocations: 2.086 MB / 482.6 MB, free: 8.922 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002068/0.3943, allocations: 1.049 MB / 483.6 MB, free: 7.875 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003475/0.3947, allocations: 199.2 kB / 483.8 MB, free: 7.645 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.686e-05/0.3947, allocations: 51.55 kB / 483.9 MB, free: 7.586 MB / 382.1 MB Notification: Performance of pre-optimization done (n=116): time 4.769e-06/0.3947, allocations: 1.078 kB / 483.9 MB, free: 7.586 MB / 382.1 MB Notification: Performance of matching and sorting (n=131): time 0.01618/0.4109, allocations: 6.881 MB / 490.8 MB, free: 0.5352 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.333e-05/0.4109, allocations: 64.72 kB / 490.8 MB, free: 472 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003827/0.4148, allocations: 1.759 MB / 492.6 MB, free: 14.7 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002239/0.415, allocations: 49.7 kB / 492.6 MB, free: 14.64 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001125/0.4161, allocations: 1.194 MB / 493.8 MB, free: 13.44 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006232/0.4167, allocations: 468 kB / 494.3 MB, free: 12.98 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006535/0.4174, allocations: 287.5 kB / 494.6 MB, free: 12.69 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.4175, allocations: 305.1 kB / 494.9 MB, free: 12.39 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001555/0.4191, allocations: 0.7964 MB / 495.7 MB, free: 11.59 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00192/0.421, allocations: 1.213 MB / 496.9 MB, free: 10.2 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003488/0.4245, allocations: 2.098 MB / 499 MB, free: 7.938 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.728e-06/0.4245, allocations: 4 kB / 499 MB, free: 7.934 MB / 398.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.005335/0.4299, allocations: 2.671 MB / 0.4899 GB, free: 5.223 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.114e-05/0.4299, allocations: 12.34 kB / 0.4899 GB, free: 5.211 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.824e-05/0.4299, allocations: 16 kB / 0.4899 GB, free: 5.195 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001122/0.431, allocations: 410.4 kB / 0.4903 GB, free: 4.785 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001512/0.4325, allocations: 371.4 kB / 0.4907 GB, free: 4.422 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009179/0.4417, allocations: 7.068 MB / 0.4976 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002465/0.4442, allocations: 107.8 kB / 0.4977 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004135/0.4446, allocations: 71.92 kB / 0.4977 GB, free: 12.77 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.00211/0.4467, allocations: 0.79 MB / 0.4985 GB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008504/0.4476, allocations: 194.8 kB / 0.4987 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005279/0.4528, allocations: 2.371 MB / 0.501 GB, free: 9.367 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.205e-05/0.4529, allocations: 19.88 kB / 0.501 GB, free: 9.348 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.819e-05/0.4529, allocations: 8 kB / 0.501 GB, free: 9.34 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.764e-05/0.4529, allocations: 7.969 kB / 0.5011 GB, free: 9.332 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01165/0.4646, allocations: 5.097 MB / 0.506 GB, free: 4.098 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.258e-06/0.4646, allocations: 3.938 kB / 0.506 GB, free: 4.094 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001087/0.4656, allocations: 235.7 kB / 0.5063 GB, free: 3.863 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001295/0.4669, allocations: 458.3 kB / 0.5067 GB, free: 3.406 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001292/0.4671, allocations: 35.98 kB / 0.5067 GB, free: 3.371 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009711/0.4768, allocations: 8.638 MB / 0.5152 GB, free: 10.18 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.287e-06/0.4768, allocations: 7.938 kB / 0.5152 GB, free: 10.17 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00667/0.4835, allocations: 3.522 MB / 0.5186 GB, free: 6.555 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00129/0.4848, allocations: 439.8 kB / 0.519 GB, free: 6.105 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005462/0.4853, allocations: 32 kB / 0.5191 GB, free: 6.074 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001248/0.4865, allocations: 87.91 kB / 0.5191 GB, free: 5.988 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003264/0.4869, allocations: 120.7 kB / 0.5193 GB, free: 5.871 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.987e-05/0.487, allocations: 32 kB / 0.5193 GB, free: 5.84 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002318/0.4893, allocations: 1.21 MB / 0.5205 GB, free: 4.637 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4893, allocations: 0 / 0.5205 GB, free: 4.637 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002201/0.4915, allocations: 0.5038 MB / 0.521 GB, free: 4.133 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.0004592/0.492, allocations: 199.2 kB / 0.5212 GB, free: 3.934 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004427/0.4964, allocations: 2.397 MB / 0.5235 GB, free: 1.477 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/0.4964, allocations: 4 kB / 0.5235 GB, free: 1.473 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00277/0.4992, allocations: 1.552 MB / 0.525 GB, free: 15.87 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002398/0.5016, allocations: 488.6 kB / 0.5255 GB, free: 15.41 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009092/0.5106, allocations: 5.062 MB / 0.5304 GB, free: 10.26 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002456/0.5131, allocations: 2.009 MB / 0.5324 GB, free: 8.219 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00137/0.5145, allocations: 455.4 kB / 0.5328 GB, free: 7.77 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004866/0.515, allocations: 123.4 kB / 0.5329 GB, free: 7.648 MB / 446.1 MB Notification: Performance of SimCode: time 6.51e-07/0.515, allocations: 3.938 kB / 0.5329 GB, free: 7.645 MB / 446.1 MB Notification: Performance of Templates: time 0.05409/0.569, allocations: 28.71 MB / 0.561 GB, free: 11.15 MB / 478.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.5526380548253655]