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.001499/0.001499, allocations: 109.4 kB / 18.4 MB, free: 4.703 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.001703/0.001703, allocations: 193.2 kB / 19.33 MB, free: 3.781 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.246/1.246, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.001162/0.001163, allocations: 51.92 kB / 329.2 MB, free: 3.293 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07449/0.07566, allocations: 46.62 MB / 375.8 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator): time 0.1596/0.2353, allocations: 11.42 MB / 387.2 MB, free: 6.941 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006226/0.2415, allocations: 3.914 MB / 391.2 MB, free: 4.465 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001694/0.2433, allocations: 52.22 kB / 391.2 MB, free: 4.453 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001949/0.2453, allocations: 0.8381 MB / 392.1 MB, free: 4.016 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002485/0.2478, allocations: 0.9447 MB / 393 MB, free: 3.406 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001097/0.2489, allocations: 0.5113 MB / 393.5 MB, free: 3.094 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003058/0.2519, allocations: 3.215 MB / 396.7 MB, free: 1.477 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002583/0.2545, allocations: 2.551 MB / 399.3 MB, free: 380 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002112/0.2567, allocations: 1.434 MB / 400.7 MB, free: 15.67 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003015/0.2597, allocations: 1.809 MB / 402.5 MB, free: 14.82 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006322/0.2603, allocations: 386.6 kB / 402.9 MB, free: 14.82 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001477/0.2618, allocations: 0.6293 MB / 403.5 MB, free: 14.73 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001081/0.2629, allocations: 1.065 MB / 404.6 MB, free: 14.14 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001992/0.2649, allocations: 1.721 MB / 406.3 MB, free: 13.02 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005251/0.2702, allocations: 5.048 MB / 411.4 MB, free: 9.523 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.2702, allocations: 1.344 kB / 411.4 MB, free: 9.523 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.2702, allocations: 0 / 411.4 MB, free: 9.523 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.859e-05/0.2703, allocations: 0 / 411.4 MB, free: 9.523 MB / 334.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.006833/0.2772, allocations: 3.475 MB / 414.8 MB, free: 7.152 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.2772, allocations: 15.08 kB / 414.8 MB, free: 7.148 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00134/0.2786, allocations: 408.5 kB / 415.2 MB, free: 6.961 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002803/0.2814, allocations: 1.727 MB / 417 MB, free: 5.727 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001283/0.2815, allocations: 191.1 kB / 417.2 MB, free: 5.637 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003634/0.2819, allocations: 269 kB / 417.4 MB, free: 5.535 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005148/0.287, allocations: 3.243 MB / 420.7 MB, free: 2.551 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.218e-05/0.2871, allocations: 4 kB / 420.7 MB, free: 2.547 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002307/0.2873, allocations: 108 kB / 420.8 MB, free: 2.441 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001341/0.2875, allocations: 116.9 kB / 420.9 MB, free: 2.324 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004456/0.292, allocations: 2.69 MB / 423.6 MB, free: 15.62 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01466/0.3066, allocations: 10.25 MB / 433.8 MB, free: 5.035 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002098/0.3088, allocations: 1.778 MB / 435.6 MB, free: 3.141 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001681/0.3105, allocations: 1.049 MB / 436.7 MB, free: 2.09 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002697/0.3107, allocations: 203.2 kB / 436.9 MB, free: 1.855 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.565e-05/0.3108, allocations: 55.5 kB / 436.9 MB, free: 1.789 MB / 350.1 MB Notification: Performance of pre-optimization done (n=115): time 3.496e-06/0.3108, allocations: 0 / 436.9 MB, free: 1.789 MB / 350.1 MB Notification: Performance of matching and sorting (n=134): time 0.01671/0.3275, allocations: 7.401 MB / 444.3 MB, free: 10.27 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.768e-05/0.3276, allocations: 68.72 kB / 444.4 MB, free: 10.19 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002516/0.3301, allocations: 1.873 MB / 446.3 MB, free: 8.316 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.933e-05/0.3302, allocations: 49.7 kB / 446.3 MB, free: 8.262 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007982/0.331, allocations: 1.245 MB / 447.5 MB, free: 7 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003373/0.3314, allocations: 473.2 kB / 448 MB, free: 6.531 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004509/0.3318, allocations: 291.3 kB / 448.3 MB, free: 6.238 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.617e-05/0.3319, allocations: 301.1 kB / 448.6 MB, free: 5.941 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001318/0.3332, allocations: 0.8198 MB / 449.4 MB, free: 5.121 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001599/0.3348, allocations: 1.309 MB / 450.7 MB, free: 3.586 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002984/0.3378, allocations: 2.259 MB / 453 MB, free: 1.113 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.925e-06/0.3379, allocations: 4 kB / 453 MB, free: 1.109 MB / 366.1 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.00465/0.3425, allocations: 2.783 MB / 455.8 MB, free: 14.29 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.479e-05/0.3426, allocations: 16.03 kB / 455.8 MB, free: 14.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.123e-05/0.3426, allocations: 19.94 kB / 455.8 MB, free: 14.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009683/0.3436, allocations: 422.2 kB / 456.2 MB, free: 13.83 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001452/0.345, allocations: 395.3 kB / 456.6 MB, free: 13.45 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005736/0.3508, allocations: 5.786 MB / 462.4 MB, free: 7.383 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001807/0.3526, allocations: 123.8 kB / 462.5 MB, free: 7.262 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001723/0.3528, allocations: 72.06 kB / 462.6 MB, free: 7.191 MB / 382.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.001327/0.3541, allocations: 0.7901 MB / 463.4 MB, free: 6.391 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004357/0.3546, allocations: 205.6 kB / 463.6 MB, free: 6.188 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004023/0.3586, allocations: 2.375 MB / 465.9 MB, free: 3.77 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.32e-05/0.3587, allocations: 16 kB / 466 MB, free: 3.754 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.206e-06/0.3587, allocations: 4 kB / 466 MB, free: 3.75 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.462e-05/0.3587, allocations: 11.91 kB / 466 MB, free: 3.738 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008454/0.3671, allocations: 5.262 MB / 471.2 MB, free: 14.31 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.799e-06/0.3672, allocations: 4 kB / 471.2 MB, free: 14.31 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001056/0.3682, allocations: 251.6 kB / 471.5 MB, free: 14.06 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001196/0.3695, allocations: 466.4 kB / 471.9 MB, free: 13.6 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.743e-05/0.3696, allocations: 39.98 kB / 472 MB, free: 13.56 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006724/0.3763, allocations: 7.311 MB / 479.3 MB, free: 5.82 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.809e-06/0.3763, allocations: 19.91 kB / 479.3 MB, free: 5.801 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005528/0.3819, allocations: 3.575 MB / 482.9 MB, free: 2.117 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001024/0.3829, allocations: 450.6 kB / 483.3 MB, free: 1.656 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003236/0.3833, allocations: 36 kB / 483.4 MB, free: 1.621 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001195/0.3845, allocations: 99.88 kB / 483.5 MB, free: 1.523 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002545/0.3847, allocations: 116.8 kB / 483.6 MB, free: 1.41 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001035/0.3848, allocations: 51.91 kB / 483.6 MB, free: 1.359 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00183/0.3867, allocations: 1.291 MB / 484.9 MB, free: 80 kB / 398.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3867, allocations: 0 / 484.9 MB, free: 80 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.002012/0.3887, allocations: 0.543 MB / 485.5 MB, free: 15.53 MB / 414.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.0004837/0.3892, allocations: 222.7 kB / 485.7 MB, free: 15.31 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003873/0.3931, allocations: 2.424 MB / 488.1 MB, free: 12.84 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.3931, allocations: 0 / 488.1 MB, free: 12.84 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002405/0.3955, allocations: 1.518 MB / 489.6 MB, free: 11.29 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002248/0.3978, allocations: 458.7 kB / 490.1 MB, free: 10.84 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008027/0.4058, allocations: 5.141 MB / 495.2 MB, free: 5.602 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001582/0.4074, allocations: 1.987 MB / 497.2 MB, free: 3.582 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006507/0.4081, allocations: 143.4 kB / 497.3 MB, free: 3.441 MB / 414.1 MB Notification: Performance of SimCode: time 5.61e-07/0.4081, allocations: 0 / 497.3 MB, free: 3.441 MB / 414.1 MB Notification: Performance of Templates: time 0.2228/0.631, allocations: 70.69 MB / 0.5547 GB, free: 156.2 MB / 478.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/SynchronousInductionMachines/SMEE_Generator/SMEE_Generator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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