Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|loadInertia.phi|loadInertia.w|smr.is.1.|smr.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|loadInertia.phi|loadInertia.w|smr.is.1.|smr.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008087/0.0008088, allocations: 91.48 kB / 17.35 MB, free: 6.031 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001665/0.001665, allocations: 200.1 kB / 18.28 MB, free: 5.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.396/1.396, allocations: 227.7 MB / 246.8 MB, free: 11.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002368/0.0002368, allocations: 8 kB / 307.7 MB, free: 0.8125 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08828/0.08853, allocations: 51.52 MB / 359.3 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL): time 0.01048/0.09905, allocations: 9.615 MB / 368.9 MB, free: 3.637 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005913/0.105, allocations: 3.248 MB / 372.1 MB, free: 384 kB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001473/0.1065, allocations: 51.75 kB / 372.2 MB, free: 332 kB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.1679/0.2744, allocations: 0.6113 MB / 372.8 MB, free: 9.93 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003147/0.2776, allocations: 0.76 MB / 373.6 MB, free: 9.914 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001795/0.2794, allocations: 370.3 kB / 373.9 MB, free: 9.91 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006145/0.2856, allocations: 3.368 MB / 377.3 MB, free: 9.645 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003523/0.2892, allocations: 2.082 MB / 379.4 MB, free: 9.152 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002306/0.2915, allocations: 1.026 MB / 380.4 MB, free: 8.902 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002747/0.2942, allocations: 1.437 MB / 381.8 MB, free: 8.598 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007444/0.295, allocations: 147.3 kB / 382 MB, free: 8.598 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001472/0.2965, allocations: 275.3 kB / 382.2 MB, free: 8.586 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00121/0.2977, allocations: 0.7669 MB / 383 MB, free: 8.469 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002099/0.2998, allocations: 1.367 MB / 384.4 MB, free: 7.727 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003811/0.3037, allocations: 4.382 MB / 388.8 MB, free: 5.727 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3037, allocations: 1.531 kB / 388.8 MB, free: 5.727 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.3037, allocations: 7.984 kB / 388.8 MB, free: 5.719 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.438e-05/0.3038, allocations: 0 / 388.8 MB, free: 5.719 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: 606 * Number of variables: 606 Notification: Performance of Generate backend data structure: time 0.005137/0.3089, allocations: 2.786 MB / 391.6 MB, free: 3.836 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.309, allocations: 8.938 kB / 391.6 MB, free: 3.836 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001114/0.3101, allocations: 377.6 kB / 391.9 MB, free: 3.656 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002383/0.3125, allocations: 1.715 MB / 393.6 MB, free: 2.465 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001745/0.3127, allocations: 190.8 kB / 393.8 MB, free: 2.375 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003352/0.313, allocations: 240.5 kB / 394.1 MB, free: 2.289 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004716/0.3177, allocations: 3.146 MB / 397.2 MB, free: 428 kB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.5e-05/0.3178, allocations: 3.469 kB / 397.2 MB, free: 428 kB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002132/0.318, allocations: 92.23 kB / 397.3 MB, free: 356 kB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001033/0.3181, allocations: 109.3 kB / 397.4 MB, free: 336 kB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004468/0.3226, allocations: 2.728 MB / 400.1 MB, free: 14.83 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.015/0.3376, allocations: 9.796 MB / 409.9 MB, free: 4.824 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002808/0.3405, allocations: 2.184 MB / 412.1 MB, free: 2.473 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001972/0.3425, allocations: 1.135 MB / 413.3 MB, free: 1.34 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002873/0.3428, allocations: 203.1 kB / 413.5 MB, free: 1.109 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.208e-05/0.3428, allocations: 47.56 kB / 413.5 MB, free: 1.055 MB / 318.1 MB Notification: Performance of pre-optimization done (n=116): time 5.591e-06/0.3428, allocations: 7.922 kB / 413.5 MB, free: 1.047 MB / 318.1 MB Notification: Performance of matching and sorting (n=131): time 0.01478/0.3576, allocations: 6.963 MB / 420.5 MB, free: 9.922 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.633e-05/0.3577, allocations: 68.7 kB / 420.5 MB, free: 9.84 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002773/0.3605, allocations: 1.759 MB / 422.3 MB, free: 8.078 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001189/0.3606, allocations: 53.64 kB / 422.3 MB, free: 8.02 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008305/0.3614, allocations: 1.162 MB / 423.5 MB, free: 6.848 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003788/0.3618, allocations: 451.8 kB / 423.9 MB, free: 6.41 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002063/0.362, allocations: 129.6 kB / 424.1 MB, free: 6.277 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.177e-05/0.3621, allocations: 305.1 kB / 424.4 MB, free: 5.977 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001384/0.3635, allocations: 0.812 MB / 425.2 MB, free: 5.164 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001619/0.3652, allocations: 1.209 MB / 426.4 MB, free: 3.789 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003059/0.3682, allocations: 2.121 MB / 428.5 MB, free: 1.504 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.987e-06/0.3683, allocations: 4 kB / 428.5 MB, free: 1.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.004651/0.3729, allocations: 2.702 MB / 431.2 MB, free: 14.76 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.746e-05/0.373, allocations: 8 kB / 431.2 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.04e-05/0.373, allocations: 12 kB / 431.2 MB, free: 14.74 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009782/0.374, allocations: 423.4 kB / 431.7 MB, free: 14.31 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00139/0.3754, allocations: 367.4 kB / 432 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00655/0.3819, allocations: 6.503 MB / 438.5 MB, free: 7.059 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001688/0.3837, allocations: 111.8 kB / 438.6 MB, free: 6.949 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002175/0.3839, allocations: 67.92 kB / 438.7 MB, free: 6.883 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 3 (idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (174): * Single equations (assignments): 170 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * 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): 3 systems {(3,11,100.0%), (1,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001689/0.3856, allocations: 0.7978 MB / 439.5 MB, free: 6.074 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004574/0.3861, allocations: 189.6 kB / 439.7 MB, free: 5.887 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004315/0.3904, allocations: 2.407 MB / 442.1 MB, free: 3.441 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.306e-05/0.3904, allocations: 12 kB / 442.1 MB, free: 3.43 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.203e-05/0.3904, allocations: 4 kB / 442.1 MB, free: 3.426 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.402e-05/0.3904, allocations: 7.969 kB / 442.1 MB, free: 3.418 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009653/0.4001, allocations: 5.168 MB / 447.3 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.935e-06/0.4001, allocations: 0 / 447.3 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001052/0.4012, allocations: 239.7 kB / 447.5 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001196/0.4024, allocations: 451.5 kB / 447.9 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001226/0.4026, allocations: 36.08 kB / 448 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007806/0.4104, allocations: 7.946 MB / 455.9 MB, free: 4.941 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.905e-06/0.4104, allocations: 11.97 kB / 455.9 MB, free: 4.93 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006553/0.417, allocations: 3.554 MB / 459.5 MB, free: 1.293 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001201/0.4182, allocations: 434.8 kB / 459.9 MB, free: 0.8477 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005828/0.4188, allocations: 31.98 kB / 460 MB, free: 0.8164 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001346/0.4202, allocations: 95.91 kB / 460 MB, free: 0.7227 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003291/0.4205, allocations: 120.7 kB / 460.2 MB, free: 0.6016 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001063/0.4206, allocations: 39.98 kB / 460.2 MB, free: 0.5625 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.002381/0.423, allocations: 1.203 MB / 461.4 MB, free: 15.37 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.423, allocations: 0 / 461.4 MB, free: 15.37 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002359/0.4254, allocations: 0.5079 MB / 461.9 MB, free: 14.86 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 6 (smr.inertiaRotor.w,smr.idq_sr[1],smr.idq_sr[2],smr.idq_dr[1],smr.idq_dr[2],loadInertia.phi) * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (114): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,11,100.0%), (1,1,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.000512/0.4259, allocations: 209.8 kB / 462.1 MB, free: 14.65 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00429/0.4302, allocations: 2.485 MB / 464.6 MB, free: 12.11 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.015e-06/0.4303, allocations: 4 kB / 464.6 MB, free: 12.11 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002674/0.4329, allocations: 1.618 MB / 466.2 MB, free: 10.43 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003431/0.4364, allocations: 460.4 kB / 466.7 MB, free: 9.992 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009003/0.4454, allocations: 6.203 MB / 472.9 MB, free: 3.727 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002017/0.4474, allocations: 2.013 MB / 474.9 MB, free: 1.676 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001439/0.4489, allocations: 443.5 kB / 475.3 MB, free: 1.238 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004604/0.4494, allocations: 127.4 kB / 475.4 MB, free: 1.113 MB / 382.1 MB Notification: Performance of SimCode: time 5.81e-07/0.4494, allocations: 0 / 475.4 MB, free: 1.113 MB / 382.1 MB Notification: Performance of Templates: time 0.04535/0.4947, allocations: 26.25 MB / 0.4899 GB, free: 7.121 MB / 414.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMR_DOL/SMR_DOL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches