Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_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.001246/0.001246, allocations: 84.73 kB / 21.5 MB, free: 2.984 MB / 18.57 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.0009218/0.0009218, allocations: 165.3 kB / 24.91 MB, free: 9.184 MB / 18.57 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 0.991/0.991, allocations: 177 MB / 205.2 MB, free: 5.438 MB / 186.7 MB " [Timeout remaining time 179] 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.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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 273.4 MB, free: 1.148 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.429e-05/1.579e-05, allocations: 2.312 kB / 273.4 MB, free: 1.145 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL): time 0.008928/0.008943, allocations: 11.47 MB / 284.9 MB, free: 5.621 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005992/0.01494, allocations: 4.055 MB / 289 MB, free: 1.551 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009267/0.01586, allocations: 83.5 kB / 289 MB, free: 1.469 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001365/0.01723, allocations: 0.8712 MB / 289.9 MB, free: 0.5898 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1153/0.1325, allocations: 1.07 MB / 291 MB, free: 16.22 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001438/0.1339, allocations: 0.5361 MB / 291.5 MB, free: 16.22 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003703/0.1376, allocations: 3.6 MB / 295.1 MB, free: 15.33 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001921/0.1396, allocations: 1.522 MB / 296.6 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004058/0.1436, allocations: 2.553 MB / 299.2 MB, free: 14.48 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002767/0.1464, allocations: 1.729 MB / 300.9 MB, free: 13.99 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009306/0.1473, allocations: 397.2 kB / 301.3 MB, free: 13.99 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001196/0.1485, allocations: 0.6221 MB / 301.9 MB, free: 13.95 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007244/0.1492, allocations: 1.154 MB / 303.1 MB, free: 13.35 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001764/0.151, allocations: 1.255 MB / 304.3 MB, free: 12.8 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003083/0.1541, allocations: 2.998 MB / 307.3 MB, free: 11.55 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.1541, allocations: 0 / 307.3 MB, free: 11.55 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1541, allocations: 0.625 kB / 307.3 MB, free: 11.55 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001593/0.1542, allocations: 0 / 307.3 MB, free: 11.55 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.003788/0.158, allocations: 3.461 MB / 310.8 MB, free: 9.348 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.1581, allocations: 14.27 kB / 310.8 MB, free: 9.344 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001059/0.1591, allocations: 0.577 MB / 311.4 MB, free: 9.121 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001497/0.1606, allocations: 1.317 MB / 312.7 MB, free: 7.855 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.526e-05/0.1607, allocations: 212.6 kB / 312.9 MB, free: 7.648 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001963/0.1609, allocations: 267.7 kB / 313.2 MB, free: 7.391 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001826/0.1627, allocations: 2.066 MB / 315.3 MB, free: 5.332 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.8e-05/0.1628, allocations: 7.891 kB / 315.3 MB, free: 5.324 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001406/0.1629, allocations: 111.9 kB / 315.4 MB, free: 5.219 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.887e-05/0.163, allocations: 125.2 kB / 315.5 MB, free: 5.094 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001028/0.164, allocations: 0.7787 MB / 316.3 MB, free: 4.297 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007262/0.1713, allocations: 7.208 MB / 323.5 MB, free: 13.35 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009448/0.1722, allocations: 0.7911 MB / 324.3 MB, free: 12.59 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005878/0.1728, allocations: 466.8 kB / 324.7 MB, free: 12.14 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001813/0.173, allocations: 58.92 kB / 324.8 MB, free: 12.09 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.564e-05/0.173, allocations: 54.22 kB / 324.8 MB, free: 12.04 MB / 282.7 MB Notification: Performance of pre-optimization done (n=130): time 4.097e-06/0.173, allocations: 4 kB / 324.8 MB, free: 12.03 MB / 282.7 MB Notification: Performance of matching and sorting (n=147): time 0.00529/0.1783, allocations: 2.831 MB / 327.7 MB, free: 9.234 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.28e-05/0.1784, allocations: 68.72 kB / 327.7 MB, free: 9.152 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001081/0.1794, allocations: 1.309 MB / 329 MB, free: 8.09 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.632e-05/0.1795, allocations: 49.7 kB / 329.1 MB, free: 8.035 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006184/0.1801, allocations: 1.108 MB / 330.2 MB, free: 6.992 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003802/0.1805, allocations: 0.5199 MB / 330.7 MB, free: 6.504 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004118/0.1809, allocations: 309.7 kB / 331 MB, free: 6.23 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.845e-05/0.181, allocations: 309.1 kB / 331.3 MB, free: 5.926 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003903/0.1814, allocations: 202.2 kB / 331.5 MB, free: 5.73 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003623/0.185, allocations: 0.6656 MB / 332.2 MB, free: 4.906 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001202/0.1862, allocations: 1.08 MB / 333.3 MB, free: 3.723 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.516e-06/0.1862, allocations: 4 kB / 333.3 MB, free: 3.719 MB / 282.7 MB Notification: Performance of matching and sorting (n=225) (initialization): time 0.005141/0.1914, allocations: 1.19 MB / 334.5 MB, free: 2.621 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.613e-05/0.1914, allocations: 12 kB / 334.5 MB, free: 2.609 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.98e-05/0.1914, allocations: 12.38 kB / 334.5 MB, free: 2.598 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008327/0.1923, allocations: 303.1 kB / 334.8 MB, free: 2.301 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004179/0.1964, allocations: 415 kB / 335.2 MB, free: 1.922 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006489/0.2029, allocations: 3.727 MB / 338.9 MB, free: 14.08 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001099/0.204, allocations: 71.92 kB / 339 MB, free: 14.01 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001153/0.2041, allocations: 64.84 kB / 339 MB, free: 13.95 MB / 298.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 (198): * Single equations (assignments): 193 * 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.0006345/0.2048, allocations: 224.4 kB / 339.3 MB, free: 13.74 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003439/0.2082, allocations: 175.1 kB / 339.4 MB, free: 13.57 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001909/0.2101, allocations: 0.9789 MB / 340.4 MB, free: 12.59 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.763e-05/0.2102, allocations: 19.98 kB / 340.4 MB, free: 12.57 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.255e-06/0.2102, allocations: 4 kB / 340.4 MB, free: 12.57 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.151e-05/0.2102, allocations: 7.984 kB / 340.4 MB, free: 12.56 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01053/0.2207, allocations: 2.838 MB / 343.3 MB, free: 10.04 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.825e-06/0.2207, allocations: 4 kB / 343.3 MB, free: 10.03 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009716/0.2217, allocations: 331.4 kB / 343.6 MB, free: 9.719 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008828/0.2226, allocations: 332.7 kB / 343.9 MB, free: 9.387 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.387e-05/0.2226, allocations: 35.98 kB / 344 MB, free: 9.352 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01002/0.2327, allocations: 4.955 MB / 348.9 MB, free: 4.191 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.2327, allocations: 4 kB / 348.9 MB, free: 4.188 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005356/0.238, allocations: 1.433 MB / 350.4 MB, free: 2.734 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005901/0.2386, allocations: 250.1 kB / 350.6 MB, free: 2.492 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001838/0.2388, allocations: 35.98 kB / 350.6 MB, free: 2.457 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000594/0.2394, allocations: 59.97 kB / 350.7 MB, free: 2.398 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002182/0.2396, allocations: 116.6 kB / 350.8 MB, free: 2.285 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.816e-05/0.2397, allocations: 35.98 kB / 350.9 MB, free: 2.25 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0007479/0.2404, allocations: 0.6596 MB / 351.5 MB, free: 1.668 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2404, allocations: 0 / 351.5 MB, free: 1.668 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.004636/0.2451, allocations: 0.578 MB / 352.1 MB, free: 1.09 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 (124): * Single equations (assignments): 119 * 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.0003697/0.2454, allocations: 201.1 kB / 352.3 MB, free: 0.8984 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001828/0.2473, allocations: 1.204 MB / 353.5 MB, free: 15.75 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.644e-05/0.2473, allocations: 23.75 kB / 353.5 MB, free: 15.73 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001169/0.2485, allocations: 0.9128 MB / 354.4 MB, free: 14.83 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001142/0.2496, allocations: 452.6 kB / 354.9 MB, free: 14.41 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007/0.2566, allocations: 4.566 MB / 359.4 MB, free: 9.789 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007642/0.2574, allocations: 0.627 MB / 360.1 MB, free: 9.141 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.001063/0.2584, allocations: 244.6 kB / 360.3 MB, free: 8.898 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008264/0.2593, allocations: 459.1 kB / 360.7 MB, free: 8.445 MB / 314.7 MB Notification: Performance of SimCode: time 2.846e-06/0.2593, allocations: 0 / 360.7 MB, free: 8.445 MB / 314.7 MB Notification: Performance of Templates: time 0.04362/0.3029, allocations: 30.4 MB / 391.1 MB, free: 10.52 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.689449592027813]