Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.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.SMR_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|loadInertia.phi|loadInertia.w|smee.is.1.|smee.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|loadInertia.phi|loadInertia.w|smee.is.1.|smee.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 110.2 kB / 18.25 MB, free: 4.898 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.001028/0.001028, allocations: 195.3 kB / 19.18 MB, free: 3.977 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.335/1.335, allocations: 205.1 MB / 225 MB, free: 12.3 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.001183/0.001183, allocations: 55.92 kB / 281.3 MB, free: 3.16 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08381/0.085, allocations: 46.63 MB / 328 MB, free: 4.461 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL): time 0.0119/0.09694, allocations: 10.12 MB / 338.1 MB, free: 10.28 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006841/0.1038, allocations: 3.284 MB / 341.4 MB, free: 6.98 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001802/0.1057, allocations: 47.75 kB / 341.4 MB, free: 6.934 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002175/0.1079, allocations: 0.6986 MB / 342.1 MB, free: 6.23 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002936/0.1109, allocations: 0.8347 MB / 342.9 MB, free: 5.391 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001165/0.1121, allocations: 411.4 kB / 343.3 MB, free: 4.988 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003648/0.1157, allocations: 2.97 MB / 346.3 MB, free: 2.008 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002859/0.1186, allocations: 2.433 MB / 348.8 MB, free: 15.51 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001989/0.1206, allocations: 1.339 MB / 350.1 MB, free: 14.17 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002567/0.1232, allocations: 1.697 MB / 351.8 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006045/0.1238, allocations: 356 kB / 352.1 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001023/0.1249, allocations: 459.8 kB / 352.6 MB, free: 11.67 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009466/0.1258, allocations: 1.013 MB / 353.6 MB, free: 10.65 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001838/0.1277, allocations: 1.606 MB / 355.2 MB, free: 9.039 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004185/0.1319, allocations: 4.623 MB / 359.8 MB, free: 4.402 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.1319, allocations: 0 / 359.8 MB, free: 4.402 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1319, allocations: 0 / 359.8 MB, free: 4.402 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.874e-05/0.132, allocations: 0 / 359.8 MB, free: 4.402 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.006292/0.1383, allocations: 3.264 MB / 363.1 MB, free: 1.07 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.1384, allocations: 8.031 kB / 363.1 MB, free: 1.062 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007656/0.1391, allocations: 333.2 kB / 363.4 MB, free: 0.7344 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002608/0.1418, allocations: 1.639 MB / 365.1 MB, free: 15.04 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000151/0.1419, allocations: 181 kB / 365.2 MB, free: 14.86 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003191/0.1423, allocations: 235.9 kB / 365.5 MB, free: 14.63 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004973/0.1472, allocations: 3.129 MB / 368.6 MB, free: 11.41 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.477e-05/0.1473, allocations: 7.938 kB / 368.6 MB, free: 11.4 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002128/0.1475, allocations: 104 kB / 368.7 MB, free: 11.3 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001147/0.1477, allocations: 108.6 kB / 368.8 MB, free: 11.19 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004515/0.1522, allocations: 2.696 MB / 371.5 MB, free: 8.48 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1613/0.3135, allocations: 9.722 MB / 381.2 MB, free: 48.02 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00273/0.3163, allocations: 2.165 MB / 383.4 MB, free: 47.14 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001854/0.3182, allocations: 1.123 MB / 384.5 MB, free: 47.12 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002582/0.3185, allocations: 206 kB / 384.7 MB, free: 46.94 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.49e-05/0.3185, allocations: 44.75 kB / 384.8 MB, free: 46.89 MB / 318.1 MB Notification: Performance of pre-optimization done (n=116): time 3.316e-06/0.3185, allocations: 0 / 384.8 MB, free: 46.89 MB / 318.1 MB Notification: Performance of matching and sorting (n=131): time 0.01359/0.3321, allocations: 6.703 MB / 391.5 MB, free: 44.46 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.589e-05/0.3322, allocations: 64.53 kB / 391.5 MB, free: 44.4 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002311/0.3345, allocations: 1.741 MB / 393.3 MB, free: 43.76 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001003/0.3346, allocations: 47.17 kB / 393.3 MB, free: 43.71 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006068/0.3352, allocations: 1.158 MB / 394.5 MB, free: 42.82 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002729/0.3355, allocations: 452 kB / 394.9 MB, free: 42.48 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000403/0.3359, allocations: 282.8 kB / 395.2 MB, free: 42.34 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.011e-05/0.336, allocations: 306.2 kB / 395.5 MB, free: 42.05 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001136/0.3371, allocations: 0.7872 MB / 396.3 MB, free: 41.78 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001232/0.3384, allocations: 1.207 MB / 397.5 MB, free: 41.02 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002205/0.3406, allocations: 2.094 MB / 399.6 MB, free: 39.83 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.574e-06/0.3406, allocations: 6.844 kB / 399.6 MB, free: 39.83 MB / 318.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003826/0.3444, allocations: 2.669 MB / 402.3 MB, free: 38.41 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/0.3445, allocations: 9.469 kB / 402.3 MB, free: 38.41 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.71e-05/0.3445, allocations: 14.41 kB / 402.3 MB, free: 38.41 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008881/0.3454, allocations: 427.6 kB / 402.7 MB, free: 38.19 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001196/0.3466, allocations: 362.3 kB / 403.1 MB, free: 38.1 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005039/0.3516, allocations: 7.069 MB / 410.1 MB, free: 31.28 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001513/0.3532, allocations: 107.8 kB / 410.2 MB, free: 31.17 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001221/0.3533, allocations: 63.94 kB / 410.3 MB, free: 31.11 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * 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.001265/0.3546, allocations: 0.8024 MB / 411.1 MB, free: 30.3 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004167/0.355, allocations: 185.8 kB / 411.3 MB, free: 30.11 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003499/0.3585, allocations: 2.376 MB / 413.6 MB, free: 27.7 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.166e-05/0.3586, allocations: 13.08 kB / 413.7 MB, free: 27.68 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/0.3586, allocations: 4 kB / 413.7 MB, free: 27.68 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.22e-05/0.3586, allocations: 7.969 kB / 413.7 MB, free: 27.67 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007743/0.3663, allocations: 5.113 MB / 418.8 MB, free: 22.46 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.769e-06/0.3664, allocations: 8.094 kB / 418.8 MB, free: 22.45 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009283/0.3673, allocations: 239.6 kB / 419 MB, free: 22.21 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001017/0.3684, allocations: 451.6 kB / 419.5 MB, free: 21.76 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.936e-05/0.3685, allocations: 35.98 kB / 419.5 MB, free: 21.73 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005998/0.3745, allocations: 8.64 MB / 428.1 MB, free: 12.56 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/0.3745, allocations: 7.938 kB / 428.2 MB, free: 12.55 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004741/0.3793, allocations: 3.526 MB / 431.7 MB, free: 8.938 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00093/0.3802, allocations: 430.8 kB / 432.1 MB, free: 8.496 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002609/0.3805, allocations: 35.92 kB / 432.1 MB, free: 8.461 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009564/0.3815, allocations: 87.91 kB / 432.2 MB, free: 8.375 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002669/0.3817, allocations: 124.7 kB / 432.3 MB, free: 8.254 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.15e-05/0.3818, allocations: 39.98 kB / 432.4 MB, free: 8.215 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001498/0.3833, allocations: 1.194 MB / 433.6 MB, free: 7.027 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3833, allocations: 0 / 433.6 MB, free: 7.027 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001813/0.3851, allocations: 0.5066 MB / 434.1 MB, free: 6.523 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (115): * Single equations (assignments): 111 * 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.0003667/0.3855, allocations: 201.6 kB / 434.3 MB, free: 6.32 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00465/0.3902, allocations: 3.102 MB / 437.4 MB, free: 3.176 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.994e-06/0.3902, allocations: 4 kB / 437.4 MB, free: 3.172 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0021/0.3923, allocations: 1.619 MB / 439 MB, free: 1.508 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002338/0.3947, allocations: 477.2 kB / 439.5 MB, free: 1.047 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007985/0.4027, allocations: 5.106 MB / 444.6 MB, free: 11.88 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001543/0.4043, allocations: 1.957 MB / 446.5 MB, free: 9.887 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006024/0.4049, allocations: 139.4 kB / 446.7 MB, free: 9.75 MB / 334.1 MB Notification: Performance of SimCode: time 8.11e-07/0.4049, allocations: 0 / 446.7 MB, free: 9.75 MB / 334.1 MB Notification: Performance of Templates: time 0.08388/0.4888, allocations: 79.15 MB / 0.5135 GB, free: 10.43 MB / 414.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/SynchronousInductionMachines/SMR_DOL/SMR_DOL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches