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/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.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/Complex 3.2.3+maint.om/package.mo): time 0.00103/0.00103, allocations: 187 kB / 17.92 MB, free: 3.855 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.223/1.223, allocations: 205.1 MB / 223.8 MB, free: 8.473 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.0009879/0.0009879, allocations: 99.66 kB / 271.2 MB, free: 8.441 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009843/0.0009845, allocations: 35.94 kB / 327.2 MB, free: 328 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2275/0.2285, allocations: 46.63 MB / 373.8 MB, free: 45.64 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL): time 0.009168/0.2377, allocations: 10.06 MB / 383.9 MB, free: 37.89 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005174/0.2429, allocations: 3.255 MB / 387.1 MB, free: 35.19 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001821/0.2448, allocations: 42.97 kB / 387.2 MB, free: 35.18 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001975/0.2468, allocations: 0.6165 MB / 387.8 MB, free: 34.71 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002389/0.2493, allocations: 0.7559 MB / 388.6 MB, free: 34.09 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008653/0.2501, allocations: 366.4 kB / 388.9 MB, free: 33.78 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002929/0.2531, allocations: 3.41 MB / 392.3 MB, free: 30.94 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001848/0.2549, allocations: 2.057 MB / 394.4 MB, free: 28.82 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0012/0.2561, allocations: 1.167 MB / 395.6 MB, free: 27.65 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001288/0.2574, allocations: 1.627 MB / 397.2 MB, free: 26.02 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002817/0.2577, allocations: 216 kB / 397.4 MB, free: 25.81 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005738/0.2583, allocations: 335.7 kB / 397.7 MB, free: 25.48 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005303/0.2589, allocations: 0.8801 MB / 398.6 MB, free: 24.6 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009652/0.2598, allocations: 1.454 MB / 400.1 MB, free: 23.14 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002731/0.2626, allocations: 4.501 MB / 404.6 MB, free: 18.62 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.2626, allocations: 0 / 404.6 MB, free: 18.62 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.472e-06/0.2626, allocations: 0 / 404.6 MB, free: 18.62 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.382e-05/0.2627, allocations: 0 / 404.6 MB, free: 18.62 MB / 298.7 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.005322/0.268, allocations: 3.26 MB / 407.8 MB, free: 15.29 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.2681, allocations: 8.031 kB / 407.8 MB, free: 15.29 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000625/0.2687, allocations: 333.2 kB / 408.1 MB, free: 14.96 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002476/0.2712, allocations: 1.632 MB / 409.8 MB, free: 13.27 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001235/0.2713, allocations: 189 kB / 410 MB, free: 13.08 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002577/0.2716, allocations: 231.9 kB / 410.2 MB, free: 12.86 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003973/0.2756, allocations: 3.137 MB / 413.3 MB, free: 9.629 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.957e-05/0.2757, allocations: 7.984 kB / 413.3 MB, free: 9.621 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001732/0.2758, allocations: 92 kB / 413.4 MB, free: 9.531 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.889e-05/0.2759, allocations: 104.6 kB / 413.5 MB, free: 9.426 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003541/0.2795, allocations: 2.7 MB / 416.2 MB, free: 6.711 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01237/0.2919, allocations: 9.731 MB / 426 MB, free: 12.69 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002459/0.2943, allocations: 2.177 MB / 428.1 MB, free: 10.34 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001732/0.2961, allocations: 1.113 MB / 429.2 MB, free: 9.234 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002741/0.2964, allocations: 207.2 kB / 429.5 MB, free: 8.996 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.214e-05/0.2964, allocations: 43.56 kB / 429.5 MB, free: 8.945 MB / 314.7 MB Notification: Performance of pre-optimization done (n=116): time 3.186e-06/0.2964, allocations: 7.938 kB / 429.5 MB, free: 8.938 MB / 314.7 MB Notification: Performance of matching and sorting (n=131): time 0.01292/0.3094, allocations: 6.71 MB / 436.2 MB, free: 2.078 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.668e-05/0.3095, allocations: 64.72 kB / 436.3 MB, free: 2 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002282/0.3117, allocations: 1.739 MB / 438 MB, free: 264 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001258/0.3119, allocations: 49.7 kB / 438.1 MB, free: 208 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007104/0.3126, allocations: 1.155 MB / 439.2 MB, free: 15.03 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003191/0.3129, allocations: 449.4 kB / 439.7 MB, free: 14.59 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004092/0.3133, allocations: 291.3 kB / 439.9 MB, free: 14.3 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.585e-05/0.3134, allocations: 309.1 kB / 440.2 MB, free: 13.99 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001156/0.3146, allocations: 0.7886 MB / 441 MB, free: 13.2 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001369/0.316, allocations: 1.21 MB / 442.2 MB, free: 11.81 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002726/0.3187, allocations: 2.091 MB / 444.3 MB, free: 9.551 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-05/0.3188, allocations: 4 kB / 444.3 MB, free: 9.547 MB / 330.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.004251/0.323, allocations: 2.666 MB / 447 MB, free: 6.84 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/0.3231, allocations: 11.94 kB / 447 MB, free: 6.828 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.535e-05/0.3231, allocations: 12.34 kB / 447 MB, free: 6.816 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008974/0.324, allocations: 423.1 kB / 447.4 MB, free: 6.391 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001199/0.3252, allocations: 367.4 kB / 447.8 MB, free: 6.031 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005986/0.3312, allocations: 6.488 MB / 454.3 MB, free: 15.14 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001228/0.3324, allocations: 103.8 kB / 454.4 MB, free: 15.04 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001033/0.3325, allocations: 60 kB / 454.4 MB, free: 14.98 MB / 346.7 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.001189/0.3337, allocations: 0.7979 MB / 455.2 MB, free: 14.18 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002928/0.334, allocations: 189.7 kB / 455.4 MB, free: 13.99 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003631/0.3377, allocations: 2.363 MB / 457.8 MB, free: 11.58 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.658e-06/0.3377, allocations: 12 kB / 457.8 MB, free: 11.57 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.3377, allocations: 4 kB / 457.8 MB, free: 11.57 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.256e-05/0.3377, allocations: 7.969 kB / 457.8 MB, free: 11.56 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008017/0.3458, allocations: 5.118 MB / 462.9 MB, free: 6.293 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.115e-06/0.3458, allocations: 4 kB / 462.9 MB, free: 6.289 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009032/0.3467, allocations: 236.1 kB / 463.2 MB, free: 6.059 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001053/0.3478, allocations: 451.2 kB / 463.6 MB, free: 5.605 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.413e-05/0.3479, allocations: 39.97 kB / 463.6 MB, free: 5.566 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007112/0.355, allocations: 7.934 MB / 471.6 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/0.355, allocations: 7.938 kB / 471.6 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03394/0.389, allocations: 25.07 MB / 496.7 MB, free: 3.137 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008068/0.3898, allocations: 430.8 kB / 497.1 MB, free: 2.695 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001934/0.39, allocations: 35.98 kB / 497.1 MB, free: 2.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008526/0.3909, allocations: 87.89 kB / 497.2 MB, free: 2.574 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002785/0.3912, allocations: 120.8 kB / 497.3 MB, free: 2.457 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.055e-05/0.3913, allocations: 39.98 kB / 497.4 MB, free: 2.418 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001622/0.3929, allocations: 1.194 MB / 498.5 MB, free: 1.23 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3929, allocations: 0 / 498.5 MB, free: 1.23 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002108/0.395, allocations: 0.6992 MB / 499.2 MB, free: 0.5312 MB / 378.7 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.0003576/0.3954, allocations: 206.9 kB / 499.4 MB, free: 328 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003743/0.3991, allocations: 2.452 MB / 0.4901 GB, free: 13.8 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.3991, allocations: 0 / 0.4901 GB, free: 13.8 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002467/0.4016, allocations: 1.623 MB / 0.4917 GB, free: 12.13 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002151/0.4038, allocations: 449.4 kB / 0.4922 GB, free: 11.7 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009356/0.4132, allocations: 7.612 MB / 0.4996 GB, free: 3.938 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001652/0.4148, allocations: 2.048 MB / 0.5016 GB, free: 1.855 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001303/0.4161, allocations: 459.5 kB / 0.502 GB, free: 1.402 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003841/0.4165, allocations: 131.4 kB / 0.5021 GB, free: 1.273 MB / 394.7 MB Notification: Performance of SimCode: time 4.01e-07/0.4165, allocations: 0 / 0.5021 GB, free: 1.273 MB / 394.7 MB Notification: Performance of Templates: time 0.1865/0.603, allocations: 32.04 MB / 0.5334 GB, free: 100.6 MB / 394.7 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/SynchronousInductionMachines/SMR_DOL/SMR_DOL.csv","../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