Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_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.0007994/0.0007994, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001053/0.001853, 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.0007168/0.0007168, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009299/0.001647, 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 1.027/1.027, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09548/1.122, 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.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|smee.is.[0-9,]+.|smee.idq_dr.[0-9,]+.|smee.idq_rr.[0-9,]+.|smee.idq_sr.[0-9,]+.|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.lesigma.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|smee.is.[0-9,]+.|smee.idq_dr.[0-9,]+.|smee.idq_rr.[0-9,]+.|smee.idq_sr.[0-9,]+.|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.lesigma.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.243e-06/1.243e-06, allocations: 0 / 244.7 MB, free: 14.22 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.873e-05/1.997e-05, allocations: 9.828 kB / 244.7 MB, free: 14.21 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL): time 0.01178/0.0118, allocations: 11.53 MB / 256.3 MB, free: 2.629 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005781/0.01758, allocations: 4.071 MB / 260.3 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006891/0.01827, allocations: 83.44 kB / 260.4 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001197/0.01947, allocations: 0.8635 MB / 261.3 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001329/0.0208, allocations: 1.075 MB / 262.3 MB, free: 12.51 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005848/0.02138, allocations: 0.5341 MB / 262.9 MB, free: 11.98 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002196/0.02358, allocations: 3.598 MB / 266.5 MB, free: 8.363 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001319/0.0249, allocations: 1.53 MB / 268 MB, free: 6.754 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002399/0.0273, allocations: 2.784 MB / 270.8 MB, free: 3.949 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00145/0.02875, allocations: 1.719 MB / 272.5 MB, free: 2.227 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003146/0.02906, allocations: 396 kB / 272.9 MB, free: 1.84 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007139/0.02977, allocations: 0.6205 MB / 273.5 MB, free: 1.219 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005554/0.03033, allocations: 0.939 MB / 274.5 MB, free: 284 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.1229/0.1532, allocations: 1.028 MB / 275.5 MB, free: 7.758 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007129/0.1604, allocations: 2.797 MB / 278.3 MB, free: 7.512 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.444e-05/0.1604, allocations: 4.656 kB / 278.3 MB, free: 7.512 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1604, allocations: 0 / 278.3 MB, free: 7.512 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001881/0.1606, allocations: 0 / 278.3 MB, free: 7.512 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: 701 * Number of variables: 701 Notification: Performance of Generate backend data structure: time 0.01061/0.1712, allocations: 4.12 MB / 282.4 MB, free: 6.07 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.1712, allocations: 9.719 kB / 282.4 MB, free: 6.07 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00141/0.1726, allocations: 0.6545 MB / 283.1 MB, free: 5.973 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002426/0.1751, allocations: 1.311 MB / 284.4 MB, free: 5.473 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001138/0.1752, allocations: 204.7 kB / 284.6 MB, free: 5.465 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002988/0.1755, allocations: 275.6 kB / 284.8 MB, free: 5.461 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003036/0.1785, allocations: 2.07 MB / 286.9 MB, free: 5.051 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.296e-05/0.1786, allocations: 6.266 kB / 286.9 MB, free: 5.047 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001823/0.1788, allocations: 108 kB / 287 MB, free: 5.047 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001139/0.1789, allocations: 120.9 kB / 287.1 MB, free: 5.039 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00177/0.1806, allocations: 0.7893 MB / 287.9 MB, free: 4.945 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009336/0.19, allocations: 7.231 MB / 295.2 MB, free: 2.125 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008066/0.1908, allocations: 0.7987 MB / 296 MB, free: 2.016 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005056/0.1913, allocations: 465.6 kB / 296.4 MB, free: 1.992 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001562/0.1914, allocations: 53.97 kB / 296.5 MB, free: 1.988 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.21e-05/0.1915, allocations: 49.22 kB / 296.5 MB, free: 1.949 MB / 266.7 MB Notification: Performance of pre-optimization done (n=131): time 3.006e-06/0.1915, allocations: 0 / 296.5 MB, free: 1.949 MB / 266.7 MB Notification: Performance of matching and sorting (n=148): time 0.004826/0.1963, allocations: 2.97 MB / 299.5 MB, free: 1.074 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.043e-05/0.1963, allocations: 68.72 kB / 299.6 MB, free: 0.9961 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008374/0.1972, allocations: 1.297 MB / 300.9 MB, free: 164 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.594e-05/0.1972, allocations: 53.7 kB / 300.9 MB, free: 104 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005612/0.1978, allocations: 1.12 MB / 302 MB, free: 15.22 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003282/0.1981, allocations: 0.5238 MB / 302.6 MB, free: 14.77 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000328/0.1984, allocations: 314.1 kB / 302.9 MB, free: 14.52 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.212e-05/0.1985, allocations: 309 kB / 303.2 MB, free: 14.21 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003065/0.1988, allocations: 202.8 kB / 303.4 MB, free: 14.02 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004821/0.1993, allocations: 0.6682 MB / 304 MB, free: 13.19 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009586/0.2003, allocations: 1.127 MB / 305.2 MB, free: 11.95 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.516e-06/0.2003, allocations: 4 kB / 305.2 MB, free: 11.95 MB / 282.7 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.0016/0.2019, allocations: 1.188 MB / 306.3 MB, free: 10.85 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.2019, allocations: 14.19 kB / 306.4 MB, free: 10.84 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.07e-05/0.2019, allocations: 20 kB / 306.4 MB, free: 10.82 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000649/0.2026, allocations: 301 kB / 306.7 MB, free: 10.52 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009308/0.2035, allocations: 447.6 kB / 307.1 MB, free: 10.11 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002686/0.2062, allocations: 3.742 MB / 310.9 MB, free: 6.258 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009253/0.2071, allocations: 74.66 kB / 310.9 MB, free: 6.188 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.501e-05/0.2072, allocations: 56 kB / 311 MB, free: 6.133 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * Number of states: 0 () * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (199): * Single equations (assignments): 194 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * 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): 2 systems {(3,16,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007793/0.208, allocations: 224.8 kB / 311.2 MB, free: 5.926 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002807/0.2083, allocations: 171.8 kB / 311.4 MB, free: 5.758 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00125/0.2095, allocations: 0.985 MB / 312.4 MB, free: 4.773 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.572e-05/0.2095, allocations: 23.98 kB / 312.4 MB, free: 4.75 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.2095, allocations: 4 kB / 312.4 MB, free: 4.746 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.367e-06/0.2095, allocations: 3.984 kB / 312.4 MB, free: 4.742 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003626/0.2132, allocations: 2.859 MB / 315.2 MB, free: 2.203 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/0.2132, allocations: 4 kB / 315.2 MB, free: 2.199 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007595/0.2139, allocations: 343.7 kB / 315.6 MB, free: 1.871 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004456/0.2144, allocations: 254.6 kB / 315.8 MB, free: 1.621 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007122/0.2151, allocations: 344.2 kB / 316.2 MB, free: 1.289 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.499e-05/0.2152, allocations: 35.98 kB / 316.2 MB, free: 1.254 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002939/0.2181, allocations: 4.936 MB / 321.1 MB, free: 12.11 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.2181, allocations: 4 kB / 321.1 MB, free: 12.1 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001616/0.2197, allocations: 1.456 MB / 322.6 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002057/0.2199, allocations: 32 kB / 322.6 MB, free: 10.59 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004881/0.2204, allocations: 55.95 kB / 322.7 MB, free: 10.54 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001829/0.2206, allocations: 124.5 kB / 322.8 MB, free: 10.42 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.789e-05/0.2207, allocations: 31.98 kB / 322.8 MB, free: 10.39 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0006383/0.2213, allocations: 0.6641 MB / 323.5 MB, free: 9.809 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2213, allocations: 0 / 323.5 MB, free: 9.809 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001638/0.2229, allocations: 0.5703 MB / 324.1 MB, free: 9.238 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 7 (smee.inertiaRotor.w,smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[1],smee.idq_rr[2],smee.idq_dr[1],mechanicalMultiSensor.flange_a.phi) * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (125): * Single equations (assignments): 120 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,16,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.000394/0.2233, allocations: 211.3 kB / 324.3 MB, free: 9.039 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001819/0.2251, allocations: 1.227 MB / 325.5 MB, free: 7.871 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.555e-05/0.2252, allocations: 44.42 kB / 325.5 MB, free: 7.832 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00125/0.2265, allocations: 0.9918 MB / 326.5 MB, free: 6.855 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002923/0.2294, allocations: 4.278 MB / 330.8 MB, free: 1.742 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02342/0.2528, allocations: 4.72 MB / 335.5 MB, free: 12.98 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007775/0.2536, allocations: 0.636 MB / 336.2 MB, free: 12.32 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.001145/0.2547, allocations: 243.9 kB / 336.4 MB, free: 12.07 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001039/0.2558, allocations: 455.1 kB / 336.9 MB, free: 11.62 MB / 314.7 MB Notification: Performance of SimCode: time 1.593e-06/0.2558, allocations: 0 / 336.9 MB, free: 11.62 MB / 314.7 MB Notification: Performance of Templates: time 0.04604/0.3018, allocations: 31.43 MB / 368.3 MB, free: 12.7 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMEE_DOL/SMEE_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.4987150682136416]