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.0008892/0.0008892, allocations: 81.97 kB / 22.21 MB, free: 2.289 MB / 18.57 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.0008989/0.0008989, allocations: 160.8 kB / 25.61 MB, free: 8.895 MB / 18.57 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.8776/0.8776, allocations: 177.1 MB / 206 MB, free: 4.512 MB / 186.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.362e-06/1.362e-06, allocations: 0 / 274.2 MB, free: 4.398 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.413e-05/1.549e-05, allocations: 2.312 kB / 274.2 MB, free: 4.395 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL): time 0.01155/0.01157, allocations: 9.876 MB / 284.1 MB, free: 10.49 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006041/0.01761, allocations: 3.245 MB / 287.3 MB, free: 7.242 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007766/0.01839, allocations: 75.5 kB / 287.4 MB, free: 7.168 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001422/0.01981, allocations: 0.6984 MB / 288.1 MB, free: 6.465 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001607/0.02142, allocations: 0.9196 MB / 289 MB, free: 5.539 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006099/0.02203, allocations: 435.2 kB / 289.4 MB, free: 5.113 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002879/0.02491, allocations: 3.081 MB / 292.5 MB, free: 2.02 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00163/0.02654, allocations: 1.349 MB / 293.9 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002688/0.02922, allocations: 2.277 MB / 296.2 MB, free: 14.32 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00186/0.03108, allocations: 1.528 MB / 297.7 MB, free: 12.79 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004548/0.03154, allocations: 344 kB / 298 MB, free: 12.46 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006424/0.03218, allocations: 455.7 kB / 298.5 MB, free: 12.01 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007403/0.03292, allocations: 1.028 MB / 299.5 MB, free: 10.98 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000994/0.03392, allocations: 1.083 MB / 300.6 MB, free: 9.895 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00279/0.03671, allocations: 2.601 MB / 303.2 MB, free: 7.285 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.03671, allocations: 0 / 303.2 MB, free: 7.285 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.71e-07/0.03671, allocations: 0 / 303.2 MB, free: 7.285 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.224e-05/0.03675, allocations: 0 / 303.2 MB, free: 7.285 MB / 282.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.004151/0.0409, allocations: 3.295 MB / 306.5 MB, free: 3.93 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.04094, allocations: 15.98 kB / 306.5 MB, free: 3.914 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001092/0.04203, allocations: 0.5574 MB / 307 MB, free: 3.355 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002112/0.04415, allocations: 1.559 MB / 308.6 MB, free: 1.75 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001302/0.04428, allocations: 181 kB / 308.8 MB, free: 1.57 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005457/0.04482, allocations: 232.4 kB / 309 MB, free: 1.344 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002416/0.04724, allocations: 1.765 MB / 310.8 MB, free: 15.45 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.708e-05/0.0473, allocations: 7.938 kB / 310.8 MB, free: 15.45 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001899/0.04749, allocations: 96 kB / 310.9 MB, free: 15.35 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001108/0.0476, allocations: 108.5 kB / 311 MB, free: 15.24 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001514/0.04911, allocations: 0.6892 MB / 311.7 MB, free: 14.52 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009581/0.05869, allocations: 7.762 MB / 319.4 MB, free: 6.465 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001179/0.05987, allocations: 0.7582 MB / 320.2 MB, free: 5.715 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009031/0.06077, allocations: 498.2 kB / 320.7 MB, free: 5.23 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001633/0.06094, allocations: 60.91 kB / 320.7 MB, free: 5.168 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.245e-05/0.06097, allocations: 46.39 kB / 320.8 MB, free: 5.113 MB / 298.7 MB Notification: Performance of pre-optimization done (n=116): time 3.086e-06/0.06097, allocations: 0 / 320.8 MB, free: 5.113 MB / 298.7 MB Notification: Performance of matching and sorting (n=131): time 0.009413/0.07038, allocations: 2.665 MB / 323.4 MB, free: 2.406 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.503e-05/0.07042, allocations: 68.72 kB / 323.5 MB, free: 2.324 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004347/0.07477, allocations: 1.369 MB / 324.9 MB, free: 0.9336 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.038e-05/0.07484, allocations: 49.7 kB / 324.9 MB, free: 0.8789 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007757/0.07561, allocations: 1.294 MB / 326.2 MB, free: 15.56 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003236/0.07594, allocations: 487.9 kB / 326.7 MB, free: 15.08 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000385/0.07632, allocations: 305 kB / 327 MB, free: 14.77 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001111/0.07643, allocations: 480.7 kB / 327.5 MB, free: 14.3 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003381/0.07677, allocations: 179.8 kB / 327.6 MB, free: 14.12 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006456/0.07742, allocations: 0.7594 MB / 328.4 MB, free: 13.13 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004196/0.08161, allocations: 1.074 MB / 329.5 MB, free: 11.83 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.145e-06/0.08162, allocations: 7.75 kB / 329.5 MB, free: 11.82 MB / 314.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.001829/0.08345, allocations: 1.307 MB / 330.8 MB, free: 10.49 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.08347, allocations: 12.03 kB / 330.8 MB, free: 10.48 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.325e-05/0.08348, allocations: 12 kB / 330.8 MB, free: 10.47 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004786/0.08396, allocations: 245.9 kB / 331.1 MB, free: 10.21 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006559/0.08462, allocations: 323.5 kB / 331.4 MB, free: 9.898 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0035/0.08812, allocations: 6.431 MB / 337.8 MB, free: 3.129 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004865/0.0886, allocations: 51.98 kB / 337.8 MB, free: 3.078 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.979e-05/0.08867, allocations: 55.98 kB / 337.9 MB, free: 3.023 MB / 314.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.0003942/0.08907, allocations: 252.1 kB / 338.1 MB, free: 2.766 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002184/0.08928, allocations: 226.8 kB / 338.4 MB, free: 2.543 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001269/0.09055, allocations: 1.068 MB / 339.4 MB, free: 1.441 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.09056, allocations: 15.98 kB / 339.5 MB, free: 1.426 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.09057, allocations: 8 kB / 339.5 MB, free: 1.418 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.647e-06/0.09057, allocations: 3.984 kB / 339.5 MB, free: 1.414 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003302/0.09388, allocations: 3.137 MB / 342.6 MB, free: 14.14 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.09388, allocations: 4 kB / 342.6 MB, free: 14.14 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004677/0.09435, allocations: 203.7 kB / 342.8 MB, free: 13.94 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004993/0.09485, allocations: 266.6 kB / 343.1 MB, free: 13.66 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.437e-05/0.0949, allocations: 31.98 kB / 343.1 MB, free: 13.63 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003781/0.09868, allocations: 8.16 MB / 351.3 MB, free: 5.02 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.09868, allocations: 160 / 351.3 MB, free: 5.02 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001794/0.1005, allocations: 1.559 MB / 352.8 MB, free: 3.363 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003447/0.1008, allocations: 286.7 kB / 353.1 MB, free: 3.082 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000128/0.101, allocations: 35.98 kB / 353.1 MB, free: 3.047 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003747/0.1013, allocations: 44.05 kB / 353.2 MB, free: 3.004 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001478/0.1015, allocations: 120.7 kB / 353.3 MB, free: 2.883 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.606e-05/0.1015, allocations: 27.98 kB / 353.3 MB, free: 2.855 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005373/0.1021, allocations: 0.7457 MB / 354.1 MB, free: 2.113 MB / 330.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1021, allocations: 4 kB / 354.1 MB, free: 2.109 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009676/0.103, allocations: 499.9 kB / 354.6 MB, free: 1.621 MB / 330.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.0002433/0.1033, allocations: 210.9 kB / 354.8 MB, free: 1.406 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.09238/0.1957, allocations: 1.421 MB / 356.2 MB, free: 79.05 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.264e-06/0.1957, allocations: 0.7812 kB / 356.2 MB, free: 79.05 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001308/0.197, allocations: 1.212 MB / 357.4 MB, free: 78.37 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00139/0.1984, allocations: 437 kB / 357.8 MB, free: 78.36 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004706/0.2031, allocations: 4.202 MB / 362 MB, free: 76.56 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000536/0.2036, allocations: 0.658 MB / 362.7 MB, free: 76.44 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005221/0.2041, allocations: 228 kB / 362.9 MB, free: 76.38 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000674/0.2048, allocations: 489.9 kB / 363.4 MB, free: 76.32 MB / 330.7 MB Notification: Performance of SimCode: time 9.72e-07/0.2048, allocations: 0 / 363.4 MB, free: 76.32 MB / 330.7 MB Notification: Performance of Templates: time 0.02734/0.2321, allocations: 28.15 MB / 391.5 MB, free: 55 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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2401445559225976]