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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001229/0.001229, allocations: 181.1 kB / 17.01 MB, free: 5.125 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.83/1.83, allocations: 205.4 MB / 223.1 MB, free: 9.121 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00119/0.00119, allocations: 92.09 kB / 271.5 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004847/0.0004848, allocations: 8 kB / 328.3 MB, free: 15.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3751/0.3756, allocations: 47.57 MB / 375.8 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1561/0.5317, allocations: 113.6 MB / 489.4 MB, free: 15.02 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003087/0.5321, allocations: 87.95 kB / 489.5 MB, free: 14.93 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5438/1.076, allocations: 82.9 MB / 0.559 GB, free: 58.41 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.258e-06/1.076, allocations: 0 / 0.559 GB, free: 58.41 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003801/1.076, allocations: 67.94 kB / 0.559 GB, free: 58.34 MB / 378.7 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.01181/1.088, allocations: 2.981 MB / 0.5619 GB, free: 55.29 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.105e-05/1.088, allocations: 11.98 kB / 0.562 GB, free: 55.28 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003471/1.092, allocations: 423.9 kB / 0.5624 GB, free: 54.86 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00673/1.099, allocations: 1.846 MB / 0.5642 GB, free: 52.96 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003359/1.099, allocations: 193.7 kB / 0.5643 GB, free: 52.77 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001717/1.101, allocations: 251.9 kB / 0.5646 GB, free: 52.52 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01134/1.112, allocations: 3.234 MB / 0.5677 GB, free: 49.14 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001106/1.112, allocations: 3.938 kB / 0.5678 GB, free: 49.14 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003124/1.113, allocations: 104 kB / 0.5679 GB, free: 49.04 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001571/1.113, allocations: 112.9 kB / 0.568 GB, free: 48.93 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005703/1.118, allocations: 2.588 MB / 0.5705 GB, free: 46.32 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01666/1.135, allocations: 10.47 MB / 0.5807 GB, free: 35.52 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001955/1.137, allocations: 1.837 MB / 0.5825 GB, free: 33.57 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003353/1.137, allocations: 235.1 kB / 0.5827 GB, free: 33.3 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.942e-05/1.138, allocations: 43.56 kB / 0.5828 GB, free: 33.25 MB / 378.7 MB Notification: Performance of pre-optimization done (n=118): time 4.819e-06/1.138, allocations: 0 / 0.5828 GB, free: 33.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=143): time 0.01956/1.157, allocations: 8.896 MB / 0.5915 GB, free: 24.22 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.797e-05/1.157, allocations: 72.72 kB / 0.5915 GB, free: 24.14 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002968/1.16, allocations: 1.652 MB / 0.5931 GB, free: 22.49 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001535/1.16, allocations: 49.7 kB / 0.5932 GB, free: 22.43 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007779/1.161, allocations: 1.237 MB / 0.5944 GB, free: 21.18 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003256/1.161, allocations: 492.9 kB / 0.5949 GB, free: 20.69 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.244e-05/1.162, allocations: 36 kB / 0.5949 GB, free: 20.66 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001249/1.162, allocations: 377.9 kB / 0.5953 GB, free: 20.28 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001238/1.163, allocations: 0.8784 MB / 0.5961 GB, free: 19.4 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001433/1.164, allocations: 1.368 MB / 0.5975 GB, free: 17.82 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001443/1.166, allocations: 1.08 MB / 0.5985 GB, free: 16.75 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.007e-05/1.166, allocations: 4 kB / 0.5985 GB, free: 16.74 MB / 378.7 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.00508/1.171, allocations: 2.995 MB / 0.6014 GB, free: 13.73 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.741e-05/1.171, allocations: 19.94 kB / 0.6015 GB, free: 13.71 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.682e-05/1.171, allocations: 16 kB / 0.6015 GB, free: 13.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00145/1.173, allocations: 0.5876 MB / 0.602 GB, free: 13.1 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001386/1.174, allocations: 415.3 kB / 0.6024 GB, free: 12.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006465/1.18, allocations: 5.673 MB / 0.608 GB, free: 6.887 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002363/1.183, allocations: 143.8 kB / 0.6081 GB, free: 6.746 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001694/1.183, allocations: 72 kB / 0.6082 GB, free: 6.676 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 68 * 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): 183 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(6,72.2%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001928/1.185, allocations: 0.7861 MB / 0.609 GB, free: 5.879 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005503/1.185, allocations: 205.6 kB / 0.6091 GB, free: 5.676 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004548/1.19, allocations: 2.646 MB / 0.6117 GB, free: 3.008 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.26e-05/1.19, allocations: 12 kB / 0.6117 GB, free: 2.996 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.03e-05/1.19, allocations: 19.89 kB / 0.6118 GB, free: 2.977 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.285e-05/1.19, allocations: 7.969 kB / 0.6118 GB, free: 2.969 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00951/1.2, allocations: 5.525 MB / 0.6172 GB, free: 13.34 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.917e-05/1.2, allocations: 4 kB / 0.6172 GB, free: 13.33 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001061/1.201, allocations: 260 kB / 0.6174 GB, free: 13.08 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001762/1.203, allocations: 0.6416 MB / 0.618 GB, free: 12.43 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001151/1.203, allocations: 39.97 kB / 0.6181 GB, free: 12.39 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009407/1.212, allocations: 7.392 MB / 0.6253 GB, free: 4.719 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.795e-06/1.212, allocations: 4 kB / 0.6253 GB, free: 4.715 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007322/1.219, allocations: 4.105 MB / 0.6293 GB, free: 460 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001994/1.221, allocations: 466.5 kB / 0.6298 GB, free: 15.97 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002886/1.222, allocations: 35.95 kB / 0.6298 GB, free: 15.94 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001249/1.223, allocations: 123.9 kB / 0.6299 GB, free: 15.82 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004029/1.223, allocations: 117.1 kB / 0.63 GB, free: 15.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001124/1.224, allocations: 39.98 kB / 0.6301 GB, free: 15.66 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002362/1.226, allocations: 1.267 MB / 0.6313 GB, free: 14.4 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.71e-07/1.226, allocations: 3.938 kB / 0.6313 GB, free: 14.4 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002764/1.229, allocations: 0.6444 MB / 0.6319 GB, free: 13.75 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 (110): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,72.2%) 23,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007688/1.23, allocations: 336.5 kB / 0.6323 GB, free: 13.42 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005154/1.235, allocations: 2.633 MB / 0.6348 GB, free: 10.73 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.552e-06/1.235, allocations: 0 / 0.6348 GB, free: 10.73 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002982/1.238, allocations: 1.645 MB / 0.6364 GB, free: 9.055 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002815/1.241, allocations: 404.7 kB / 0.6368 GB, free: 8.66 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01198/1.253, allocations: 6.136 MB / 0.6428 GB, free: 2.457 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002151/1.255, allocations: 2.077 MB / 0.6448 GB, free: 356 kB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.2943/1.549, allocations: 414.5 kB / 0.6452 GB, free: 91.42 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009787/1.55, allocations: 126.9 kB / 0.6454 GB, free: 91.42 MB / 410.7 MB Notification: Performance of SimCode: time 1.814e-06/1.55, allocations: 2.781 kB / 0.6454 GB, free: 91.42 MB / 410.7 MB Notification: Performance of Templates: time 0.06239/1.613, allocations: 30.95 MB / 0.6756 GB, free: 90.35 MB / 410.7 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