Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.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_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|constantSpeed.phi|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|constantSpeed.phi|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001399/0.001398, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001673/0.001673, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.357/1.357, allocations: 227.4 MB / 246.8 MB, free: 10.64 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001145/0.001145, allocations: 59.72 kB / 306.9 MB, free: 0.6719 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09991/0.1011, allocations: 50.54 MB / 357.5 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator): time 0.01262/0.1137, allocations: 11.49 MB / 369 MB, free: 2.57 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1766/0.2904, allocations: 3.933 MB / 372.9 MB, free: 10.11 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002509/0.293, allocations: 65.97 kB / 373 MB, free: 10.11 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002368/0.2954, allocations: 0.8348 MB / 373.8 MB, free: 10.1 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003285/0.2987, allocations: 0.9532 MB / 374.8 MB, free: 10.07 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001182/0.2999, allocations: 0.5068 MB / 375.3 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003801/0.3037, allocations: 3.212 MB / 378.5 MB, free: 9.359 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002932/0.3066, allocations: 2.586 MB / 381.1 MB, free: 8.387 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002332/0.309, allocations: 1.434 MB / 382.5 MB, free: 7.719 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002674/0.3117, allocations: 1.822 MB / 384.3 MB, free: 6.906 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006327/0.3123, allocations: 387.3 kB / 384.7 MB, free: 6.906 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001342/0.3137, allocations: 0.6053 MB / 385.3 MB, free: 6.848 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001013/0.3147, allocations: 1.068 MB / 386.4 MB, free: 6.27 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001866/0.3166, allocations: 1.729 MB / 388.1 MB, free: 5.148 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004865/0.3214, allocations: 4.998 MB / 393.1 MB, free: 2.348 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.3215, allocations: 3.984 kB / 393.1 MB, free: 2.344 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.3215, allocations: 5.312 kB / 393.1 MB, free: 2.34 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001008/0.3216, allocations: 0 / 393.1 MB, free: 2.34 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: 656 * Number of variables: 656 Notification: Performance of Generate backend data structure: time 0.006828/0.3284, allocations: 3.493 MB / 396.6 MB, free: 15.99 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.3285, allocations: 9.625 kB / 396.6 MB, free: 15.99 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001674/0.3301, allocations: 443.3 kB / 397 MB, free: 15.79 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002848/0.333, allocations: 1.803 MB / 398.8 MB, free: 14.52 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001544/0.3332, allocations: 200.5 kB / 399 MB, free: 14.43 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003331/0.3335, allocations: 257.9 kB / 399.3 MB, free: 14.34 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004982/0.3385, allocations: 3.249 MB / 402.5 MB, free: 12.1 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.519e-05/0.3386, allocations: 11.89 kB / 402.6 MB, free: 12.09 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002261/0.3388, allocations: 100 kB / 402.7 MB, free: 11.99 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001272/0.3389, allocations: 112.9 kB / 402.8 MB, free: 11.88 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004542/0.3435, allocations: 2.701 MB / 405.5 MB, free: 9.16 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02498/0.3685, allocations: 10.38 MB / 415.8 MB, free: 14.53 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003633/0.3722, allocations: 1.766 MB / 417.6 MB, free: 12.65 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00311/0.3753, allocations: 1.056 MB / 418.7 MB, free: 11.59 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004972/0.3759, allocations: 210.6 kB / 418.9 MB, free: 11.35 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.91e-05/0.3759, allocations: 47.5 kB / 418.9 MB, free: 11.3 MB / 334.1 MB Notification: Performance of pre-optimization done (n=115): time 5.942e-06/0.376, allocations: 0 / 418.9 MB, free: 11.3 MB / 334.1 MB Notification: Performance of matching and sorting (n=134): time 0.03314/0.4091, allocations: 7.421 MB / 426.3 MB, free: 3.762 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.708e-05/0.4092, allocations: 64.72 kB / 426.4 MB, free: 3.684 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005303/0.4145, allocations: 1.893 MB / 428.3 MB, free: 1.793 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001996/0.4148, allocations: 45.7 kB / 428.3 MB, free: 1.742 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00157/0.4164, allocations: 1.248 MB / 429.6 MB, free: 496 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007483/0.4171, allocations: 470.2 kB / 430 MB, free: 28 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009325/0.4181, allocations: 295.5 kB / 430.3 MB, free: 15.74 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001638/0.4183, allocations: 301.1 kB / 430.6 MB, free: 15.45 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002655/0.4209, allocations: 0.8198 MB / 431.4 MB, free: 14.62 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003291/0.4243, allocations: 1.304 MB / 432.8 MB, free: 13.11 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006419/0.4307, allocations: 2.259 MB / 435 MB, free: 10.64 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-05/0.4307, allocations: 4 kB / 435 MB, free: 10.63 MB / 350.1 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.009797/0.4405, allocations: 2.789 MB / 437.8 MB, free: 7.809 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.35e-05/0.4406, allocations: 15.28 kB / 437.8 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.497e-05/0.4407, allocations: 16 kB / 437.8 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001887/0.4426, allocations: 427.5 kB / 438.3 MB, free: 7.355 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002942/0.4455, allocations: 403.3 kB / 438.6 MB, free: 6.961 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01065/0.4562, allocations: 5.793 MB / 444.4 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003001/0.4592, allocations: 139.7 kB / 444.6 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003111/0.4596, allocations: 68 kB / 444.6 MB, free: 0.6953 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 70 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (187): * Single equations (assignments): 182 * 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,12,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002332/0.4619, allocations: 0.7978 MB / 445.4 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008604/0.4628, allocations: 193.7 kB / 445.6 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006997/0.4698, allocations: 2.394 MB / 448 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.305e-05/0.4699, allocations: 15.98 kB / 448 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.526e-05/0.4699, allocations: 4 kB / 448 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.41e-05/0.47, allocations: 11.86 kB / 448.1 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01515/0.4851, allocations: 5.293 MB / 453.3 MB, free: 7.824 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.577e-05/0.4852, allocations: 4 kB / 453.3 MB, free: 7.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002016/0.4872, allocations: 247.6 kB / 453.6 MB, free: 7.578 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001895/0.4891, allocations: 466 kB / 454 MB, free: 7.113 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001495/0.4893, allocations: 31.98 kB / 454.1 MB, free: 7.082 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008613/0.4979, allocations: 7.345 MB / 461.4 MB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.786e-06/0.498, allocations: 11.97 kB / 461.4 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006424/0.5044, allocations: 3.575 MB / 465 MB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001326/0.5057, allocations: 446.6 kB / 465.4 MB, free: 11.18 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004997/0.5063, allocations: 31.98 kB / 465.5 MB, free: 11.15 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001273/0.5075, allocations: 103.9 kB / 465.6 MB, free: 11.05 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002567/0.5078, allocations: 108.7 kB / 465.7 MB, free: 10.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.072e-05/0.5079, allocations: 44.11 kB / 465.7 MB, free: 10.9 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00199/0.5099, allocations: 1.299 MB / 467 MB, free: 9.613 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.5099, allocations: 0 / 467 MB, free: 9.613 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002043/0.512, allocations: 0.5391 MB / 467.6 MB, free: 9.074 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 5 (smee.phiMechanical,smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[2],smee.idq_dr[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 110 * 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,12,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.0005014/0.5125, allocations: 222.3 kB / 467.8 MB, free: 8.852 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005352/0.5178, allocations: 2.987 MB / 470.8 MB, free: 5.816 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.5179, allocations: 0 / 470.8 MB, free: 5.816 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002477/0.5204, allocations: 1.513 MB / 472.3 MB, free: 4.27 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002298/0.5227, allocations: 457.2 kB / 472.7 MB, free: 3.836 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008053/0.5307, allocations: 5.163 MB / 477.9 MB, free: 14.59 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001722/0.5325, allocations: 2.018 MB / 479.9 MB, free: 12.54 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.00146/0.5339, allocations: 427.8 kB / 480.3 MB, free: 12.11 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004057/0.5344, allocations: 139.3 kB / 480.5 MB, free: 11.98 MB / 398.1 MB Notification: Performance of SimCode: time 5.21e-07/0.5344, allocations: 0 / 480.5 MB, free: 11.98 MB / 398.1 MB Notification: Performance of Templates: time 0.05169/0.5861, allocations: 28.02 MB / 0.4966 GB, free: 232 kB / 414.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMEE_Generator/SMEE_Generator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches