Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_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.001931/0.001931, allocations: 92.62 kB / 20.96 MB, free: 3.477 MB / 18.57 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.002296/0.002296, allocations: 153.4 kB / 24.26 MB, free: 184 kB / 18.57 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 1.492/1.492, allocations: 173.4 MB / 200.8 MB, free: 9.305 MB / 186.7 MB " [Timeout remaining time 178] 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.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_4.0.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.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_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.345e-06/2.345e-06, allocations: 0 / 267.3 MB, free: 6.715 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.117e-05/4.351e-05, allocations: 6.25 kB / 267.3 MB, free: 6.707 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL): time 0.02269/0.02274, allocations: 10.41 MB / 277.7 MB, free: 12.25 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0143/0.03704, allocations: 3.714 MB / 281.5 MB, free: 8.52 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0052/0.04224, allocations: 79.5 kB / 281.5 MB, free: 8.441 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005334/0.04757, allocations: 0.8389 MB / 282.4 MB, free: 7.602 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007027/0.0546, allocations: 1.071 MB / 283.4 MB, free: 6.523 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003326/0.05792, allocations: 0.5381 MB / 284 MB, free: 5.984 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.008016/0.06594, allocations: 3.571 MB / 287.6 MB, free: 2.395 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003715/0.06965, allocations: 1.487 MB / 289 MB, free: 0.8438 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1529/0.2226, allocations: 2.286 MB / 291.3 MB, free: 17.21 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004403/0.227, allocations: 1.683 MB / 293 MB, free: 17.21 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001687/0.2287, allocations: 409.1 kB / 293.4 MB, free: 17.21 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002779/0.2315, allocations: 0.6271 MB / 294 MB, free: 17.21 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002074/0.2335, allocations: 1.187 MB / 295.2 MB, free: 17.21 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004099/0.2376, allocations: 1.266 MB / 296.5 MB, free: 17.21 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0108/0.2484, allocations: 5.447 MB / 301.9 MB, free: 16.69 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.2484, allocations: 3 kB / 301.9 MB, free: 16.69 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2484, allocations: 3.469 kB / 301.9 MB, free: 16.69 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0002105/0.2487, allocations: 0 / 301.9 MB, free: 16.69 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.01275/0.2614, allocations: 3.689 MB / 305.6 MB, free: 14.25 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.2614, allocations: 10.92 kB / 305.6 MB, free: 14.25 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002383/0.2638, allocations: 0.6587 MB / 306.3 MB, free: 13.95 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004922/0.2688, allocations: 1.964 MB / 308.3 MB, free: 12.76 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001866/0.2689, allocations: 204.2 kB / 308.5 MB, free: 12.66 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005854/0.2695, allocations: 272.8 kB / 308.7 MB, free: 12.57 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008168/0.2777, allocations: 3.648 MB / 312.4 MB, free: 10.34 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.711e-05/0.2778, allocations: 7.094 kB / 312.4 MB, free: 10.34 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002532/0.278, allocations: 111.8 kB / 312.5 MB, free: 10.25 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001248/0.2781, allocations: 123 kB / 312.6 MB, free: 10.23 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004446/0.2826, allocations: 2.96 MB / 315.6 MB, free: 7.652 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01729/0.2999, allocations: 9.732 MB / 325.3 MB, free: 13.87 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003139/0.303, allocations: 1.498 MB / 326.8 MB, free: 12.38 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002395/0.3054, allocations: 1.107 MB / 327.9 MB, free: 11.29 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002855/0.3057, allocations: 65.27 kB / 328 MB, free: 11.22 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.308e-05/0.3058, allocations: 47.5 kB / 328 MB, free: 11.17 MB / 282.7 MB Notification: Performance of pre-optimization done (n=131): time 4.238e-06/0.3058, allocations: 1.828 kB / 328 MB, free: 11.17 MB / 282.7 MB Notification: Performance of matching and sorting (n=148): time 0.01955/0.3253, allocations: 7.116 MB / 335.1 MB, free: 4.062 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.453e-05/0.3254, allocations: 71.91 kB / 335.2 MB, free: 3.984 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003633/0.329, allocations: 1.818 MB / 337 MB, free: 2.164 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003504/0.3294, allocations: 52.36 kB / 337.1 MB, free: 2.109 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00142/0.3308, allocations: 1.351 MB / 338.4 MB, free: 0.75 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000765/0.3315, allocations: 0.5242 MB / 339 MB, free: 240 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006688/0.3322, allocations: 323.4 kB / 339.3 MB, free: 15.91 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002039/0.3324, allocations: 305.1 kB / 339.6 MB, free: 15.61 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0019/0.3343, allocations: 0.8901 MB / 340.5 MB, free: 14.72 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002344/0.3367, allocations: 1.367 MB / 341.8 MB, free: 13.15 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004304/0.341, allocations: 2.387 MB / 344.2 MB, free: 10.62 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-05/0.341, allocations: 4 kB / 344.2 MB, free: 10.62 MB / 298.7 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006932/0.3479, allocations: 2.973 MB / 347.2 MB, free: 7.734 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.457e-05/0.348, allocations: 8 kB / 347.2 MB, free: 7.727 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.88e-05/0.348, allocations: 16 kB / 347.2 MB, free: 7.711 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0018/0.3498, allocations: 0.5246 MB / 347.7 MB, free: 7.18 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001797/0.3516, allocations: 425.1 kB / 348.2 MB, free: 6.789 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008623/0.3602, allocations: 5.806 MB / 354 MB, free: 0.8125 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002204/0.3624, allocations: 119.9 kB / 354.1 MB, free: 0.6953 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002496/0.3627, allocations: 77.08 kB / 354.1 MB, free: 0.6211 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 (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.002097/0.3648, allocations: 0.8515 MB / 355 MB, free: 15.79 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008055/0.3656, allocations: 257.3 kB / 355.3 MB, free: 15.54 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005404/0.371, allocations: 2.491 MB / 357.7 MB, free: 13.04 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.804e-05/0.371, allocations: 23.92 kB / 357.8 MB, free: 13.02 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.104e-05/0.371, allocations: 8 kB / 357.8 MB, free: 13.01 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.485e-05/0.371, allocations: 3.984 kB / 357.8 MB, free: 13 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01222/0.3833, allocations: 4.866 MB / 362.6 MB, free: 8.129 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.364e-05/0.3833, allocations: 4 kB / 362.6 MB, free: 8.125 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001341/0.3846, allocations: 287 kB / 362.9 MB, free: 7.855 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001981/0.3866, allocations: 0.5432 MB / 363.5 MB, free: 7.309 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001294/0.3867, allocations: 39.97 kB / 363.5 MB, free: 7.27 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01054/0.3973, allocations: 7.282 MB / 370.8 MB, free: 15.73 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.713e-06/0.3973, allocations: 4 kB / 370.8 MB, free: 15.72 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008238/0.4055, allocations: 3.785 MB / 374.6 MB, free: 11.89 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001475/0.407, allocations: 396.7 kB / 375 MB, free: 11.5 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004794/0.4075, allocations: 42.17 kB / 375 MB, free: 11.46 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001345/0.4088, allocations: 95.89 kB / 375.1 MB, free: 11.37 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003952/0.4092, allocations: 128.7 kB / 375.2 MB, free: 11.25 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001357/0.4093, allocations: 44 kB / 375.3 MB, free: 11.2 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.002561/0.4119, allocations: 1.226 MB / 376.5 MB, free: 9.984 MB / 330.7 MB Notification: Performance of sort global known variables: time 1e-07/0.4119, allocations: 0 / 376.5 MB, free: 9.984 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.003248/0.4152, allocations: 0.5897 MB / 377.1 MB, free: 9.395 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 (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%), (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.0007285/0.4159, allocations: 223.3 kB / 377.3 MB, free: 9.188 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.005556/0.4214, allocations: 2.455 MB / 379.8 MB, free: 6.762 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 9.017e-06/0.4215, allocations: 6 kB / 379.8 MB, free: 6.758 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003282/0.4247, allocations: 1.537 MB / 381.3 MB, free: 5.211 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002979/0.4277, allocations: 448.8 kB / 381.7 MB, free: 4.777 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01343/0.4411, allocations: 5.593 MB / 387.3 MB, free: 15.12 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002303/0.4434, allocations: 1.572 MB / 388.9 MB, free: 13.51 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.002181/0.4456, allocations: 447.5 kB / 389.3 MB, free: 13.07 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005768/0.4462, allocations: 132.5 kB / 389.5 MB, free: 12.94 MB / 346.7 MB Notification: Performance of SimCode: time 1.383e-06/0.4462, allocations: 0 / 389.5 MB, free: 12.94 MB / 346.7 MB Notification: Performance of Templates: time 0.06208/0.5083, allocations: 29.61 MB / 419.1 MB, free: 15.76 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMEE_DOL/SMEE_DOL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.18310379202012]