Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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_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_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 110.9 kB / 17.74 MB, free: 5.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 188.4 kB / 18.67 MB, free: 4.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.353/1.353, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001407/0.001407, allocations: 55.91 kB / 352 MB, free: 3.227 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3241/0.3256, allocations: 49.44 MB / 401.4 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator): time 0.01235/0.3379, allocations: 11.48 MB / 412.9 MB, free: 13.34 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007414/0.3454, allocations: 3.865 MB / 416.8 MB, free: 9.461 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00221/0.3476, allocations: 67.69 kB / 416.8 MB, free: 9.395 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00259/0.3503, allocations: 0.8345 MB / 417.7 MB, free: 8.551 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003295/0.3536, allocations: 0.9394 MB / 418.6 MB, free: 7.605 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001411/0.355, allocations: 0.511 MB / 419.1 MB, free: 7.094 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004127/0.3592, allocations: 3.211 MB / 422.3 MB, free: 3.867 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00306/0.3623, allocations: 2.578 MB / 424.9 MB, free: 1.227 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001938/0.3642, allocations: 1.437 MB / 426.3 MB, free: 15.79 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002462/0.3667, allocations: 1.81 MB / 428.2 MB, free: 13.97 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000673/0.3674, allocations: 392 kB / 428.5 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001267/0.3687, allocations: 0.6245 MB / 429.2 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009922/0.3697, allocations: 1.06 MB / 430.2 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002128/0.3718, allocations: 1.727 MB / 431.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005034/0.3769, allocations: 5.04 MB / 437 MB, free: 5.109 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.3769, allocations: 4 kB / 437 MB, free: 5.105 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3769, allocations: 0 / 437 MB, free: 5.105 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001074/0.3771, allocations: 0 / 437 MB, free: 5.105 MB / 350.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.007324/0.3844, allocations: 3.488 MB / 440.5 MB, free: 1.551 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.3844, allocations: 8.031 kB / 440.5 MB, free: 1.543 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001277/0.3857, allocations: 409 kB / 440.9 MB, free: 1.141 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003443/0.3892, allocations: 1.831 MB / 442.7 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001409/0.3893, allocations: 189.2 kB / 442.9 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004001/0.3897, allocations: 251.9 kB / 443.1 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006448/0.3962, allocations: 3.255 MB / 446.4 MB, free: 11.49 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.989e-05/0.3963, allocations: 3.938 kB / 446.4 MB, free: 11.48 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002893/0.3966, allocations: 104 kB / 446.5 MB, free: 11.38 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001309/0.3967, allocations: 116.9 kB / 446.6 MB, free: 11.27 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005552/0.4023, allocations: 2.701 MB / 449.3 MB, free: 8.551 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01755/0.4199, allocations: 10.25 MB / 459.6 MB, free: 13.97 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002374/0.4223, allocations: 1.784 MB / 461.4 MB, free: 12.07 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001888/0.4242, allocations: 1.045 MB / 462.4 MB, free: 11.02 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002756/0.4245, allocations: 207.2 kB / 462.6 MB, free: 10.79 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.799e-05/0.4245, allocations: 47.56 kB / 462.6 MB, free: 10.73 MB / 382.1 MB Notification: Performance of pre-optimization done (n=115): time 3.627e-06/0.4245, allocations: 4 kB / 462.7 MB, free: 10.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=134): time 0.0182/0.4428, allocations: 7.428 MB / 470.1 MB, free: 3.176 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.934e-05/0.4428, allocations: 64.72 kB / 470.1 MB, free: 3.102 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002649/0.4455, allocations: 1.872 MB / 472 MB, free: 1.23 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001488/0.4457, allocations: 45.7 kB / 472.1 MB, free: 1.18 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008441/0.4465, allocations: 1.249 MB / 473.3 MB, free: 15.91 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003902/0.4469, allocations: 465.3 kB / 473.8 MB, free: 15.45 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004646/0.4474, allocations: 299.3 kB / 474.1 MB, free: 15.15 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001035/0.4475, allocations: 309.1 kB / 474.4 MB, free: 14.85 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001381/0.4489, allocations: 0.812 MB / 475.2 MB, free: 14.04 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001663/0.4506, allocations: 1.312 MB / 476.5 MB, free: 12.51 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003211/0.4538, allocations: 2.254 MB / 478.7 MB, free: 10.04 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.067e-05/0.4538, allocations: 8 kB / 478.7 MB, free: 10.03 MB / 398.1 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.004891/0.4587, allocations: 2.795 MB / 481.5 MB, free: 7.199 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.729e-05/0.4588, allocations: 16.28 kB / 481.6 MB, free: 7.184 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.463e-05/0.4588, allocations: 16 kB / 481.6 MB, free: 7.168 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009994/0.4598, allocations: 418.1 kB / 482 MB, free: 6.75 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001508/0.4613, allocations: 399.3 kB / 482.4 MB, free: 6.359 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006094/0.4674, allocations: 5.798 MB / 488.2 MB, free: 288 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001687/0.4691, allocations: 127.8 kB / 488.3 MB, free: 160 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000158/0.4693, allocations: 71.98 kB / 488.4 MB, free: 88 kB / 398.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.001307/0.4706, allocations: 0.7824 MB / 489.1 MB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004181/0.4711, allocations: 197.6 kB / 489.3 MB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004242/0.4753, allocations: 2.391 MB / 491.7 MB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.239e-05/0.4754, allocations: 20 kB / 491.7 MB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/0.4754, allocations: 7.938 kB / 491.8 MB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.363e-05/0.4754, allocations: 3.984 kB / 491.8 MB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008718/0.4841, allocations: 5.272 MB / 497 MB, free: 7.207 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.758e-06/0.4842, allocations: 4 kB / 497 MB, free: 7.203 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001095/0.4853, allocations: 243.6 kB / 497.3 MB, free: 6.965 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001187/0.4865, allocations: 462.5 kB / 497.7 MB, free: 6.504 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001085/0.4866, allocations: 35.98 kB / 497.8 MB, free: 6.469 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007275/0.4939, allocations: 7.338 MB / 0.4933 GB, free: 14.71 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.933e-06/0.4939, allocations: 7.938 kB / 0.4933 GB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005926/0.4998, allocations: 3.574 MB / 0.4968 GB, free: 11.02 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009403/0.5008, allocations: 450.6 kB / 0.4972 GB, free: 10.56 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003099/0.5011, allocations: 35.97 kB / 0.4972 GB, free: 10.53 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001177/0.5023, allocations: 103.9 kB / 0.4973 GB, free: 10.43 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000254/0.5026, allocations: 112.7 kB / 0.4974 GB, free: 10.32 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.37e-05/0.5027, allocations: 39.98 kB / 0.4975 GB, free: 10.28 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001872/0.5046, allocations: 1.294 MB / 0.4987 GB, free: 8.992 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5046, allocations: 0 / 0.4987 GB, free: 8.992 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00181/0.5064, allocations: 0.543 MB / 0.4993 GB, free: 8.449 MB / 430.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.0004626/0.5069, allocations: 227.1 kB / 0.4995 GB, free: 8.219 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004128/0.511, allocations: 2.427 MB / 0.5018 GB, free: 5.742 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.193e-06/0.511, allocations: 4 kB / 0.5019 GB, free: 5.738 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002594/0.5136, allocations: 1.503 MB / 0.5033 GB, free: 4.195 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00239/0.516, allocations: 442.7 kB / 0.5037 GB, free: 3.766 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008364/0.5244, allocations: 5.136 MB / 0.5088 GB, free: 14.54 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001675/0.5261, allocations: 1.983 MB / 0.5107 GB, free: 12.52 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006935/0.5268, allocations: 143.4 kB / 0.5108 GB, free: 12.38 MB / 446.1 MB Notification: Performance of SimCode: time 6.51e-07/0.5268, allocations: 3.938 kB / 0.5108 GB, free: 12.38 MB / 446.1 MB Notification: Performance of Templates: time 0.2345/0.7614, allocations: 70.33 MB / 0.5795 GB, free: 99.47 MB / 462.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMEE_Generator/SMEE_Generator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches