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.001817/0.001817, allocations: 99.53 kB / 20.97 MB, free: 3.457 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.001973/0.001973, allocations: 164.8 kB / 24.27 MB, free: 156 kB / 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 1.579/1.579, allocations: 177 MB / 204.5 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] 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.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.|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.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.|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 6.552e-06/6.552e-06, allocations: 3.984 kB / 272.2 MB, free: 1.801 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.588e-05/3.243e-05, allocations: 6.312 kB / 272.2 MB, free: 1.793 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL): time 0.01649/0.01652, allocations: 11.62 MB / 283.8 MB, free: 6.121 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.008469/0.02499, allocations: 3.916 MB / 287.8 MB, free: 2.191 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001828/0.02682, allocations: 83.5 kB / 287.8 MB, free: 2.109 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002701/0.02952, allocations: 0.8505 MB / 288.7 MB, free: 1.254 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003426/0.03295, allocations: 1.075 MB / 289.8 MB, free: 176 kB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1238/0.1567, allocations: 0.5278 MB / 290.3 MB, free: 16.01 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004113/0.1609, allocations: 3.586 MB / 293.9 MB, free: 15.22 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002187/0.163, allocations: 1.492 MB / 295.4 MB, free: 15.03 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003605/0.1666, allocations: 2.324 MB / 297.7 MB, free: 14.72 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002838/0.1695, allocations: 1.816 MB / 299.5 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007195/0.1702, allocations: 409.9 kB / 299.9 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001382/0.1716, allocations: 0.6322 MB / 300.5 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001061/0.1727, allocations: 1.207 MB / 301.8 MB, free: 13.55 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001869/0.1745, allocations: 1.283 MB / 303 MB, free: 12.99 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004885/0.1794, allocations: 5.487 MB / 308.5 MB, free: 9.918 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.1794, allocations: 3.719 kB / 308.5 MB, free: 9.918 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1794, allocations: 0 / 308.5 MB, free: 9.918 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001236/0.1795, allocations: 0.5312 kB / 308.5 MB, free: 9.918 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.007765/0.1873, allocations: 4.185 MB / 312.7 MB, free: 7.109 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.1873, allocations: 10.77 kB / 312.7 MB, free: 7.105 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001884/0.1892, allocations: 0.6921 MB / 313.4 MB, free: 6.422 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003449/0.1927, allocations: 1.857 MB / 315.3 MB, free: 4.625 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000107/0.1928, allocations: 201.8 kB / 315.5 MB, free: 4.426 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003371/0.1931, allocations: 272.4 kB / 315.7 MB, free: 4.164 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004985/0.1981, allocations: 3.387 MB / 319.1 MB, free: 0.6602 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.906e-05/0.1982, allocations: 11.38 kB / 319.1 MB, free: 0.6523 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000214/0.1984, allocations: 111.5 kB / 319.2 MB, free: 0.5469 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001069/0.1985, allocations: 121.2 kB / 319.4 MB, free: 436 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004844/0.2033, allocations: 2.245 MB / 321.6 MB, free: 14.18 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02674/0.2301, allocations: 12.96 MB / 334.6 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00289/0.233, allocations: 1.111 MB / 335.7 MB, free: 15.77 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001988/0.235, allocations: 0.7803 MB / 336.5 MB, free: 14.98 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002984/0.2353, allocations: 58.53 kB / 336.5 MB, free: 14.92 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.852e-05/0.2353, allocations: 50.7 kB / 336.6 MB, free: 14.86 MB / 298.7 MB Notification: Performance of pre-optimization done (n=130): time 4.298e-06/0.2353, allocations: 0 / 336.6 MB, free: 14.86 MB / 298.7 MB Notification: Performance of matching and sorting (n=147): time 0.01417/0.2495, allocations: 4.568 MB / 341.1 MB, free: 10.3 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.021e-05/0.2496, allocations: 71.91 kB / 341.2 MB, free: 10.22 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004755/0.2543, allocations: 2.165 MB / 343.4 MB, free: 8.043 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003084/0.2546, allocations: 49.7 kB / 343.4 MB, free: 7.988 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001635/0.2563, allocations: 1.539 MB / 345 MB, free: 6.438 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008598/0.2571, allocations: 0.5654 MB / 345.5 MB, free: 5.879 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009869/0.2581, allocations: 400.2 kB / 345.9 MB, free: 5.48 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002496/0.2583, allocations: 484.7 kB / 346.4 MB, free: 5.004 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001416/0.2598, allocations: 0.4958 MB / 346.9 MB, free: 4.508 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002068/0.2618, allocations: 1.253 MB / 348.1 MB, free: 2.98 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003864/0.2657, allocations: 1.925 MB / 350.1 MB, free: 0.832 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.233e-05/0.2657, allocations: 4 kB / 350.1 MB, free: 0.8281 MB / 298.7 MB Notification: Performance of matching and sorting (n=225) (initialization): time 0.005655/0.2714, allocations: 2.102 MB / 352.2 MB, free: 14.81 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.348e-05/0.2714, allocations: 12 kB / 352.2 MB, free: 14.8 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.26e-05/0.2715, allocations: 16.38 kB / 352.2 MB, free: 14.79 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001673/0.2731, allocations: 353.8 kB / 352.5 MB, free: 14.43 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001891/0.275, allocations: 422.6 kB / 352.9 MB, free: 14.04 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008639/0.2837, allocations: 5.458 MB / 358.4 MB, free: 8.379 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002144/0.2858, allocations: 119.8 kB / 358.5 MB, free: 8.262 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003506/0.2862, allocations: 71.98 kB / 358.6 MB, free: 8.191 MB / 314.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.001818/0.288, allocations: 0.7037 MB / 359.3 MB, free: 7.5 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008207/0.2888, allocations: 254.7 kB / 359.5 MB, free: 7.25 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004618/0.2934, allocations: 1.653 MB / 361.2 MB, free: 5.586 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.8e-05/0.2935, allocations: 19.94 kB / 361.2 MB, free: 5.566 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.622e-05/0.2935, allocations: 8 kB / 361.2 MB, free: 5.559 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.045e-05/0.2935, allocations: 7.969 kB / 361.2 MB, free: 5.551 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01245/0.306, allocations: 4.628 MB / 365.9 MB, free: 0.875 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-05/0.306, allocations: 4 kB / 365.9 MB, free: 0.8711 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001304/0.3073, allocations: 266 kB / 366.1 MB, free: 0.625 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00182/0.3091, allocations: 401.5 kB / 366.5 MB, free: 232 kB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001467/0.3092, allocations: 39.97 kB / 366.6 MB, free: 192 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009538/0.3188, allocations: 7.226 MB / 373.8 MB, free: 8.633 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.664e-06/0.3188, allocations: 7.188 kB / 373.8 MB, free: 8.629 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006499/0.3253, allocations: 2.489 MB / 376.3 MB, free: 6.074 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001557/0.3268, allocations: 366.5 kB / 376.6 MB, free: 5.715 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005646/0.3274, allocations: 35.98 kB / 376.7 MB, free: 5.68 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001442/0.3289, allocations: 93.25 kB / 376.8 MB, free: 5.59 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000357/0.3292, allocations: 124.4 kB / 376.9 MB, free: 5.473 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001574/0.3294, allocations: 51.98 kB / 376.9 MB, free: 5.422 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.003092/0.3325, allocations: 1.27 MB / 378.2 MB, free: 4.16 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3325, allocations: 0 / 378.2 MB, free: 4.16 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002739/0.3352, allocations: 0.5859 MB / 378.8 MB, free: 3.574 MB / 330.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%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006403/0.3358, allocations: 226.8 kB / 379 MB, free: 3.359 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.004692/0.3405, allocations: 1.978 MB / 381 MB, free: 1.402 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.084e-05/0.3405, allocations: 4 kB / 381 MB, free: 1.398 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002911/0.3434, allocations: 1.404 MB / 382.4 MB, free: 15.96 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002592/0.346, allocations: 459.5 kB / 382.8 MB, free: 15.54 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01232/0.3584, allocations: 5.058 MB / 387.9 MB, free: 10.39 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003024/0.3614, allocations: 1.486 MB / 389.4 MB, free: 8.871 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001827/0.3632, allocations: 366.3 kB / 389.8 MB, free: 8.512 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000703/0.3639, allocations: 136.5 kB / 389.9 MB, free: 8.379 MB / 346.7 MB Notification: Performance of SimCode: time 1.753e-06/0.3639, allocations: 0 / 389.9 MB, free: 8.379 MB / 346.7 MB Notification: Performance of Templates: time 0.06211/0.426, allocations: 29.63 MB / 419.5 MB, free: 11.17 MB / 378.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 -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.3010145970620215]