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.001577/0.001577, allocations: 113.2 kB / 17.73 MB, free: 5.32 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.001583/0.001584, allocations: 184.2 kB / 18.66 MB, free: 4.398 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.981/1.981, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.002788/0.002788, allocations: 47.94 kB / 328.5 MB, free: 3.285 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1729/0.1757, allocations: 46.63 MB / 375.2 MB, free: 4.547 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator): time 0.2823/0.4581, allocations: 11.42 MB / 386.6 MB, free: 6.898 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01054/0.4687, allocations: 3.92 MB / 390.5 MB, free: 4.441 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003386/0.4721, allocations: 52.31 kB / 390.5 MB, free: 4.43 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003554/0.4758, allocations: 0.8563 MB / 391.4 MB, free: 3.98 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005102/0.4809, allocations: 0.9828 MB / 392.4 MB, free: 3.344 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002332/0.4833, allocations: 0.5112 MB / 392.9 MB, free: 3.031 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.006992/0.4903, allocations: 3.226 MB / 396.1 MB, free: 1.406 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005259/0.4956, allocations: 2.538 MB / 398.7 MB, free: 328 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005068/0.5007, allocations: 1.44 MB / 400.1 MB, free: 15.61 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006106/0.5068, allocations: 1.805 MB / 401.9 MB, free: 14.77 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002257/0.5091, allocations: 386.6 kB / 402.3 MB, free: 14.77 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003687/0.5128, allocations: 0.6336 MB / 402.9 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002677/0.5155, allocations: 1.065 MB / 404 MB, free: 14.09 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00434/0.5199, allocations: 1.722 MB / 405.7 MB, free: 12.97 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007469/0.5273, allocations: 5.046 MB / 410.8 MB, free: 9.457 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.5274, allocations: 0 / 410.8 MB, free: 9.457 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.5274, allocations: 0 / 410.8 MB, free: 9.457 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001369/0.5275, allocations: 0 / 410.8 MB, free: 9.457 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.009321/0.5368, allocations: 3.476 MB / 414.2 MB, free: 7.086 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.686e-05/0.5369, allocations: 9.688 kB / 414.2 MB, free: 7.086 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001664/0.5386, allocations: 420.8 kB / 414.6 MB, free: 6.891 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003639/0.5422, allocations: 1.723 MB / 416.4 MB, free: 5.656 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002628/0.5425, allocations: 188.2 kB / 416.6 MB, free: 5.57 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005334/0.5431, allocations: 255 kB / 416.8 MB, free: 5.48 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007763/0.5508, allocations: 3.247 MB / 420.1 MB, free: 2.465 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.761e-05/0.5509, allocations: 7.938 kB / 420.1 MB, free: 2.457 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002467/0.5512, allocations: 104 kB / 420.2 MB, free: 2.355 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001836/0.5514, allocations: 116.9 kB / 420.3 MB, free: 2.238 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004954/0.5563, allocations: 2.705 MB / 423 MB, free: 15.52 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01921/0.5756, allocations: 10.25 MB / 433.2 MB, free: 4.941 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002936/0.5786, allocations: 1.782 MB / 435 MB, free: 3.043 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001906/0.5805, allocations: 1.041 MB / 436.1 MB, free: 2 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003807/0.5809, allocations: 212 kB / 436.3 MB, free: 1.758 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.073e-05/0.581, allocations: 43.56 kB / 436.3 MB, free: 1.703 MB / 350.1 MB Notification: Performance of pre-optimization done (n=115): time 4.549e-06/0.581, allocations: 0 / 436.3 MB, free: 1.703 MB / 350.1 MB Notification: Performance of matching and sorting (n=134): time 0.01889/0.5999, allocations: 7.408 MB / 443.7 MB, free: 10.17 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.721e-05/0.6, allocations: 68.72 kB / 443.8 MB, free: 10.09 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003288/0.6033, allocations: 1.873 MB / 445.6 MB, free: 8.223 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001329/0.6034, allocations: 49.7 kB / 445.7 MB, free: 8.168 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001053/0.6045, allocations: 1.237 MB / 446.9 MB, free: 6.914 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000433/0.6049, allocations: 477.2 kB / 447.4 MB, free: 6.441 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000486/0.6054, allocations: 299.3 kB / 447.7 MB, free: 6.141 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.6055, allocations: 305.1 kB / 448 MB, free: 5.84 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001353/0.6069, allocations: 0.8081 MB / 448.8 MB, free: 5.031 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001844/0.6087, allocations: 1.317 MB / 450.1 MB, free: 3.488 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003263/0.612, allocations: 2.251 MB / 452.4 MB, free: 1.023 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.999e-06/0.612, allocations: 4 kB / 452.4 MB, free: 1.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.005177/0.6172, allocations: 2.787 MB / 455.2 MB, free: 14.2 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.269e-05/0.6173, allocations: 12 kB / 455.2 MB, free: 14.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.149e-05/0.6173, allocations: 16.28 kB / 455.2 MB, free: 14.17 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001064/0.6184, allocations: 423 kB / 455.6 MB, free: 13.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001516/0.6199, allocations: 403.3 kB / 456 MB, free: 13.35 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006821/0.6268, allocations: 5.785 MB / 461.8 MB, free: 7.289 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002529/0.6293, allocations: 127.8 kB / 461.9 MB, free: 7.164 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001988/0.6295, allocations: 68 kB / 462 MB, free: 7.098 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.001849/0.6314, allocations: 0.7939 MB / 462.8 MB, free: 6.293 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005622/0.632, allocations: 193.7 kB / 462.9 MB, free: 6.102 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004483/0.6365, allocations: 2.379 MB / 465.3 MB, free: 3.68 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.482e-05/0.6365, allocations: 12 kB / 465.3 MB, free: 3.668 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.417e-06/0.6365, allocations: 4 kB / 465.3 MB, free: 3.664 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.743e-05/0.6366, allocations: 11.91 kB / 465.4 MB, free: 3.652 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01166/0.6482, allocations: 5.278 MB / 470.6 MB, free: 14.21 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-05/0.6483, allocations: 4 kB / 470.6 MB, free: 14.21 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001099/0.6494, allocations: 247.6 kB / 470.9 MB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001308/0.6507, allocations: 462.9 kB / 471.3 MB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001025/0.6508, allocations: 39.98 kB / 471.4 MB, free: 13.46 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008283/0.6591, allocations: 7.32 MB / 478.7 MB, free: 5.719 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.388e-06/0.6592, allocations: 15.88 kB / 478.7 MB, free: 5.703 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007038/0.6662, allocations: 3.582 MB / 482.3 MB, free: 2.012 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001703/0.668, allocations: 442.6 kB / 482.7 MB, free: 1.559 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003479/0.6684, allocations: 39.98 kB / 482.8 MB, free: 1.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001223/0.6696, allocations: 103.8 kB / 482.9 MB, free: 1.418 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003532/0.67, allocations: 108.7 kB / 483 MB, free: 1.312 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001167/0.6701, allocations: 47.92 kB / 483 MB, free: 1.266 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002342/0.6724, allocations: 1.298 MB / 484.3 MB, free: 15.98 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.6724, allocations: 0 / 484.3 MB, free: 15.98 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003254/0.6757, allocations: 0.5391 MB / 484.9 MB, free: 15.44 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.000749/0.6765, allocations: 218.9 kB / 485.1 MB, free: 15.21 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005415/0.6819, allocations: 2.425 MB / 487.5 MB, free: 12.75 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.24e-05/0.6819, allocations: 4.062 kB / 487.5 MB, free: 12.74 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002999/0.685, allocations: 1.51 MB / 489 MB, free: 11.2 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003382/0.6884, allocations: 454 kB / 489.4 MB, free: 10.75 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01075/0.6991, allocations: 5.091 MB / 494.5 MB, free: 5.566 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002058/0.7013, allocations: 2.01 MB / 496.5 MB, free: 3.523 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001787/0.7031, allocations: 431.6 kB / 497 MB, free: 3.098 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004791/0.7036, allocations: 139.4 kB / 497.1 MB, free: 2.961 MB / 414.1 MB Notification: Performance of SimCode: time 1.693e-06/0.7036, allocations: 0 / 497.1 MB, free: 2.961 MB / 414.1 MB Notification: Performance of Templates: time 0.06141/0.765, allocations: 28.5 MB / 0.5133 GB, free: 6.41 MB / 446.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","/var/lib/jenkins/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