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.001514/0.001514, allocations: 178.3 kB / 18.04 MB, free: 3.648 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.518/1.518, allocations: 205.4 MB / 224.2 MB, free: 9.023 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.0007564/0.0007565, allocations: 82.44 kB / 272.5 MB, free: 8.258 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003265/0.0003265, allocations: 12 kB / 329.5 MB, free: 15.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1977/0.1981, allocations: 47.57 MB / 377 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1168/0.3149, allocations: 113.8 MB / 490.9 MB, free: 14.65 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000283/0.3153, allocations: 91.95 kB / 491 MB, free: 14.56 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.354/0.6693, allocations: 82.74 MB / 0.5603 GB, free: 58.13 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.6693, allocations: 0 / 0.5603 GB, free: 58.13 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002418/0.6696, allocations: 75.81 kB / 0.5603 GB, free: 58.05 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.006999/0.6766, allocations: 2.95 MB / 0.5632 GB, free: 55.04 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.6766, allocations: 12.03 kB / 0.5632 GB, free: 55.02 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001595/0.6782, allocations: 420.9 kB / 0.5636 GB, free: 54.61 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003566/0.6818, allocations: 1.901 MB / 0.5655 GB, free: 52.65 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001219/0.682, allocations: 201.4 kB / 0.5657 GB, free: 52.45 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005283/0.6825, allocations: 248.3 kB / 0.5659 GB, free: 52.21 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005096/0.6876, allocations: 3.246 MB / 0.5691 GB, free: 48.82 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.987e-05/0.6877, allocations: 7.938 kB / 0.5691 GB, free: 48.82 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002702/0.688, allocations: 116 kB / 0.5692 GB, free: 48.7 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.857e-05/0.6881, allocations: 100.9 kB / 0.5693 GB, free: 48.6 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00415/0.6922, allocations: 2.596 MB / 0.5718 GB, free: 45.99 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01261/0.7048, allocations: 10.48 MB / 0.5821 GB, free: 35.18 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001824/0.7067, allocations: 1.833 MB / 0.5838 GB, free: 33.23 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001092/0.7078, allocations: 0.9129 MB / 0.5847 GB, free: 32.31 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002657/0.7081, allocations: 219.1 kB / 0.5849 GB, free: 32.06 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/0.7081, allocations: 43.56 kB / 0.585 GB, free: 32.01 MB / 378.7 MB Notification: Performance of pre-optimization done (n=118): time 3.306e-06/0.7081, allocations: 4 kB / 0.585 GB, free: 32 MB / 378.7 MB Notification: Performance of matching and sorting (n=143): time 0.01802/0.7261, allocations: 8.733 MB / 0.5935 GB, free: 23.17 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.024e-05/0.7262, allocations: 68.72 kB / 0.5936 GB, free: 23.09 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002735/0.729, allocations: 1.845 MB / 0.5954 GB, free: 21.25 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001154/0.7291, allocations: 53.64 kB / 0.5954 GB, free: 21.19 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006122/0.7297, allocations: 1.245 MB / 0.5967 GB, free: 19.93 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003211/0.73, allocations: 492.9 kB / 0.5971 GB, free: 19.44 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001019/0.7302, allocations: 32 kB / 0.5972 GB, free: 19.41 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.016e-05/0.7303, allocations: 369.9 kB / 0.5975 GB, free: 19.04 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00127/0.7315, allocations: 0.8862 MB / 0.5984 GB, free: 18.15 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001399/0.7329, allocations: 1.365 MB / 0.5997 GB, free: 16.58 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002671/0.7356, allocations: 2.398 MB / 0.602 GB, free: 13.96 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.957e-06/0.7356, allocations: 4 kB / 0.6021 GB, free: 13.96 MB / 378.7 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.004454/0.7401, allocations: 2.987 MB / 0.605 GB, free: 10.96 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.407e-05/0.7401, allocations: 12 kB / 0.605 GB, free: 10.95 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.342e-05/0.7402, allocations: 19.98 kB / 0.605 GB, free: 10.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001262/0.7415, allocations: 0.5918 MB / 0.6056 GB, free: 10.33 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001328/0.7428, allocations: 411.3 kB / 0.606 GB, free: 9.926 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005645/0.7485, allocations: 5.473 MB / 0.6113 GB, free: 4.316 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001714/0.7502, allocations: 135.8 kB / 0.6114 GB, free: 4.184 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002038/0.7504, allocations: 71.98 kB / 0.6115 GB, free: 4.113 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 69 * 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.001365/0.7518, allocations: 0.8039 MB / 0.6123 GB, free: 3.301 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000454/0.7522, allocations: 197.8 kB / 0.6125 GB, free: 3.105 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004209/0.7565, allocations: 2.646 MB / 0.6151 GB, free: 452 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.224e-05/0.7565, allocations: 16 kB / 0.6151 GB, free: 436 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.838e-06/0.7565, allocations: 7.938 kB / 0.6151 GB, free: 428 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.331e-05/0.7565, allocations: 11.97 kB / 0.6151 GB, free: 416 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009939/0.7665, allocations: 5.538 MB / 0.6205 GB, free: 10.75 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.886e-05/0.7665, allocations: 4 kB / 0.6205 GB, free: 10.75 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001032/0.7676, allocations: 251.6 kB / 0.6208 GB, free: 10.5 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00168/0.7693, allocations: 0.6455 MB / 0.6214 GB, free: 9.852 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000125/0.7694, allocations: 47.97 kB / 0.6214 GB, free: 9.805 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009094/0.7785, allocations: 7.165 MB / 0.6284 GB, free: 2.363 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/0.7785, allocations: 4 kB / 0.6284 GB, free: 2.359 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006555/0.7851, allocations: 3.893 MB / 0.6322 GB, free: 14.39 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001174/0.7863, allocations: 466.5 kB / 0.6327 GB, free: 13.92 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003852/0.7867, allocations: 35.98 kB / 0.6327 GB, free: 13.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001265/0.788, allocations: 119.9 kB / 0.6328 GB, free: 13.77 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002792/0.7883, allocations: 121 kB / 0.6329 GB, free: 13.65 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001049/0.7884, allocations: 47.98 kB / 0.633 GB, free: 13.6 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002274/0.7907, allocations: 1.267 MB / 0.6342 GB, free: 12.34 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.11e-07/0.7907, allocations: 0 / 0.6342 GB, free: 12.34 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002273/0.793, allocations: 0.6405 MB / 0.6349 GB, free: 11.7 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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 (111): * Single equations (assignments): 107 * 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.0006283/0.7936, allocations: 324 kB / 0.6352 GB, free: 11.38 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004555/0.7982, allocations: 2.634 MB / 0.6377 GB, free: 8.691 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.602e-06/0.7982, allocations: 4 kB / 0.6377 GB, free: 8.688 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002814/0.801, allocations: 1.645 MB / 0.6393 GB, free: 7.012 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003275/0.8043, allocations: 426.7 kB / 0.6398 GB, free: 6.594 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009608/0.8139, allocations: 6.155 MB / 0.6458 GB, free: 372 kB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1581/0.9721, allocations: 2.022 MB / 0.6477 GB, free: 92.86 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001554/0.9736, allocations: 417.7 kB / 0.6481 GB, free: 92.84 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003833/0.974, allocations: 126.7 kB / 0.6483 GB, free: 92.84 MB / 410.7 MB Notification: Performance of SimCode: time 8.61e-07/0.974, allocations: 0 / 0.6483 GB, free: 92.84 MB / 410.7 MB Notification: Performance of Templates: time 0.04828/1.022, allocations: 31.4 MB / 0.6789 GB, free: 91.72 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/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","../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