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.00177/0.00177, allocations: 116.7 kB / 19.18 MB, free: 3.762 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.002312/0.002312, allocations: 210.6 kB / 22.13 MB, free: 0.8125 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.502/1.502, allocations: 230.2 MB / 255.1 MB, free: 15.39 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.001817/0.001817, allocations: 63.89 kB / 374.5 MB, free: 9.902 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1039, allocations: 53.32 MB / 427.9 MB, free: 4.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL): time 0.01278/0.1166, allocations: 10.28 MB / 438.1 MB, free: 10.16 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006752/0.1234, allocations: 3.322 MB / 441.5 MB, free: 6.828 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001298/0.1247, allocations: 55.75 kB / 441.5 MB, free: 6.773 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00186/0.1266, allocations: 0.7415 MB / 442.2 MB, free: 6.027 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002547/0.1291, allocations: 0.8777 MB / 443.1 MB, free: 5.145 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009354/0.13, allocations: 435.3 kB / 443.5 MB, free: 4.719 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003706/0.1337, allocations: 2.984 MB / 446.5 MB, free: 1.719 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2028/0.3365, allocations: 1.789 MB / 448.3 MB, free: 10.44 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002439/0.339, allocations: 1.366 MB / 449.7 MB, free: 10.33 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002867/0.3419, allocations: 1.738 MB / 451.4 MB, free: 10.06 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006638/0.3425, allocations: 353.1 kB / 451.8 MB, free: 10.06 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001037/0.3436, allocations: 473.8 kB / 452.2 MB, free: 10.06 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009536/0.3445, allocations: 1.028 MB / 453.3 MB, free: 9.941 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00185/0.3464, allocations: 1.611 MB / 454.9 MB, free: 9.516 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005461/0.3518, allocations: 4.714 MB / 459.6 MB, free: 8.926 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.3518, allocations: 0.5312 kB / 459.6 MB, free: 8.926 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3518, allocations: 1.375 kB / 459.6 MB, free: 8.926 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001283/0.352, allocations: 0 / 459.6 MB, free: 8.926 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.007587/0.3595, allocations: 3.36 MB / 462.9 MB, free: 7.234 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.3596, allocations: 9.781 kB / 463 MB, free: 7.234 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001299/0.3609, allocations: 379.3 kB / 463.3 MB, free: 7.066 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003097/0.364, allocations: 1.782 MB / 465.1 MB, free: 6.156 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001262/0.3641, allocations: 177.2 kB / 465.3 MB, free: 6.074 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003979/0.3645, allocations: 240.5 kB / 465.5 MB, free: 5.992 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005331/0.3698, allocations: 3.133 MB / 468.7 MB, free: 4.719 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.31e-05/0.3699, allocations: 12.86 kB / 468.7 MB, free: 4.711 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000235/0.3701, allocations: 99.23 kB / 468.8 MB, free: 4.637 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001045/0.3702, allocations: 107.5 kB / 468.9 MB, free: 4.625 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004441/0.3747, allocations: 2.688 MB / 471.6 MB, free: 3.688 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01571/0.3904, allocations: 9.64 MB / 481.2 MB, free: 13.01 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002851/0.3932, allocations: 2.087 MB / 483.3 MB, free: 11.45 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001832/0.3951, allocations: 1.048 MB / 484.3 MB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003097/0.3954, allocations: 202.5 kB / 484.5 MB, free: 10.75 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.932e-05/0.3954, allocations: 44.16 kB / 484.6 MB, free: 10.7 MB / 382.1 MB Notification: Performance of pre-optimization done (n=116): time 2.825e-06/0.3954, allocations: 0 / 484.6 MB, free: 10.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=131): time 0.01489/0.4103, allocations: 6.894 MB / 491.5 MB, free: 6.711 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.005e-05/0.4104, allocations: 66.25 kB / 491.5 MB, free: 6.645 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002565/0.4129, allocations: 1.761 MB / 493.3 MB, free: 5.711 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001293/0.4131, allocations: 45.7 kB / 493.3 MB, free: 5.66 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001034/0.4141, allocations: 1.184 MB / 494.5 MB, free: 4.469 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004654/0.4146, allocations: 481.6 kB / 495 MB, free: 4.004 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000512/0.4151, allocations: 287.5 kB / 495.3 MB, free: 3.715 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.4152, allocations: 305.1 kB / 495.6 MB, free: 3.414 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001426/0.4166, allocations: 0.7938 MB / 496.4 MB, free: 2.621 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001752/0.4184, allocations: 1.201 MB / 497.6 MB, free: 1.25 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003246/0.4216, allocations: 2.1 MB / 499.7 MB, free: 15.04 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.536e-06/0.4216, allocations: 4 kB / 499.7 MB, free: 15.03 MB / 398.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.005041/0.4267, allocations: 2.674 MB / 0.4906 GB, free: 12.4 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.767e-05/0.4267, allocations: 12 kB / 0.4906 GB, free: 12.39 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.043e-05/0.4267, allocations: 12 kB / 0.4906 GB, free: 12.38 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001063/0.4278, allocations: 422.4 kB / 0.491 GB, free: 11.96 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001408/0.4292, allocations: 361.2 kB / 0.4913 GB, free: 11.63 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007967/0.4372, allocations: 7.078 MB / 0.4982 GB, free: 4.191 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001723/0.4389, allocations: 103.8 kB / 0.4983 GB, free: 4.09 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001801/0.4391, allocations: 64 kB / 0.4984 GB, free: 4.027 MB / 398.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.001764/0.4408, allocations: 0.8021 MB / 0.4992 GB, free: 3.238 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000497/0.4413, allocations: 190.8 kB / 0.4994 GB, free: 3.051 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004708/0.446, allocations: 2.377 MB / 0.5017 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.308e-05/0.446, allocations: 14.72 kB / 0.5017 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.101e-05/0.4461, allocations: 7.938 kB / 0.5017 GB, free: 0.625 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.637e-05/0.4461, allocations: 5.531 kB / 0.5017 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01021/0.4563, allocations: 5.104 MB / 0.5067 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.568e-06/0.4563, allocations: 4 kB / 0.5067 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001064/0.4573, allocations: 230.8 kB / 0.5069 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001293/0.4586, allocations: 453.6 kB / 0.5074 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001423/0.4588, allocations: 36.48 kB / 0.5074 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009482/0.4683, allocations: 8.64 MB / 0.5158 GB, free: 1.598 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.671e-06/0.4683, allocations: 6.719 kB / 0.5158 GB, free: 1.594 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006297/0.4746, allocations: 3.511 MB / 0.5193 GB, free: 14.01 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001106/0.4757, allocations: 443.8 kB / 0.5197 GB, free: 13.56 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003143/0.476, allocations: 40.11 kB / 0.5197 GB, free: 13.52 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001028/0.477, allocations: 83.91 kB / 0.5198 GB, free: 13.44 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000336/0.4774, allocations: 122.1 kB / 0.5199 GB, free: 13.32 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.633e-05/0.4774, allocations: 39.98 kB / 0.52 GB, free: 13.29 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002044/0.4795, allocations: 1.207 MB / 0.5211 GB, free: 12.09 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4795, allocations: 0 / 0.5211 GB, free: 12.09 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002143/0.4816, allocations: 0.5078 MB / 0.5216 GB, free: 11.58 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.0004747/0.4821, allocations: 201.6 kB / 0.5218 GB, free: 11.39 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004382/0.4865, allocations: 2.394 MB / 0.5242 GB, free: 8.988 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.4865, allocations: 0 / 0.5242 GB, free: 8.988 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002783/0.4893, allocations: 1.551 MB / 0.5257 GB, free: 7.414 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002583/0.4919, allocations: 493.9 kB / 0.5262 GB, free: 6.957 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008787/0.5007, allocations: 5.103 MB / 0.5311 GB, free: 1.793 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001928/0.5026, allocations: 1.969 MB / 0.5331 GB, free: 15.79 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007371/0.5033, allocations: 139.4 kB / 0.5332 GB, free: 15.66 MB / 446.1 MB Notification: Performance of SimCode: time 8.52e-07/0.5033, allocations: 0 / 0.5332 GB, free: 15.66 MB / 446.1 MB Notification: Performance of Templates: time 0.09549/0.5988, allocations: 80.04 MB / 0.6114 GB, free: 15.64 MB / 0.5137 GB " [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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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_2/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: 13.317092686891556]