Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001326/0.001326, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002182/0.003509, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001283/0.001283, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001106/0.002389, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9254/0.9254, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09119/1.017, allocations: 53.65 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.[0-9,]+.|smr.idq_rr.[0-9,]+.|smr.idq_sr.[0-9,]+.",fileNamePrefix="Modelica_4.1.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.[0-9,]+.|smr.idq_rr.[0-9,]+.|smr.idq_sr.[0-9,]+.",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 244.7 MB, free: 14.22 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.529e-05/1.658e-05, allocations: 5.688 kB / 244.7 MB, free: 14.22 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL): time 0.0111/0.01112, allocations: 10.01 MB / 254.7 MB, free: 4.156 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005283/0.0164, allocations: 3.395 MB / 258.1 MB, free: 0.7461 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008364/0.01723, allocations: 75.5 kB / 258.2 MB, free: 0.6719 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001114/0.01835, allocations: 0.7025 MB / 258.9 MB, free: 15.96 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001571/0.01992, allocations: 0.9157 MB / 259.8 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000638/0.02056, allocations: 431.2 kB / 260.2 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002287/0.02284, allocations: 3.104 MB / 263.3 MB, free: 11.5 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001255/0.0241, allocations: 1.368 MB / 264.7 MB, free: 10.05 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002425/0.02652, allocations: 2.464 MB / 267.2 MB, free: 7.57 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001503/0.02803, allocations: 1.528 MB / 268.7 MB, free: 6.039 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006505/0.02868, allocations: 340 kB / 269 MB, free: 5.707 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006231/0.0293, allocations: 459.7 kB / 269.5 MB, free: 5.258 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005497/0.02985, allocations: 0.8455 MB / 270.3 MB, free: 4.41 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009217/0.03077, allocations: 0.8928 MB / 271.2 MB, free: 3.516 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001996/0.03277, allocations: 2.422 MB / 273.6 MB, free: 1.086 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.007e-06/0.03278, allocations: 0 / 273.6 MB, free: 1.086 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.03278, allocations: 0 / 273.6 MB, free: 1.086 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.368e-05/0.03284, allocations: 0 / 273.6 MB, free: 1.086 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.1123/0.1451, allocations: 3.589 MB / 277.2 MB, free: 20.26 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.1452, allocations: 16.58 kB / 277.2 MB, free: 20.26 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008794/0.1461, allocations: 0.5166 MB / 277.8 MB, free: 20.16 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001559/0.1476, allocations: 1.209 MB / 279 MB, free: 19.7 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.627e-05/0.1477, allocations: 175 kB / 279.1 MB, free: 19.69 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002169/0.1479, allocations: 235.6 kB / 279.4 MB, free: 19.69 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002165/0.1501, allocations: 1.799 MB / 281.2 MB, free: 19.32 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.01e-05/0.1501, allocations: 10.75 kB / 281.2 MB, free: 19.31 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001284/0.1503, allocations: 95.53 kB / 281.3 MB, free: 19.31 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.818e-05/0.1504, allocations: 104.8 kB / 281.4 MB, free: 19.3 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001165/0.1515, allocations: 0.6942 MB / 282.1 MB, free: 19.21 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006227/0.1578, allocations: 6.226 MB / 288.3 MB, free: 16.32 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008633/0.1586, allocations: 0.7611 MB / 289.1 MB, free: 16.07 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004973/0.1591, allocations: 463.8 kB / 289.5 MB, free: 16.01 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000147/0.1593, allocations: 57.47 kB / 289.6 MB, free: 16 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.065e-05/0.1593, allocations: 49.77 kB / 289.6 MB, free: 15.95 MB / 266.7 MB Notification: Performance of pre-optimization done (n=116): time 2.204e-06/0.1593, allocations: 4 kB / 289.6 MB, free: 15.95 MB / 266.7 MB Notification: Performance of matching and sorting (n=131): time 0.004015/0.1633, allocations: 2.677 MB / 292.3 MB, free: 15.18 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.047e-05/0.1633, allocations: 67.42 kB / 292.4 MB, free: 15.11 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006161/0.1639, allocations: 1.14 MB / 293.5 MB, free: 14.43 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.21e-05/0.164, allocations: 45.7 kB / 293.5 MB, free: 14.38 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002465/0.1642, allocations: 0.9705 MB / 294.5 MB, free: 13.47 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001513/0.1644, allocations: 472 kB / 295 MB, free: 13.04 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002085/0.1646, allocations: 272.7 kB / 295.2 MB, free: 12.8 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 2.45e-05/0.1646, allocations: 301.1 kB / 295.5 MB, free: 12.5 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002011/0.1648, allocations: 182.8 kB / 295.7 MB, free: 12.32 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002798/0.1651, allocations: 0.566 MB / 296.3 MB, free: 11.62 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006065/0.1657, allocations: 0.9614 MB / 297.2 MB, free: 10.58 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.1657, allocations: 4 kB / 297.2 MB, free: 10.57 MB / 266.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.001042/0.1668, allocations: 1.05 MB / 298.3 MB, free: 9.562 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.1668, allocations: 8 kB / 298.3 MB, free: 9.555 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.1668, allocations: 20.22 kB / 298.3 MB, free: 9.535 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004146/0.1672, allocations: 241.9 kB / 298.6 MB, free: 9.293 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006596/0.1679, allocations: 367.5 kB / 298.9 MB, free: 8.934 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001928/0.1698, allocations: 4.71 MB / 303.6 MB, free: 3.996 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000416/0.1702, allocations: 63.88 kB / 303.7 MB, free: 3.934 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.713e-05/0.1703, allocations: 48 kB / 303.7 MB, free: 3.887 MB / 266.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.0002995/0.1706, allocations: 215.3 kB / 303.9 MB, free: 3.668 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001526/0.1707, allocations: 147.8 kB / 304.1 MB, free: 3.523 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008984/0.1716, allocations: 0.8927 MB / 305 MB, free: 2.613 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.429e-06/0.1716, allocations: 12 kB / 305 MB, free: 2.602 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1716, allocations: 8 kB / 305 MB, free: 2.594 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.775e-06/0.1716, allocations: 7.969 kB / 305 MB, free: 2.586 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002326/0.174, allocations: 2.608 MB / 307.6 MB, free: 212 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.174, allocations: 4 kB / 307.6 MB, free: 208 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000589/0.1745, allocations: 300.4 kB / 307.9 MB, free: 15.91 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003037/0.1748, allocations: 229.3 kB / 308.1 MB, free: 15.68 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005042/0.1754, allocations: 267.4 kB / 308.4 MB, free: 15.41 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.534e-05/0.1754, allocations: 31.98 kB / 308.4 MB, free: 15.38 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003756/0.1792, allocations: 5.916 MB / 314.4 MB, free: 9.145 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.493e-06/0.1792, allocations: 11.77 kB / 314.4 MB, free: 9.137 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001977/0.1811, allocations: 1.329 MB / 315.7 MB, free: 7.75 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001924/0.1813, allocations: 32 kB / 315.7 MB, free: 7.719 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005898/0.1819, allocations: 47.97 kB / 315.8 MB, free: 7.672 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002277/0.1822, allocations: 120.7 kB / 315.9 MB, free: 7.555 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.111e-05/0.1822, allocations: 31.98 kB / 315.9 MB, free: 7.523 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0005007/0.1827, allocations: 0.5711 MB / 316.5 MB, free: 6.953 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1828, allocations: 0 / 316.5 MB, free: 6.953 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001089/0.1838, allocations: 0.4921 MB / 317 MB, free: 6.461 MB / 282.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%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002704/0.1841, allocations: 180.1 kB / 317.2 MB, free: 6.277 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001222/0.1853, allocations: 1.211 MB / 318.4 MB, free: 5.055 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.576e-05/0.1854, allocations: 27.12 kB / 318.4 MB, free: 5.031 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008652/0.1862, allocations: 1.03 MB / 319.4 MB, free: 3.973 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002243/0.1885, allocations: 4.121 MB / 323.5 MB, free: 15.05 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01435/0.2028, allocations: 4.214 MB / 327.8 MB, free: 10.74 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004549/0.2033, allocations: 0.5741 MB / 328.3 MB, free: 10.14 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0005009/0.2038, allocations: 226.6 kB / 328.6 MB, free: 9.91 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006799/0.2045, allocations: 439 kB / 329 MB, free: 9.477 MB / 298.7 MB Notification: Performance of SimCode: time 1.162e-06/0.2045, allocations: 2.297 kB / 329 MB, free: 9.477 MB / 298.7 MB Notification: Performance of Templates: time 0.03334/0.2378, allocations: 28.47 MB / 357.5 MB, free: 13.45 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1980960546061397]