Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.002192/0.002191, allocations: 177.8 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.984/1.984, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001131/0.001131, allocations: 89.56 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 1.724e-05/1.723e-05, allocations: 0 / 314.8 MB, free: 9.16 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3349/0.3349, allocations: 47.57 MB / 362.3 MB, free: 45.86 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1732/0.5082, allocations: 106.6 MB / 468.9 MB, free: 11.71 MB / 363.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003753/0.5086, allocations: 79.95 kB / 469 MB, free: 11.63 MB / 363.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.4868/0.9954, allocations: 49.52 MB / 0.5063 GB, free: 97.53 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.796e-06/0.9955, allocations: 1.344 kB / 0.5063 GB, free: 97.53 MB / 395.1 MB Notification: Performance of Transformations before backend: time 0.000329/0.9958, allocations: 60.61 kB / 0.5064 GB, free: 97.52 MB / 395.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.01018/1.006, allocations: 2.5 MB / 0.5088 GB, free: 96.54 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.126e-05/1.006, allocations: 11.53 kB / 0.5089 GB, free: 96.54 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002353/1.008, allocations: 340.1 kB / 0.5092 GB, free: 96.39 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006795/1.015, allocations: 1.77 MB / 0.5109 GB, free: 95.93 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002099/1.016, allocations: 76.81 kB / 0.511 GB, free: 95.93 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00103/1.017, allocations: 139.9 kB / 0.5111 GB, free: 95.93 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008118/1.025, allocations: 2.319 MB / 0.5134 GB, free: 95.91 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009448/1.034, allocations: 2.698 MB / 0.516 GB, free: 95.54 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001176/1.034, allocations: 9.609 kB / 0.516 GB, free: 95.54 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003147/1.035, allocations: 4.188 kB / 0.516 GB, free: 95.54 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001791/1.035, allocations: 100.2 kB / 0.5161 GB, free: 95.53 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02606/1.061, allocations: 9.322 MB / 0.5252 GB, free: 92.89 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00411/1.065, allocations: 2.122 MB / 0.5273 GB, free: 91.47 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002204/1.067, allocations: 0.9014 MB / 0.5282 GB, free: 91.15 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004888/1.068, allocations: 216.9 kB / 0.5284 GB, free: 90.96 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.701e-05/1.068, allocations: 47.05 kB / 0.5284 GB, free: 90.91 MB / 395.1 MB Notification: Performance of pre-optimization done (n=121): time 3.717e-06/1.068, allocations: 7.969 kB / 0.5284 GB, free: 90.9 MB / 395.1 MB Notification: Performance of matching and sorting (n=143): time 0.01605/1.084, allocations: 5.285 MB / 0.5336 GB, free: 88.77 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.14e-05/1.084, allocations: 73.5 kB / 0.5337 GB, free: 88.7 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002697/1.087, allocations: 1.278 MB / 0.5349 GB, free: 88.18 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003328/1.087, allocations: 25.7 kB / 0.5349 GB, free: 88.15 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007223/1.088, allocations: 1.087 MB / 0.536 GB, free: 87.26 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005078/1.089, allocations: 475 kB / 0.5365 GB, free: 86.89 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001237/1.089, allocations: 0 / 0.5365 GB, free: 86.89 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001312/1.089, allocations: 373.7 kB / 0.5368 GB, free: 86.56 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001629/1.091, allocations: 0.7717 MB / 0.5376 GB, free: 86.27 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001971/1.093, allocations: 1.144 MB / 0.5387 GB, free: 85.53 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002233/1.095, allocations: 0.9444 MB / 0.5396 GB, free: 85.17 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.865e-05/1.095, allocations: 3.688 kB / 0.5396 GB, free: 85.17 MB / 395.1 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006867/1.102, allocations: 2.474 MB / 0.542 GB, free: 84.34 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.753e-05/1.102, allocations: 14.81 kB / 0.542 GB, free: 84.34 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.942e-05/1.102, allocations: 8.844 kB / 0.542 GB, free: 84.34 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002447/1.104, allocations: 0.5773 MB / 0.5426 GB, free: 84.17 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002833/1.107, allocations: 367 kB / 0.543 GB, free: 84.14 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01023/1.118, allocations: 6.069 MB / 0.5489 GB, free: 80.22 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002528/1.12, allocations: 86 kB / 0.549 GB, free: 80.21 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002178/1.12, allocations: 63.81 kB / 0.549 GB, free: 80.2 MB / 395.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (174): * Single equations (assignments): 171 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * 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: 2 {(6,72.2%) 22,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004053/1.121, allocations: 139.6 kB / 0.5492 GB, free: 80.07 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004048/1.121, allocations: 176.6 kB / 0.5493 GB, free: 79.97 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006057/1.127, allocations: 2.402 MB / 0.5517 GB, free: 79.08 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.151e-05/1.127, allocations: 16.59 kB / 0.5517 GB, free: 79.08 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.177e-05/1.127, allocations: 6.438 kB / 0.5517 GB, free: 79.08 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.857e-05/1.127, allocations: 6.422 kB / 0.5517 GB, free: 79.08 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01376/1.141, allocations: 4.867 MB / 0.5565 GB, free: 77.13 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.572e-05/1.141, allocations: 5.375 kB / 0.5565 GB, free: 77.13 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002091/1.143, allocations: 230.8 kB / 0.5567 GB, free: 77.12 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002903/1.146, allocations: 0.644 MB / 0.5573 GB, free: 76.94 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002821/1.147, allocations: 18.58 kB / 0.5573 GB, free: 76.93 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01183/1.158, allocations: 7.727 MB / 0.5649 GB, free: 70.15 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.087e-06/1.159, allocations: 6.812 kB / 0.5649 GB, free: 70.14 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007971/1.166, allocations: 3.72 MB / 0.5685 GB, free: 66.76 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001534/1.168, allocations: 439.7 kB / 0.5689 GB, free: 66.36 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003532/1.168, allocations: 7.938 kB / 0.5689 GB, free: 66.35 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001679/1.17, allocations: 82.84 kB / 0.569 GB, free: 66.3 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004166/1.171, allocations: 128.3 kB / 0.5691 GB, free: 66.22 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001389/1.171, allocations: 50.86 kB / 0.5692 GB, free: 66.17 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.00195/1.173, allocations: 0.9527 MB / 0.5701 GB, free: 65.32 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.91e-07/1.173, allocations: 0 / 0.5701 GB, free: 65.32 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.002725/1.175, allocations: 0.5034 MB / 0.5706 GB, free: 64.83 MB / 395.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (112): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(6,75.0%) 22,(1,100.0%) 1,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006906/1.176, allocations: 283.5 kB / 0.5709 GB, free: 64.59 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.005445/1.182, allocations: 2.396 MB / 0.5732 GB, free: 62.4 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 8.997e-06/1.182, allocations: 0 / 0.5732 GB, free: 62.4 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003806/1.186, allocations: 1.572 MB / 0.5748 GB, free: 60.98 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003162/1.189, allocations: 350.3 kB / 0.5751 GB, free: 60.71 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009862/1.199, allocations: 4.09 MB / 0.5791 GB, free: 57.04 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002058/1.201, allocations: 2.045 MB / 0.5811 GB, free: 55.4 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000931/1.202, allocations: 130.9 kB / 0.5812 GB, free: 55.28 MB / 395.1 MB Notification: Performance of SimCode: time 1.272e-06/1.202, allocations: 0 / 0.5812 GB, free: 55.28 MB / 395.1 MB Notification: Performance of Templates: time 0.102/1.304, allocations: 63.78 MB / 0.6435 GB, free: 9.105 MB / 411.1 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches