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.001139/0.001139, allocations: 76.48 kB / 9.933 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001695/0.002833, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0009532/0.0009532, allocations: 148.9 kB / 11.25 MB, free: 2.93 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001313/0.002266, allocations: 459.6 kB / 11.69 MB, free: 2.477 MB / 13.93 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 0.9258/0.9258, allocations: 173.4 MB / 185.8 MB, free: 8.996 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0966/1.022, allocations: 52.5 MB / 238.3 MB, free: 4.434 MB / 234.7 MB " [Timeout remaining time 179] 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.[0-9,]+.|smr.idq_rr.[0-9,]+.|smr.idq_sr.[0-9,]+.",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.[0-9,]+.|smr.idq_rr.[0-9,]+.|smr.idq_sr.[0-9,]+.",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 239.6 MB, free: 3.168 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.534e-05/2.699e-05, allocations: 6.391 kB / 239.6 MB, free: 3.164 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL): time 0.01171/0.01173, allocations: 9.956 MB / 249.5 MB, free: 9.168 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.007917/0.01965, allocations: 3.294 MB / 252.8 MB, free: 5.863 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002277/0.02193, allocations: 75.5 kB / 252.9 MB, free: 5.789 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002379/0.02431, allocations: 0.714 MB / 253.6 MB, free: 5.07 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003232/0.02754, allocations: 0.9118 MB / 254.5 MB, free: 4.152 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009084/0.02845, allocations: 415.3 kB / 254.9 MB, free: 3.746 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002859/0.0313, allocations: 3.081 MB / 258 MB, free: 0.6523 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001328/0.03263, allocations: 1.372 MB / 259.4 MB, free: 15.19 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002979/0.03561, allocations: 2.449 MB / 261.8 MB, free: 12.72 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001606/0.03722, allocations: 1.52 MB / 263.3 MB, free: 11.2 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004342/0.03765, allocations: 344 kB / 263.7 MB, free: 10.86 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006926/0.03834, allocations: 447.8 kB / 264.1 MB, free: 10.43 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005958/0.03894, allocations: 0.8377 MB / 265 MB, free: 9.586 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009601/0.0399, allocations: 0.8929 MB / 265.8 MB, free: 8.691 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002477/0.04238, allocations: 2.41 MB / 268.3 MB, free: 6.273 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.187e-05/0.04239, allocations: 4 kB / 268.3 MB, free: 6.27 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.04239, allocations: 4 kB / 268.3 MB, free: 6.266 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.13e-05/0.04244, allocations: 0 / 268.3 MB, free: 6.266 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.003506/0.04595, allocations: 3.559 MB / 271.8 MB, free: 2.66 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.126e-05/0.04598, allocations: 12.03 kB / 271.8 MB, free: 2.648 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006122/0.04659, allocations: 0.4938 MB / 272.3 MB, free: 2.137 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001413/0.048, allocations: 1.193 MB / 273.5 MB, free: 0.8906 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.897e-05/0.04809, allocations: 177 kB / 273.7 MB, free: 0.7148 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002/0.04829, allocations: 232.3 kB / 273.9 MB, free: 500 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1176/0.1659, allocations: 1.789 MB / 275.7 MB, free: 24.01 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.17e-05/0.166, allocations: 4.5 kB / 275.7 MB, free: 24.01 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001326/0.1661, allocations: 99.31 kB / 275.8 MB, free: 24.01 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001094/0.1662, allocations: 109.9 kB / 275.9 MB, free: 24 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001252/0.1674, allocations: 0.6942 MB / 276.6 MB, free: 23.91 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007206/0.1747, allocations: 6.223 MB / 282.8 MB, free: 21.77 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009845/0.1756, allocations: 0.767 MB / 283.6 MB, free: 21.67 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006133/0.1763, allocations: 469.8 kB / 284.1 MB, free: 21.64 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001761/0.1764, allocations: 53.95 kB / 284.1 MB, free: 21.64 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.794e-05/0.1765, allocations: 47.31 kB / 284.2 MB, free: 21.6 MB / 266.7 MB Notification: Performance of pre-optimization done (n=116): time 2.755e-06/0.1765, allocations: 0 / 284.2 MB, free: 21.6 MB / 266.7 MB Notification: Performance of matching and sorting (n=131): time 0.004768/0.1812, allocations: 2.641 MB / 286.8 MB, free: 20.99 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.796e-05/0.1813, allocations: 65.56 kB / 286.9 MB, free: 20.92 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009657/0.1822, allocations: 1.128 MB / 288 MB, free: 20.7 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.722e-05/0.1823, allocations: 52.2 kB / 288 MB, free: 20.65 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003046/0.1826, allocations: 0.9681 MB / 289 MB, free: 20.02 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001766/0.1828, allocations: 476.4 kB / 289.5 MB, free: 19.67 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002272/0.183, allocations: 266.1 kB / 289.7 MB, free: 19.56 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.603e-05/0.183, allocations: 312.3 kB / 290 MB, free: 19.26 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000233/0.1833, allocations: 174.5 kB / 290.2 MB, free: 19.24 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003354/0.1836, allocations: 0.5701 MB / 290.8 MB, free: 18.79 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006729/0.1843, allocations: 0.9103 MB / 291.7 MB, free: 18.29 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.752e-06/0.1843, allocations: 3.094 kB / 291.7 MB, free: 18.29 MB / 266.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.001155/0.1854, allocations: 1.052 MB / 292.7 MB, free: 18.11 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.1854, allocations: 10.22 kB / 292.8 MB, free: 18.11 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.58e-05/0.1855, allocations: 13.62 kB / 292.8 MB, free: 18.11 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004448/0.1859, allocations: 231.5 kB / 293 MB, free: 18.04 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007562/0.1867, allocations: 374.4 kB / 293.4 MB, free: 18.01 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002156/0.1888, allocations: 4.725 MB / 298.1 MB, free: 13.49 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00058/0.1894, allocations: 59.94 kB / 298.1 MB, free: 13.43 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.534e-05/0.1895, allocations: 48 kB / 298.2 MB, free: 13.39 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.0005213/0.19, allocations: 212 kB / 298.4 MB, free: 13.17 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001947/0.1902, allocations: 151.7 kB / 298.5 MB, free: 13.02 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009773/0.1912, allocations: 0.902 MB / 299.5 MB, free: 12.1 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.1912, allocations: 12 kB / 299.5 MB, free: 12.09 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.1912, allocations: 4 kB / 299.5 MB, free: 12.08 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.455e-06/0.1912, allocations: 11.91 kB / 299.5 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002836/0.194, allocations: 2.598 MB / 302.1 MB, free: 9.695 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.194, allocations: 4.406 kB / 302.1 MB, free: 9.691 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005842/0.1946, allocations: 300.4 kB / 302.4 MB, free: 9.395 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003535/0.195, allocations: 225.2 kB / 302.6 MB, free: 9.176 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004962/0.1954, allocations: 254.7 kB / 302.8 MB, free: 8.918 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.064e-05/0.1955, allocations: 39.97 kB / 302.9 MB, free: 8.879 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002451/0.198, allocations: 5.912 MB / 308.8 MB, free: 2.656 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/0.198, allocations: 8.141 kB / 308.8 MB, free: 2.648 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001286/0.1992, allocations: 1.315 MB / 310.1 MB, free: 1.285 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001567/0.1994, allocations: 32 kB / 310.1 MB, free: 1.254 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003489/0.1997, allocations: 51.97 kB / 310.2 MB, free: 1.203 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001532/0.1999, allocations: 112.7 kB / 310.3 MB, free: 1.094 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.157e-05/0.1999, allocations: 24 kB / 310.3 MB, free: 1.07 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000433/0.2004, allocations: 0.5658 MB / 310.9 MB, free: 0.5703 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2004, allocations: 0 / 310.9 MB, free: 0.5703 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.001144/0.2015, allocations: 0.494 MB / 311.4 MB, free: 80 kB / 266.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.0002768/0.2018, allocations: 184.8 kB / 311.6 MB, free: 15.89 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001452/0.2033, allocations: 1.2 MB / 312.8 MB, free: 14.67 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.127e-05/0.2033, allocations: 31.38 kB / 312.8 MB, free: 14.64 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001038/0.2043, allocations: 0.9528 MB / 313.8 MB, free: 13.66 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001351/0.2057, allocations: 0.549 MB / 314.3 MB, free: 13.12 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02005/0.2257, allocations: 4.203 MB / 318.5 MB, free: 8.855 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009029/0.2266, allocations: 0.5857 MB / 319.1 MB, free: 8.242 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0008619/0.2275, allocations: 214.4 kB / 319.3 MB, free: 8.027 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008402/0.2283, allocations: 439.1 kB / 319.7 MB, free: 7.59 MB / 282.7 MB Notification: Performance of SimCode: time 1.122e-06/0.2283, allocations: 0 / 319.7 MB, free: 7.59 MB / 282.7 MB Notification: Performance of Templates: time 0.04346/0.2718, allocations: 28.45 MB / 348.2 MB, free: 11.58 MB / 314.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 -ignoreHideResult -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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.166053303517401]