Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.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_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001378/0.001378, allocations: 105 kB / 17.59 MB, free: 5.418 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.001323/0.001323, allocations: 191.3 kB / 18.51 MB, free: 4.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.311/1.311, allocations: 222.9 MB / 242.2 MB, free: 15.23 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009571/0.0009572, allocations: 45.86 kB / 301.3 MB, free: 5.902 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08995/0.09092, allocations: 49.45 MB / 350.7 MB, free: 4.441 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL): time 0.01169/0.1027, allocations: 10.18 MB / 360.9 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006941/0.1097, allocations: 3.221 MB / 364.1 MB, free: 6.973 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002236/0.1119, allocations: 59.75 kB / 364.2 MB, free: 6.914 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00266/0.1147, allocations: 0.7023 MB / 364.9 MB, free: 6.207 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003401/0.1181, allocations: 0.8386 MB / 365.7 MB, free: 5.363 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001384/0.1195, allocations: 403.4 kB / 366.1 MB, free: 4.969 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003963/0.1235, allocations: 2.95 MB / 369.1 MB, free: 2.008 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1781/0.3016, allocations: 2.471 MB / 371.6 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002162/0.3038, allocations: 1.341 MB / 372.9 MB, free: 11.52 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002767/0.3066, allocations: 1.694 MB / 374.6 MB, free: 11.24 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008869/0.3075, allocations: 353.2 kB / 374.9 MB, free: 11.24 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001252/0.3087, allocations: 455.1 kB / 375.4 MB, free: 11.24 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001028/0.3098, allocations: 1.019 MB / 376.4 MB, free: 11.13 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002002/0.3118, allocations: 1.61 MB / 378 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005269/0.3171, allocations: 4.62 MB / 382.6 MB, free: 10.05 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.838e-06/0.3171, allocations: 0 / 382.6 MB, free: 10.05 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.415e-06/0.3171, allocations: 0 / 382.6 MB, free: 10.05 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001562/0.3173, allocations: 1.281 kB / 382.6 MB, free: 10.05 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.008666/0.326, allocations: 3.254 MB / 385.9 MB, free: 8.23 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.326, allocations: 12.12 kB / 385.9 MB, free: 8.23 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001003/0.327, allocations: 338.9 kB / 386.2 MB, free: 8.066 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00273/0.3298, allocations: 1.703 MB / 387.9 MB, free: 7.117 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001559/0.3299, allocations: 182.8 kB / 388.1 MB, free: 7.031 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003609/0.3303, allocations: 231.2 kB / 388.3 MB, free: 6.957 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005019/0.3353, allocations: 3.138 MB / 391.5 MB, free: 5.086 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.084e-05/0.3354, allocations: 7.891 kB / 391.5 MB, free: 5.078 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002158/0.3357, allocations: 93.25 kB / 391.6 MB, free: 5.008 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001221/0.3358, allocations: 113.7 kB / 391.7 MB, free: 4.988 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004409/0.3402, allocations: 2.697 MB / 394.4 MB, free: 3.609 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01567/0.3559, allocations: 9.725 MB / 404.1 MB, free: 12.43 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002715/0.3587, allocations: 2.173 MB / 406.3 MB, free: 10.11 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00188/0.3606, allocations: 1.108 MB / 407.4 MB, free: 9.008 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002957/0.3609, allocations: 199.2 kB / 407.6 MB, free: 8.777 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.934e-05/0.3609, allocations: 47.56 kB / 407.6 MB, free: 8.723 MB / 318.1 MB Notification: Performance of pre-optimization done (n=116): time 4.148e-06/0.3609, allocations: 4 kB / 407.6 MB, free: 8.719 MB / 318.1 MB Notification: Performance of matching and sorting (n=131): time 0.01478/0.3757, allocations: 6.839 MB / 414.5 MB, free: 1.742 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.892e-05/0.3758, allocations: 68.72 kB / 414.5 MB, free: 1.66 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00275/0.3786, allocations: 1.746 MB / 416.3 MB, free: 15.91 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002073/0.3788, allocations: 45.7 kB / 416.3 MB, free: 15.86 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008065/0.3796, allocations: 1.151 MB / 417.5 MB, free: 14.7 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004191/0.38, allocations: 458.6 kB / 417.9 MB, free: 14.25 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004677/0.3805, allocations: 286.7 kB / 418.2 MB, free: 13.97 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.917e-05/0.3806, allocations: 305.1 kB / 418.5 MB, free: 13.67 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001355/0.382, allocations: 0.8002 MB / 419.3 MB, free: 12.87 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001544/0.3835, allocations: 1.197 MB / 420.5 MB, free: 11.51 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002877/0.3864, allocations: 2.094 MB / 422.6 MB, free: 9.297 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.061e-05/0.3865, allocations: 4 kB / 422.6 MB, free: 9.293 MB / 334.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.004871/0.3914, allocations: 2.672 MB / 425.3 MB, free: 6.664 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.696e-05/0.3914, allocations: 8 kB / 425.3 MB, free: 6.656 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.748e-05/0.3915, allocations: 12 kB / 425.3 MB, free: 6.645 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001018/0.3925, allocations: 427.1 kB / 425.7 MB, free: 6.219 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001393/0.3939, allocations: 369.6 kB / 426.1 MB, free: 5.879 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007087/0.401, allocations: 7.077 MB / 433.1 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001952/0.403, allocations: 103.8 kB / 433.2 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003681/0.4034, allocations: 63.98 kB / 433.3 MB, free: 14.25 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.001984/0.4054, allocations: 0.7914 MB / 434.1 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006518/0.4061, allocations: 181.8 kB / 434.3 MB, free: 13.29 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004585/0.4106, allocations: 2.381 MB / 436.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.484e-05/0.4107, allocations: 16 kB / 436.7 MB, free: 10.87 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.462e-05/0.4107, allocations: 7.938 kB / 436.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.191e-05/0.4107, allocations: 7.969 kB / 436.7 MB, free: 10.85 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01/0.4207, allocations: 5.136 MB / 441.8 MB, free: 5.652 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.01e-05/0.4208, allocations: 4 kB / 441.8 MB, free: 5.648 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009891/0.4218, allocations: 237.7 kB / 442.1 MB, free: 5.426 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001152/0.423, allocations: 455.4 kB / 442.5 MB, free: 4.973 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001144/0.4231, allocations: 37.58 kB / 442.5 MB, free: 4.938 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007969/0.4311, allocations: 8.635 MB / 451.2 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.047e-05/0.4311, allocations: 8.031 kB / 451.2 MB, free: 11.78 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006122/0.4373, allocations: 3.525 MB / 454.7 MB, free: 8.191 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001312/0.4386, allocations: 434.8 kB / 455.1 MB, free: 7.746 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006828/0.4393, allocations: 35.98 kB / 455.2 MB, free: 7.711 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00144/0.4408, allocations: 79.91 kB / 455.2 MB, free: 7.633 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003436/0.4411, allocations: 119.4 kB / 455.4 MB, free: 7.516 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001096/0.4413, allocations: 39.98 kB / 455.4 MB, free: 7.477 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.002713/0.444, allocations: 1.198 MB / 456.6 MB, free: 6.285 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.31e-07/0.444, allocations: 0 / 456.6 MB, free: 6.285 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002956/0.447, allocations: 0.5039 MB / 457.1 MB, free: 5.781 MB / 366.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.0005914/0.4476, allocations: 208.4 kB / 457.3 MB, free: 5.578 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.006228/0.4538, allocations: 3.099 MB / 460.4 MB, free: 2.48 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.074e-05/0.4539, allocations: 4.312 kB / 460.4 MB, free: 2.477 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00278/0.4567, allocations: 1.614 MB / 462 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003511/0.4602, allocations: 472.7 kB / 462.5 MB, free: 396 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01095/0.4712, allocations: 5.09 MB / 467.6 MB, free: 11.24 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002579/0.4738, allocations: 1.963 MB / 469.5 MB, free: 9.246 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008463/0.4747, allocations: 143.4 kB / 469.7 MB, free: 9.105 MB / 382.1 MB Notification: Performance of SimCode: time 1.503e-06/0.4747, allocations: 0 / 469.7 MB, free: 9.105 MB / 382.1 MB Notification: Performance of Templates: time 0.2767/0.7514, allocations: 79.16 MB / 0.536 GB, free: 154.3 MB / 446.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMR_DOL/SMR_DOL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches