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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=60000,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=60000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009394/0.0009397, allocations: 94.05 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001024/0.001024, allocations: 200.3 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.38/1.38, allocations: 227.2 MB / 245.9 MB, free: 10.32 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003613/0.0003617, allocations: 4 kB / 306.6 MB, free: 1.406 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1233, allocations: 51.5 MB / 358.1 MB, free: 13.9 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL): time 0.01142/0.1348, allocations: 9.607 MB / 367.7 MB, free: 4.254 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008745/0.1436, allocations: 3.889 MB / 371.6 MB, free: 364 kB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00259/0.1462, allocations: 55.75 kB / 371.6 MB, free: 308 kB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.1886/0.3348, allocations: 0.6855 MB / 372.3 MB, free: 10.13 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003579/0.3384, allocations: 0.8529 MB / 373.2 MB, free: 10.12 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001167/0.3396, allocations: 344.6 kB / 373.5 MB, free: 10.12 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004342/0.344, allocations: 2.234 MB / 375.7 MB, free: 10.12 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002433/0.3464, allocations: 1.835 MB / 377.6 MB, free: 9.805 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002135/0.3486, allocations: 1.077 MB / 378.6 MB, free: 9.805 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002969/0.3515, allocations: 1.404 MB / 380 MB, free: 9.801 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000645/0.3522, allocations: 169.4 kB / 380.2 MB, free: 9.801 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001328/0.3535, allocations: 372.8 kB / 380.6 MB, free: 9.801 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008805/0.3544, allocations: 0.8201 MB / 381.4 MB, free: 9.707 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009384/0.3554, allocations: 0.627 MB / 382 MB, free: 9.57 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0041/0.3595, allocations: 4.259 MB / 386.3 MB, free: 8.305 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.3595, allocations: 1.25 kB / 386.3 MB, free: 8.305 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.3595, allocations: 0 / 386.3 MB, free: 8.305 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001143/0.3596, allocations: 0 / 386.3 MB, free: 8.305 MB / 302.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.006533/0.3662, allocations: 3.188 MB / 389.5 MB, free: 6.434 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.3662, allocations: 12.27 kB / 389.5 MB, free: 6.43 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001705/0.3679, allocations: 476.7 kB / 390 MB, free: 6.219 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003283/0.3712, allocations: 1.864 MB / 391.8 MB, free: 5.43 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001617/0.3714, allocations: 211.3 kB / 392 MB, free: 5.418 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000362/0.3718, allocations: 264.1 kB / 392.3 MB, free: 5.418 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005616/0.3774, allocations: 3.501 MB / 395.8 MB, free: 4.062 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.829e-05/0.3775, allocations: 6.5 kB / 395.8 MB, free: 4.059 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002355/0.3777, allocations: 111.2 kB / 395.9 MB, free: 3.977 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001235/0.3778, allocations: 122.9 kB / 396 MB, free: 3.957 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0044/0.3823, allocations: 2.986 MB / 399 MB, free: 2.43 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01826/0.4005, allocations: 11.14 MB / 410.1 MB, free: 7.465 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002755/0.4033, allocations: 2.298 MB / 412.4 MB, free: 5.008 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003097/0.4037, allocations: 210.7 kB / 412.6 MB, free: 4.77 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.317e-05/0.4037, allocations: 43.88 kB / 412.7 MB, free: 4.719 MB / 318.1 MB Notification: Performance of pre-optimization done (n=131): time 3.426e-06/0.4037, allocations: 4 kB / 412.7 MB, free: 4.715 MB / 318.1 MB Notification: Performance of matching and sorting (n=148): time 0.01573/0.4194, allocations: 7.762 MB / 420.5 MB, free: 12.78 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.014e-05/0.4195, allocations: 64.72 kB / 420.5 MB, free: 12.71 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002901/0.4224, allocations: 1.958 MB / 422.5 MB, free: 10.71 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001229/0.4226, allocations: 53.7 kB / 422.5 MB, free: 10.65 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008917/0.4235, allocations: 1.321 MB / 423.8 MB, free: 9.324 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003951/0.4239, allocations: 0.4981 MB / 424.3 MB, free: 8.828 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.391e-05/0.424, allocations: 36 kB / 424.4 MB, free: 8.793 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001685/0.4241, allocations: 377.8 kB / 424.7 MB, free: 8.418 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001392/0.4255, allocations: 0.8979 MB / 425.6 MB, free: 7.52 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001698/0.4273, allocations: 1.368 MB / 427 MB, free: 5.949 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001628/0.4289, allocations: 1.096 MB / 428.1 MB, free: 4.855 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.747e-06/0.4289, allocations: 4 kB / 428.1 MB, free: 4.852 MB / 334.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.004671/0.4336, allocations: 2.981 MB / 431.1 MB, free: 1.836 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.982e-05/0.4336, allocations: 12 kB / 431.1 MB, free: 1.824 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.116e-05/0.4337, allocations: 16 kB / 431.1 MB, free: 1.809 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009844/0.4347, allocations: 430.2 kB / 431.5 MB, free: 1.379 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001549/0.4362, allocations: 455.3 kB / 432 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005921/0.4422, allocations: 5.482 MB / 437.5 MB, free: 11.19 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001842/0.444, allocations: 133.9 kB / 437.6 MB, free: 11.06 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001552/0.4442, allocations: 71.98 kB / 437.7 MB, free: 10.99 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * 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 (202): * Single equations (assignments): 197 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,100.0%) 16,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001659/0.4459, allocations: 0.8563 MB / 438.5 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004565/0.4463, allocations: 217.4 kB / 438.7 MB, free: 9.91 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004235/0.4506, allocations: 2.587 MB / 441.3 MB, free: 7.281 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.425e-05/0.4506, allocations: 16 kB / 441.3 MB, free: 7.266 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.899e-06/0.4506, allocations: 7.953 kB / 441.4 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.524e-05/0.4507, allocations: 7.969 kB / 441.4 MB, free: 7.25 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01009/0.4608, allocations: 5.634 MB / 447 MB, free: 1.516 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.386e-06/0.4608, allocations: 0 / 447 MB, free: 1.516 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001201/0.462, allocations: 299.5 kB / 447.3 MB, free: 1.223 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001215/0.4632, allocations: 474 kB / 447.7 MB, free: 0.75 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000103/0.4633, allocations: 39.98 kB / 447.8 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006917/0.4703, allocations: 6.975 MB / 454.8 MB, free: 9.328 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.621e-06/0.4703, allocations: 7.953 kB / 454.8 MB, free: 9.32 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006123/0.4764, allocations: 4.075 MB / 458.8 MB, free: 5.051 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001337/0.4778, allocations: 484.6 kB / 459.3 MB, free: 4.559 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003029/0.4781, allocations: 35.95 kB / 459.4 MB, free: 4.523 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001121/0.4792, allocations: 111.9 kB / 459.5 MB, free: 4.414 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002744/0.4795, allocations: 121.1 kB / 459.6 MB, free: 4.293 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001062/0.4796, allocations: 47.98 kB / 459.6 MB, free: 4.246 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.002089/0.4817, allocations: 1.34 MB / 461 MB, free: 2.883 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.4817, allocations: 0 / 461 MB, free: 2.883 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002012/0.4838, allocations: 0.5859 MB / 461.6 MB, free: 2.297 MB / 366.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 (128): * Single equations (assignments): 123 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,100.0%) 16,(1,100.0%) 3,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003796/0.4841, allocations: 185.5 kB / 461.7 MB, free: 2.113 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00402/0.4882, allocations: 2.605 MB / 464.3 MB, free: 15.46 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.113e-06/0.4882, allocations: 4.062 kB / 464.3 MB, free: 15.46 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002409/0.4906, allocations: 1.601 MB / 465.9 MB, free: 13.82 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002298/0.4929, allocations: 469.1 kB / 466.4 MB, free: 13.37 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009697/0.5026, allocations: 6.675 MB / 473.1 MB, free: 6.633 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001872/0.5045, allocations: 2.19 MB / 475.3 MB, free: 4.406 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001546/0.5061, allocations: 477 kB / 475.7 MB, free: 3.938 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004386/0.5065, allocations: 143.4 kB / 475.9 MB, free: 3.801 MB / 382.1 MB Notification: Performance of SimCode: time 9.42e-07/0.5066, allocations: 0 / 475.9 MB, free: 3.801 MB / 382.1 MB Notification: Performance of Templates: time 0.04825/0.5548, allocations: 28.44 MB / 0.4925 GB, free: 7.656 MB / 414.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.makefile (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) 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.0.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMEE_DOL/SMEE_DOL.csv","../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches