Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001801/0.001801, allocations: 95.86 kB / 20.96 MB, free: 3.457 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001885/0.001885, allocations: 149.1 kB / 24.27 MB, free: 160 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.626/1.626, allocations: 173.4 MB / 200.8 MB, free: 9.316 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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.0.0_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.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 267.3 MB, free: 6.719 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.746e-05/3.956e-05, allocations: 9.766 kB / 267.3 MB, free: 6.711 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL): time 0.01592/0.01596, allocations: 10.04 MB / 277.4 MB, free: 12.62 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.008731/0.02469, allocations: 3.17 MB / 280.5 MB, free: 9.445 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002193/0.02688, allocations: 75.5 kB / 280.6 MB, free: 9.371 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002533/0.02941, allocations: 0.6946 MB / 281.3 MB, free: 8.672 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003756/0.03317, allocations: 0.9081 MB / 282.2 MB, free: 7.758 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001343/0.03451, allocations: 427.2 kB / 282.6 MB, free: 7.34 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00502/0.03953, allocations: 3.064 MB / 285.7 MB, free: 4.266 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00284/0.04237, allocations: 1.348 MB / 287 MB, free: 2.852 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004057/0.04643, allocations: 2.019 MB / 289.1 MB, free: 0.8281 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1454/0.1918, allocations: 1.609 MB / 290.7 MB, free: 17.97 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001221/0.193, allocations: 353.8 kB / 291 MB, free: 17.97 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001662/0.1947, allocations: 457.3 kB / 291.5 MB, free: 17.97 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001177/0.1958, allocations: 1.065 MB / 292.5 MB, free: 17.97 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002658/0.1985, allocations: 1.113 MB / 293.6 MB, free: 17.97 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006548/0.2051, allocations: 4.774 MB / 298.4 MB, free: 17.74 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.2051, allocations: 1.531 kB / 298.4 MB, free: 17.74 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.2051, allocations: 0.7812 kB / 298.4 MB, free: 17.74 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001898/0.2052, allocations: 0 / 298.4 MB, free: 17.74 MB / 266.7 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.009246/0.2145, allocations: 3.67 MB / 302.1 MB, free: 15.92 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.2145, allocations: 9.484 kB / 302.1 MB, free: 15.92 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001435/0.216, allocations: 0.5323 MB / 302.6 MB, free: 15.68 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003601/0.2196, allocations: 1.636 MB / 304.3 MB, free: 14.75 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001227/0.2197, allocations: 172.6 kB / 304.4 MB, free: 14.68 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003911/0.2201, allocations: 228.2 kB / 304.7 MB, free: 14.6 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004684/0.2248, allocations: 2.987 MB / 307.6 MB, free: 12.71 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.334e-05/0.2248, allocations: 14.19 kB / 307.7 MB, free: 12.7 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002199/0.2251, allocations: 94.69 kB / 307.8 MB, free: 12.63 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.723e-05/0.2252, allocations: 113.3 kB / 307.9 MB, free: 12.61 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003471/0.2286, allocations: 2.019 MB / 309.9 MB, free: 11.59 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01543/0.2441, allocations: 11.02 MB / 320.9 MB, free: 2.238 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00172/0.2458, allocations: 1.044 MB / 321.9 MB, free: 1.211 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00147/0.2472, allocations: 0.7553 MB / 322.7 MB, free: 472 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002965/0.2475, allocations: 64.62 kB / 322.8 MB, free: 412 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.029e-05/0.2476, allocations: 46.39 kB / 322.8 MB, free: 352 kB / 266.7 MB Notification: Performance of pre-optimization done (n=116): time 4.097e-06/0.2476, allocations: 0 / 322.8 MB, free: 352 kB / 266.7 MB Notification: Performance of matching and sorting (n=131): time 0.01228/0.2599, allocations: 4.171 MB / 327 MB, free: 12.16 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.911e-05/0.2599, allocations: 64.72 kB / 327 MB, free: 12.09 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003629/0.2636, allocations: 1.923 MB / 329 MB, free: 10.14 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001547/0.2637, allocations: 45.7 kB / 329 MB, free: 10.09 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001333/0.265, allocations: 1.355 MB / 330.4 MB, free: 8.734 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005717/0.2656, allocations: 0.5022 MB / 330.9 MB, free: 8.238 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006227/0.2662, allocations: 353.1 kB / 331.2 MB, free: 7.887 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002298/0.2665, allocations: 480.8 kB / 331.7 MB, free: 7.414 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001039/0.2675, allocations: 451.7 kB / 332.1 MB, free: 6.973 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001621/0.2691, allocations: 1.069 MB / 333.2 MB, free: 5.676 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002851/0.272, allocations: 1.647 MB / 334.8 MB, free: 3.844 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-05/0.272, allocations: 4.875 kB / 334.8 MB, free: 3.84 MB / 282.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.004348/0.2763, allocations: 1.852 MB / 336.7 MB, free: 2.051 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.762e-05/0.2764, allocations: 19.92 kB / 336.7 MB, free: 2.031 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.223e-05/0.2764, allocations: 12 kB / 336.7 MB, free: 2.02 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001052/0.2774, allocations: 292.3 kB / 337 MB, free: 1.727 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001393/0.2788, allocations: 351.8 kB / 337.4 MB, free: 1.402 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007666/0.2865, allocations: 6.934 MB / 344.3 MB, free: 10.14 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001871/0.2884, allocations: 94.75 kB / 344.4 MB, free: 10.05 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001922/0.2886, allocations: 67.98 kB / 344.4 MB, free: 9.988 MB / 298.7 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.001568/0.2901, allocations: 0.6469 MB / 345.1 MB, free: 9.352 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005738/0.2907, allocations: 230.7 kB / 345.3 MB, free: 9.125 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003592/0.2943, allocations: 1.499 MB / 346.8 MB, free: 7.613 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.609e-05/0.2943, allocations: 16 kB / 346.8 MB, free: 7.598 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.897e-06/0.2943, allocations: 4 kB / 346.8 MB, free: 7.594 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.841e-05/0.2943, allocations: 7.969 kB / 346.8 MB, free: 7.586 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009668/0.304, allocations: 4.235 MB / 351.1 MB, free: 3.297 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.488e-06/0.304, allocations: 8.031 kB / 351.1 MB, free: 3.289 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001044/0.3051, allocations: 231.1 kB / 351.3 MB, free: 3.074 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001193/0.3063, allocations: 328.4 kB / 351.6 MB, free: 2.742 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001016/0.3064, allocations: 31.98 kB / 351.7 MB, free: 2.711 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009252/0.3156, allocations: 8.689 MB / 360.4 MB, free: 9.586 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.3156, allocations: 0 / 360.4 MB, free: 9.586 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005074/0.3207, allocations: 2.272 MB / 362.6 MB, free: 7.242 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001283/0.322, allocations: 326.7 kB / 362.9 MB, free: 6.922 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000263/0.3222, allocations: 32 kB / 363 MB, free: 6.891 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009435/0.3232, allocations: 79.91 kB / 363.1 MB, free: 6.812 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000353/0.3235, allocations: 128.4 kB / 363.2 MB, free: 6.691 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.579e-05/0.3236, allocations: 39.98 kB / 363.2 MB, free: 6.652 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.002209/0.3258, allocations: 1.113 MB / 364.3 MB, free: 5.543 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3258, allocations: 0 / 364.3 MB, free: 5.543 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00204/0.3279, allocations: 0.4999 MB / 364.8 MB, free: 5.043 MB / 314.7 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.0004473/0.3283, allocations: 214.3 kB / 365 MB, free: 4.84 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003966/0.3323, allocations: 1.936 MB / 367 MB, free: 2.898 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.3323, allocations: 0 / 367 MB, free: 2.898 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002671/0.335, allocations: 1.497 MB / 368.5 MB, free: 1.355 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002184/0.3372, allocations: 432.1 kB / 368.9 MB, free: 0.9453 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009237/0.3464, allocations: 4.498 MB / 373.4 MB, free: 12.36 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001901/0.3483, allocations: 1.341 MB / 374.7 MB, free: 10.98 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001302/0.3496, allocations: 338.2 kB / 375.1 MB, free: 10.64 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004349/0.35, allocations: 124.5 kB / 375.2 MB, free: 10.52 MB / 330.7 MB Notification: Performance of SimCode: time 8.92e-07/0.35, allocations: 0 / 375.2 MB, free: 10.52 MB / 330.7 MB Notification: Performance of Templates: time 0.05396/0.404, allocations: 26.85 MB / 402 MB, free: 68 kB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMR_DOL/SMR_DOL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.591983929043636]