Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001754/0.001754, allocations: 114.5 kB / 21.17 MB, free: 0.6172 MB / 14.72 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.002201/0.002201, allocations: 206.2 kB / 24.47 MB, free: 4.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.471/1.471, allocations: 230.4 MB / 258.1 MB, free: 8.148 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002043/0.002043, allocations: 71.83 kB / 378.7 MB, free: 2.871 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2927/0.2947, allocations: 53.31 MB / 432.1 MB, free: 7.375 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL): time 0.01767/0.3124, allocations: 11.95 MB / 444 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0099/0.3223, allocations: 4.009 MB / 448 MB, free: 7.355 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002954/0.3253, allocations: 67.75 kB / 448.1 MB, free: 7.289 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002896/0.3282, allocations: 0.889 MB / 449 MB, free: 6.395 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004829/0.333, allocations: 1.029 MB / 450 MB, free: 5.359 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001646/0.3346, allocations: 0.5382 MB / 450.5 MB, free: 4.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005666/0.3403, allocations: 3.467 MB / 454 MB, free: 1.336 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002665/0.343, allocations: 1.537 MB / 455.5 MB, free: 15.74 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002725/0.3457, allocations: 1.553 MB / 457.1 MB, free: 14.18 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003296/0.349, allocations: 1.985 MB / 459.1 MB, free: 12.19 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008633/0.3499, allocations: 408 kB / 459.5 MB, free: 11.79 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001653/0.3515, allocations: 0.6441 MB / 460.1 MB, free: 11.14 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001653/0.3532, allocations: 1.165 MB / 461.3 MB, free: 9.977 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003107/0.3563, allocations: 1.847 MB / 463.1 MB, free: 8.121 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009324/0.3656, allocations: 5.403 MB / 468.5 MB, free: 2.699 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.624e-06/0.3656, allocations: 0 / 468.5 MB, free: 2.699 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.3656, allocations: 0 / 468.5 MB, free: 2.699 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001811/0.3658, allocations: 3.938 kB / 468.5 MB, free: 2.695 MB / 366.1 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.01118/0.377, allocations: 3.813 MB / 472.4 MB, free: 14.81 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.377, allocations: 12.03 kB / 472.4 MB, free: 14.8 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002082/0.3791, allocations: 482.5 kB / 472.8 MB, free: 14.33 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004734/0.3838, allocations: 2.002 MB / 474.8 MB, free: 12.27 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002056/0.384, allocations: 205.4 kB / 475 MB, free: 12.07 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005618/0.3846, allocations: 268 kB / 475.3 MB, free: 11.81 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007712/0.3923, allocations: 3.521 MB / 478.8 MB, free: 8.207 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.829e-05/0.3924, allocations: 4 kB / 478.8 MB, free: 8.203 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002817/0.3927, allocations: 111.9 kB / 478.9 MB, free: 8.094 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000199/0.3929, allocations: 117.3 kB / 479.1 MB, free: 7.977 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006416/0.3993, allocations: 2.98 MB / 482 MB, free: 4.984 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02629/0.4256, allocations: 10.99 MB / 493 MB, free: 9.66 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003737/0.4293, allocations: 2.191 MB / 495.2 MB, free: 7.305 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00237/0.4317, allocations: 1.098 MB / 496.3 MB, free: 6.207 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003764/0.4321, allocations: 211.5 kB / 496.5 MB, free: 5.965 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.099e-05/0.4321, allocations: 51.88 kB / 496.6 MB, free: 5.902 MB / 398.1 MB Notification: Performance of pre-optimization done (n=131): time 4.228e-06/0.4321, allocations: 0 / 496.6 MB, free: 5.902 MB / 398.1 MB Notification: Performance of matching and sorting (n=148): time 0.01842/0.4505, allocations: 7.544 MB / 0.4923 GB, free: 14.23 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.698e-05/0.4506, allocations: 72.66 kB / 0.4924 GB, free: 14.14 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003475/0.4541, allocations: 1.992 MB / 0.4943 GB, free: 12.11 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002603/0.4543, allocations: 53.64 kB / 0.4944 GB, free: 12.05 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001206/0.4555, allocations: 1.35 MB / 0.4957 GB, free: 10.69 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006056/0.4561, allocations: 0.5307 MB / 0.4962 GB, free: 10.15 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005904/0.4567, allocations: 323.5 kB / 0.4965 GB, free: 9.828 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.4569, allocations: 305.1 kB / 0.4968 GB, free: 9.527 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001637/0.4585, allocations: 0.8862 MB / 0.4977 GB, free: 8.641 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002085/0.4606, allocations: 1.372 MB / 0.499 GB, free: 7.062 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003749/0.4643, allocations: 2.377 MB / 0.5013 GB, free: 4.477 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.325e-05/0.4643, allocations: 4 kB / 0.5013 GB, free: 4.473 MB / 414.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006047/0.4704, allocations: 2.991 MB / 0.5043 GB, free: 1.445 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.515e-05/0.4704, allocations: 12 kB / 0.5043 GB, free: 1.434 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.555e-05/0.4704, allocations: 15.98 kB / 0.5043 GB, free: 1.418 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00123/0.4717, allocations: 469.9 kB / 0.5047 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001765/0.4734, allocations: 427.3 kB / 0.5051 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0077/0.4811, allocations: 6.091 MB / 0.5111 GB, free: 10.17 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001964/0.4831, allocations: 127.9 kB / 0.5112 GB, free: 10.05 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002448/0.4834, allocations: 71.98 kB / 0.5113 GB, free: 9.977 MB / 430.1 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.001726/0.4851, allocations: 0.8524 MB / 0.5121 GB, free: 9.113 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005946/0.4857, allocations: 230.5 kB / 0.5123 GB, free: 8.887 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005027/0.4907, allocations: 2.583 MB / 0.5148 GB, free: 6.258 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.974e-05/0.4907, allocations: 16 kB / 0.5149 GB, free: 6.242 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/0.4908, allocations: 4 kB / 0.5149 GB, free: 6.238 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.846e-05/0.4908, allocations: 7.969 kB / 0.5149 GB, free: 6.23 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01177/0.5025, allocations: 5.622 MB / 0.5204 GB, free: 480 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.364e-05/0.5026, allocations: 4 kB / 0.5204 GB, free: 476 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001291/0.5038, allocations: 275.6 kB / 0.5206 GB, free: 200 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001586/0.5054, allocations: 0.4965 MB / 0.5211 GB, free: 15.69 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001371/0.5056, allocations: 39.98 kB / 0.5212 GB, free: 15.65 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009422/0.515, allocations: 7.693 MB / 0.5287 GB, free: 7.539 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.265e-06/0.515, allocations: 7.938 kB / 0.5287 GB, free: 7.531 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006901/0.5219, allocations: 3.825 MB / 0.5324 GB, free: 3.617 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001346/0.5232, allocations: 495.5 kB / 0.5329 GB, free: 3.113 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003797/0.5236, allocations: 40.05 kB / 0.5329 GB, free: 3.074 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001301/0.5249, allocations: 95.89 kB / 0.533 GB, free: 2.98 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003209/0.5253, allocations: 121 kB / 0.5331 GB, free: 2.863 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001118/0.5254, allocations: 43.98 kB / 0.5332 GB, free: 2.82 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002227/0.5276, allocations: 1.368 MB / 0.5345 GB, free: 1.43 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5276, allocations: 0 / 0.5345 GB, free: 1.43 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00205/0.5296, allocations: 0.5859 MB / 0.5351 GB, free: 0.8438 MB / 446.1 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.0004779/0.5301, allocations: 222.9 kB / 0.5353 GB, free: 0.6133 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.2044/0.7345, allocations: 2.509 MB / 0.5377 GB, free: 102.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.424e-06/0.7345, allocations: 1.781 kB / 0.5377 GB, free: 102.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002674/0.7372, allocations: 1.549 MB / 0.5393 GB, free: 101.7 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002531/0.7397, allocations: 494.8 kB / 0.5397 GB, free: 101.5 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008598/0.7483, allocations: 5.726 MB / 0.5453 GB, free: 98.83 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001446/0.7497, allocations: 2.144 MB / 0.5474 GB, free: 97.85 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001382/0.7511, allocations: 476.6 kB / 0.5479 GB, free: 97.78 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004668/0.7516, allocations: 134.3 kB / 0.548 GB, free: 97.77 MB / 446.1 MB Notification: Performance of SimCode: time 1.112e-06/0.7516, allocations: 0 / 0.548 GB, free: 97.77 MB / 446.1 MB Notification: Performance of Templates: time 0.04784/0.7994, allocations: 32.45 MB / 0.5797 GB, free: 68.85 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMEE_DOL/SMEE_DOL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.7600763300433755]