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.001332/0.001332, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001464/0.001464, allocations: 209.3 kB / 24.48 MB, free: 3.934 MB / 14.72 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.47/1.47, allocations: 230.5 MB / 258.1 MB, free: 7.793 MB / 206.1 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 0.002203/0.002203, allocations: 67.89 kB / 379 MB, free: 2.316 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3542/0.3564, allocations: 53.42 MB / 432.4 MB, free: 6.531 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL): time 0.01494/0.3714, allocations: 10.42 MB / 442.8 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008864/0.3802, allocations: 3.768 MB / 446.6 MB, free: 8.289 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002152/0.3824, allocations: 79.5 kB / 446.7 MB, free: 8.211 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002574/0.3849, allocations: 0.8579 MB / 447.5 MB, free: 7.352 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003478/0.3884, allocations: 1.033 MB / 448.6 MB, free: 6.312 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00139/0.3898, allocations: 0.5344 MB / 449.1 MB, free: 5.777 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004687/0.3945, allocations: 3.471 MB / 452.6 MB, free: 2.293 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002264/0.3968, allocations: 1.479 MB / 454.1 MB, free: 0.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002542/0.3993, allocations: 1.592 MB / 455.6 MB, free: 15.15 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00324/0.4025, allocations: 1.872 MB / 457.5 MB, free: 13.27 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007452/0.4033, allocations: 408 kB / 457.9 MB, free: 12.88 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001492/0.4048, allocations: 0.6284 MB / 458.5 MB, free: 12.25 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00123/0.406, allocations: 1.161 MB / 459.7 MB, free: 11.08 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001955/0.408, allocations: 1.494 MB / 461.2 MB, free: 9.582 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0067/0.4147, allocations: 5.426 MB / 466.6 MB, free: 4.137 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.4147, allocations: 0 / 466.6 MB, free: 4.137 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.4147, allocations: 0 / 466.6 MB, free: 4.137 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001405/0.4148, allocations: 4 kB / 466.6 MB, free: 4.133 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.008819/0.4236, allocations: 3.738 MB / 470.4 MB, free: 352 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.879e-05/0.4237, allocations: 15.98 kB / 470.4 MB, free: 336 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001792/0.4255, allocations: 490.5 kB / 470.9 MB, free: 15.85 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004129/0.4296, allocations: 1.918 MB / 472.8 MB, free: 13.89 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001819/0.4298, allocations: 201.4 kB / 473 MB, free: 13.69 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004465/0.4302, allocations: 264 kB / 473.2 MB, free: 13.43 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006554/0.4368, allocations: 3.65 MB / 476.9 MB, free: 9.672 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.687e-05/0.4369, allocations: 4 kB / 476.9 MB, free: 9.668 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002464/0.4371, allocations: 108 kB / 477 MB, free: 9.562 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001512/0.4373, allocations: 125.2 kB / 477.1 MB, free: 9.438 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005612/0.4429, allocations: 2.972 MB / 480.1 MB, free: 6.453 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01821/0.4611, allocations: 9.569 MB / 489.7 MB, free: 12.56 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003894/0.465, allocations: 1.502 MB / 491.2 MB, free: 11.07 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002746/0.4677, allocations: 1.083 MB / 492.2 MB, free: 9.984 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003033/0.468, allocations: 53.27 kB / 492.3 MB, free: 9.934 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.127e-05/0.4681, allocations: 47.88 kB / 492.3 MB, free: 9.875 MB / 398.1 MB Notification: Performance of pre-optimization done (n=130): time 5.42e-06/0.4681, allocations: 4 kB / 492.3 MB, free: 9.871 MB / 398.1 MB Notification: Performance of matching and sorting (n=147): time 0.02436/0.4924, allocations: 7.022 MB / 499.4 MB, free: 2.824 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.024e-05/0.4925, allocations: 64.72 kB / 499.4 MB, free: 2.75 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005286/0.4978, allocations: 1.835 MB / 0.4895 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002824/0.4981, allocations: 45.7 kB / 0.4896 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00173/0.4998, allocations: 1.361 MB / 0.4909 GB, free: 15.49 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000901/0.5007, allocations: 0.5229 MB / 0.4914 GB, free: 14.96 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000988/0.5017, allocations: 331.4 kB / 0.4917 GB, free: 14.63 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001659/0.5019, allocations: 301.1 kB / 0.492 GB, free: 14.33 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002366/0.5042, allocations: 0.8862 MB / 0.4929 GB, free: 13.45 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003351/0.5076, allocations: 1.372 MB / 0.4942 GB, free: 11.87 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005609/0.5132, allocations: 2.377 MB / 0.4965 GB, free: 9.281 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.413e-05/0.5132, allocations: 8 kB / 0.4965 GB, free: 9.273 MB / 414.1 MB Notification: Performance of matching and sorting (n=225) (initialization): time 0.008918/0.5221, allocations: 2.88 MB / 0.4993 GB, free: 6.375 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.97e-05/0.5222, allocations: 15.94 kB / 0.4994 GB, free: 6.359 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.024e-05/0.5222, allocations: 12 kB / 0.4994 GB, free: 6.348 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00174/0.524, allocations: 466.5 kB / 0.4998 GB, free: 5.883 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002479/0.5264, allocations: 423.3 kB / 0.5002 GB, free: 5.469 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009863/0.5363, allocations: 5.795 MB / 0.5059 GB, free: 15.48 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002075/0.5384, allocations: 123.8 kB / 0.506 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003557/0.5387, allocations: 76 kB / 0.5061 GB, free: 15.29 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 (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.002096/0.5408, allocations: 0.8557 MB / 0.5069 GB, free: 14.42 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008008/0.5416, allocations: 206.7 kB / 0.5071 GB, free: 14.22 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005474/0.5471, allocations: 2.483 MB / 0.5095 GB, free: 11.71 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.952e-05/0.5472, allocations: 16 kB / 0.5095 GB, free: 11.7 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.685e-05/0.5472, allocations: 11.88 kB / 0.5096 GB, free: 11.68 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.103e-05/0.5472, allocations: 11.97 kB / 0.5096 GB, free: 11.67 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01182/0.559, allocations: 4.838 MB / 0.5143 GB, free: 6.73 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-05/0.559, allocations: 0 / 0.5143 GB, free: 6.73 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001395/0.5604, allocations: 284 kB / 0.5146 GB, free: 6.453 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001668/0.5621, allocations: 0.4926 MB / 0.515 GB, free: 5.953 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001573/0.5623, allocations: 39.97 kB / 0.5151 GB, free: 5.914 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009365/0.5716, allocations: 7.237 MB / 0.5222 GB, free: 14.37 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.64e-06/0.5716, allocations: 4.141 kB / 0.5222 GB, free: 14.36 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007722/0.5793, allocations: 3.745 MB / 0.5258 GB, free: 10.55 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001687/0.581, allocations: 394.5 kB / 0.5262 GB, free: 10.16 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006501/0.5817, allocations: 36 kB / 0.5262 GB, free: 10.13 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001588/0.5833, allocations: 95.88 kB / 0.5263 GB, free: 10.04 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003639/0.5836, allocations: 129 kB / 0.5264 GB, free: 9.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001348/0.5838, allocations: 43.98 kB / 0.5265 GB, free: 9.867 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002871/0.5866, allocations: 1.239 MB / 0.5277 GB, free: 8.637 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5866, allocations: 3.938 kB / 0.5277 GB, free: 8.633 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002748/0.5894, allocations: 0.582 MB / 0.5283 GB, free: 8.051 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 (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.0006243/0.59, allocations: 222.8 kB / 0.5285 GB, free: 7.82 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005234/0.5953, allocations: 2.437 MB / 0.5309 GB, free: 5.352 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.905e-06/0.5953, allocations: 1.938 kB / 0.5309 GB, free: 5.352 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003205/0.5985, allocations: 1.544 MB / 0.5324 GB, free: 3.77 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00313/0.6016, allocations: 428.9 kB / 0.5328 GB, free: 3.352 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2212/0.8228, allocations: 5.728 MB / 0.5384 GB, free: 100 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002149/0.825, allocations: 1.551 MB / 0.5399 GB, free: 99.84 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008136/0.8258, allocations: 143.5 kB / 0.54 GB, free: 99.84 MB / 446.1 MB Notification: Performance of SimCode: time 1.432e-06/0.8258, allocations: 1.781 kB / 0.54 GB, free: 99.84 MB / 446.1 MB Notification: Performance of Templates: time 0.06419/0.89, allocations: 75.73 MB / 0.614 GB, free: 31.73 MB / 446.1 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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/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: 14.217137387022376]