Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.SynchronousInductionMachines.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_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.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_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001236/0.001237, allocations: 108.8 kB / 17.28 MB, free: 6.176 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.001034/0.001034, allocations: 189.3 kB / 18.2 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.82/1.82, allocations: 205.1 MB / 224.1 MB, free: 12.45 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00152/0.00152, allocations: 55.92 kB / 280.2 MB, free: 3.496 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1717/0.1733, allocations: 46.63 MB / 326.8 MB, free: 4.793 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator): time 0.01971/0.1931, allocations: 11.33 MB / 338.1 MB, free: 9.395 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0141/0.2073, allocations: 3.855 MB / 342 MB, free: 5.531 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004881/0.2122, allocations: 51.75 kB / 342 MB, free: 5.48 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004963/0.2173, allocations: 0.7267 MB / 342.8 MB, free: 4.746 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007388/0.2248, allocations: 0.8391 MB / 343.6 MB, free: 3.902 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0033/0.2281, allocations: 467.5 kB / 344.1 MB, free: 3.445 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.008546/0.2367, allocations: 3.214 MB / 347.3 MB, free: 220 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007562/0.2443, allocations: 2.546 MB / 349.8 MB, free: 13.61 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00503/0.2494, allocations: 1.437 MB / 351.2 MB, free: 12.17 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005938/0.2554, allocations: 1.841 MB / 353.1 MB, free: 10.32 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002724/0.2582, allocations: 384 kB / 353.5 MB, free: 9.945 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004164/0.2624, allocations: 0.6284 MB / 354.1 MB, free: 9.316 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00241/0.2648, allocations: 1.075 MB / 355.2 MB, free: 8.238 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003906/0.2688, allocations: 1.719 MB / 356.9 MB, free: 6.512 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00953/0.2783, allocations: 4.985 MB / 361.9 MB, free: 1.512 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.152e-05/0.2784, allocations: 8 kB / 361.9 MB, free: 1.504 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.2784, allocations: 0 / 361.9 MB, free: 1.504 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002559/0.2787, allocations: 4 kB / 361.9 MB, free: 1.5 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.01559/0.2943, allocations: 3.468 MB / 365.4 MB, free: 13.96 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.694e-05/0.2944, allocations: 11.97 kB / 365.4 MB, free: 13.95 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003536/0.2979, allocations: 413 kB / 365.8 MB, free: 13.55 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007264/0.3052, allocations: 1.714 MB / 367.5 MB, free: 11.78 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005113/0.3058, allocations: 201.3 kB / 367.7 MB, free: 11.58 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001865/0.3077, allocations: 252 kB / 367.9 MB, free: 11.33 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01528/0.323, allocations: 3.247 MB / 371.2 MB, free: 8.008 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002034/0.3233, allocations: 7.891 kB / 371.2 MB, free: 8 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001135/0.3244, allocations: 104 kB / 371.3 MB, free: 7.898 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002363/0.3247, allocations: 116.9 kB / 371.4 MB, free: 7.781 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008895/0.3336, allocations: 2.697 MB / 374.1 MB, free: 5.07 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3326/0.6662, allocations: 10.36 MB / 384.5 MB, free: 46.73 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003297/0.6696, allocations: 1.777 MB / 386.2 MB, free: 45.68 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00219/0.6718, allocations: 1.05 MB / 387.3 MB, free: 45.34 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003651/0.6722, allocations: 203.4 kB / 387.5 MB, free: 45.15 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.307e-05/0.6723, allocations: 45.39 kB / 387.5 MB, free: 45.1 MB / 318.1 MB Notification: Performance of pre-optimization done (n=115): time 1.003e-05/0.6723, allocations: 5.031 kB / 387.5 MB, free: 45.1 MB / 318.1 MB Notification: Performance of matching and sorting (n=134): time 0.02315/0.6954, allocations: 7.409 MB / 394.9 MB, free: 42.46 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.85e-05/0.6956, allocations: 71.06 kB / 395 MB, free: 42.4 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003305/0.6989, allocations: 1.874 MB / 396.9 MB, free: 41.42 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001746/0.6991, allocations: 49.58 kB / 396.9 MB, free: 41.37 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009011/0.7, allocations: 1.242 MB / 398.2 MB, free: 40.28 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003872/0.7004, allocations: 470.7 kB / 398.6 MB, free: 39.88 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004655/0.7009, allocations: 297 kB / 398.9 MB, free: 39.72 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.104e-05/0.7009, allocations: 305.1 kB / 399.2 MB, free: 39.42 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001185/0.7021, allocations: 0.8138 MB / 400 MB, free: 39.01 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001533/0.7037, allocations: 1.312 MB / 401.3 MB, free: 37.96 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002681/0.7064, allocations: 2.256 MB / 403.6 MB, free: 36.4 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.446e-06/0.7064, allocations: 7.25 kB / 403.6 MB, free: 36.4 MB / 318.1 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.004822/0.7112, allocations: 2.782 MB / 406.4 MB, free: 34.92 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.335e-05/0.7113, allocations: 16.78 kB / 406.4 MB, free: 34.91 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.299e-05/0.7113, allocations: 18.69 kB / 406.4 MB, free: 34.91 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00101/0.7123, allocations: 420.7 kB / 406.8 MB, free: 34.5 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001308/0.7137, allocations: 395.3 kB / 407.2 MB, free: 34.12 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004987/0.7187, allocations: 5.784 MB / 413 MB, free: 28.07 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00216/0.7208, allocations: 127.6 kB / 413.1 MB, free: 27.95 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001373/0.721, allocations: 72 kB / 413.2 MB, free: 27.88 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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.001675/0.7227, allocations: 0.79 MB / 414 MB, free: 27.08 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004243/0.7231, allocations: 197.6 kB / 414.2 MB, free: 26.89 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003546/0.7267, allocations: 2.385 MB / 416.6 MB, free: 24.46 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-05/0.7267, allocations: 15.98 kB / 416.6 MB, free: 24.45 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/0.7267, allocations: 7.812 kB / 416.6 MB, free: 24.45 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.178e-05/0.7267, allocations: 3.984 kB / 416.6 MB, free: 24.44 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007489/0.7342, allocations: 5.293 MB / 421.9 MB, free: 19.03 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.686e-06/0.7343, allocations: 4 kB / 421.9 MB, free: 19.02 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009264/0.7352, allocations: 247.6 kB / 422.1 MB, free: 18.78 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00101/0.7362, allocations: 470.8 kB / 422.6 MB, free: 18.32 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.649e-05/0.7363, allocations: 41.72 kB / 422.6 MB, free: 18.28 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00544/0.7418, allocations: 7.322 MB / 430 MB, free: 10.55 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.199e-06/0.7418, allocations: 11.11 kB / 430 MB, free: 10.54 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005221/0.747, allocations: 3.574 MB / 433.5 MB, free: 6.863 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001211/0.7482, allocations: 446.6 kB / 434 MB, free: 6.406 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005989/0.7489, allocations: 43.92 kB / 434 MB, free: 6.363 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001536/0.7504, allocations: 95.41 kB / 434.1 MB, free: 6.273 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002715/0.7507, allocations: 121.4 kB / 434.2 MB, free: 6.152 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001061/0.7508, allocations: 43.98 kB / 434.3 MB, free: 6.109 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.002174/0.753, allocations: 1.294 MB / 435.6 MB, free: 4.824 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.4e-07/0.753, allocations: 0 / 435.6 MB, free: 4.824 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002617/0.7556, allocations: 0.5388 MB / 436.1 MB, free: 4.289 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * 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 (116): * Single equations (assignments): 111 * 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.0005983/0.7562, allocations: 215.6 kB / 436.3 MB, free: 4.078 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.006005/0.7622, allocations: 2.975 MB / 439.3 MB, free: 1.074 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.09e-05/0.7623, allocations: 0 / 439.3 MB, free: 1.074 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002855/0.7651, allocations: 1.51 MB / 440.8 MB, free: 15.53 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004589/0.7698, allocations: 452.2 kB / 441.2 MB, free: 15.09 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01632/0.7861, allocations: 6.276 MB / 447.5 MB, free: 8.742 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004017/0.7902, allocations: 2.016 MB / 449.5 MB, free: 6.691 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.002443/0.7927, allocations: 423.7 kB / 450 MB, free: 6.273 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000817/0.7936, allocations: 135.4 kB / 450.1 MB, free: 6.141 MB / 334.1 MB Notification: Performance of SimCode: time 2.244e-06/0.7936, allocations: 0 / 450.1 MB, free: 6.141 MB / 334.1 MB Notification: Performance of Templates: time 0.06747/0.8611, allocations: 27.87 MB / 478 MB, free: 10.25 MB / 366.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/SynchronousInductionMachines/SMEE_Generator/SMEE_Generator.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches