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.001097/0.001097, allocations: 96.39 kB / 16.94 MB, free: 5.98 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.00102/0.00102, allocations: 181.2 kB / 17.82 MB, free: 5.652 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.794/1.794, allocations: 205.4 MB / 224 MB, free: 13.18 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.0004781/0.0004781, allocations: 16 kB / 280.8 MB, free: 3.738 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1239, allocations: 47.57 MB / 328.3 MB, free: 4.094 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL): time 0.01056/0.1345, allocations: 8.238 MB / 336.6 MB, free: 11.82 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00739/0.142, allocations: 3.17 MB / 339.7 MB, free: 8.637 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001315/0.1433, allocations: 47.75 kB / 339.8 MB, free: 8.59 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001488/0.1448, allocations: 0.5752 MB / 340.4 MB, free: 8.012 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002351/0.1472, allocations: 0.7088 MB / 341.1 MB, free: 7.301 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00075/0.148, allocations: 259.6 kB / 341.3 MB, free: 7.047 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003232/0.1512, allocations: 1.918 MB / 343.2 MB, free: 5.129 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002062/0.1533, allocations: 1.611 MB / 344.9 MB, free: 3.484 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001645/0.1549, allocations: 0.9263 MB / 345.8 MB, free: 2.555 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001881/0.1568, allocations: 1.206 MB / 347 MB, free: 1.344 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003117/0.1572, allocations: 148 kB / 347.1 MB, free: 1.199 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007237/0.1579, allocations: 215.9 kB / 347.3 MB, free: 0.9883 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008554/0.1588, allocations: 0.7321 MB / 348.1 MB, free: 260 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007544/0.1595, allocations: 0.5549 MB / 348.6 MB, free: 15.69 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004183/0.1637, allocations: 3.689 MB / 352.3 MB, free: 11.99 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1638, allocations: 4 kB / 352.3 MB, free: 11.99 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.1638, allocations: 0 / 352.3 MB, free: 11.99 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001246/0.1639, allocations: 0 / 352.3 MB, free: 11.99 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.006814/0.1707, allocations: 2.781 MB / 355.1 MB, free: 9.141 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.866e-05/0.1708, allocations: 12.03 kB / 355.1 MB, free: 9.129 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009924/0.1718, allocations: 332.3 kB / 355.4 MB, free: 8.801 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003295/0.1751, allocations: 1.585 MB / 357 MB, free: 7.16 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001838/0.1753, allocations: 180.6 kB / 357.2 MB, free: 6.98 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004395/0.1758, allocations: 231.9 kB / 357.4 MB, free: 6.754 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006378/0.1821, allocations: 3.113 MB / 360.5 MB, free: 3.551 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.361e-05/0.1823, allocations: 11.89 kB / 360.6 MB, free: 3.539 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000229/0.1825, allocations: 96 kB / 360.6 MB, free: 3.445 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001286/0.1826, allocations: 108.5 kB / 360.8 MB, free: 3.336 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005595/0.1882, allocations: 2.7 MB / 363.5 MB, free: 0.6211 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02018/0.2084, allocations: 9.744 MB / 373.2 MB, free: 6.586 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003225/0.2117, allocations: 2.192 MB / 375.4 MB, free: 4.227 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003503/0.2121, allocations: 200.1 kB / 375.6 MB, free: 3.996 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.894e-05/0.2122, allocations: 55.56 kB / 375.6 MB, free: 3.934 MB / 318.1 MB Notification: Performance of pre-optimization done (n=116): time 3.497e-06/0.2122, allocations: 0 / 375.6 MB, free: 3.934 MB / 318.1 MB Notification: Performance of matching and sorting (n=131): time 0.2239/0.4361, allocations: 6.921 MB / 382.6 MB, free: 49.51 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.969e-05/0.4362, allocations: 65.59 kB / 382.6 MB, free: 49.45 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002763/0.4389, allocations: 1.694 MB / 384.3 MB, free: 48.88 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001759/0.4391, allocations: 45.42 kB / 384.4 MB, free: 48.83 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007635/0.4399, allocations: 1.15 MB / 385.5 MB, free: 47.94 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003934/0.4403, allocations: 454.8 kB / 386 MB, free: 47.6 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.677e-05/0.4404, allocations: 30 kB / 386 MB, free: 47.57 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.4405, allocations: 365.2 kB / 386.3 MB, free: 47.25 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001418/0.4419, allocations: 0.8122 MB / 387.2 MB, free: 46.97 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001516/0.4435, allocations: 1.209 MB / 388.4 MB, free: 46.23 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001449/0.4449, allocations: 0.9841 MB / 389.3 MB, free: 45.85 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.337e-06/0.445, allocations: 3.281 kB / 389.4 MB, free: 45.85 MB / 318.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.004609/0.4496, allocations: 2.668 MB / 392 MB, free: 44.76 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.999e-05/0.4496, allocations: 16.12 kB / 392 MB, free: 44.75 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.148e-05/0.4497, allocations: 11.75 kB / 392 MB, free: 44.75 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009084/0.4506, allocations: 386.6 kB / 392.4 MB, free: 44.63 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001353/0.4519, allocations: 379.1 kB / 392.8 MB, free: 44.6 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005148/0.4571, allocations: 6.369 MB / 399.2 MB, free: 39.6 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001575/0.4587, allocations: 113.5 kB / 399.3 MB, free: 39.57 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001299/0.4589, allocations: 63.06 kB / 399.3 MB, free: 39.56 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * Number of states: 0 () * 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 initialization (177): * Single equations (assignments): 173 * 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: 3 * 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: 3 {(3,100.0%) 11,(1,100.0%) 3,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001407/0.4603, allocations: 0.7996 MB / 400.1 MB, free: 39.12 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003972/0.4607, allocations: 188.9 kB / 400.3 MB, free: 39.03 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003393/0.4641, allocations: 2.385 MB / 402.7 MB, free: 37.9 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.247e-05/0.4641, allocations: 15.91 kB / 402.7 MB, free: 37.9 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/0.4641, allocations: 3.688 kB / 402.7 MB, free: 37.9 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.232e-05/0.4642, allocations: 11.81 kB / 402.7 MB, free: 37.89 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007862/0.472, allocations: 5.064 MB / 407.8 MB, free: 34.21 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.423e-06/0.4721, allocations: 4 kB / 407.8 MB, free: 34.21 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009197/0.473, allocations: 252 kB / 408 MB, free: 33.96 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009689/0.474, allocations: 423.9 kB / 408.5 MB, free: 33.54 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.244e-05/0.4741, allocations: 35.98 kB / 408.5 MB, free: 33.5 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005545/0.4796, allocations: 7.887 MB / 416.4 MB, free: 25.1 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/0.4797, allocations: 4.656 kB / 416.4 MB, free: 25.1 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004742/0.4844, allocations: 3.741 MB / 420.1 MB, free: 21.19 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001099/0.4856, allocations: 430.8 kB / 420.6 MB, free: 20.75 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002431/0.4858, allocations: 39.98 kB / 420.6 MB, free: 20.71 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008508/0.4867, allocations: 91.91 kB / 420.7 MB, free: 20.62 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003/0.487, allocations: 124.7 kB / 420.8 MB, free: 20.5 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.479e-05/0.4871, allocations: 39.98 kB / 420.8 MB, free: 20.46 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001569/0.4887, allocations: 1.151 MB / 422 MB, free: 19.32 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4887, allocations: 4 kB / 422 MB, free: 19.31 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002249/0.4909, allocations: 0.5025 MB / 422.5 MB, free: 18.81 MB / 318.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 (117): * Single equations (assignments): 113 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(3,100.0%) 11,(1,100.0%) 1,(1,100.0%) 3,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003717/0.4913, allocations: 168.8 kB / 422.7 MB, free: 18.64 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003434/0.4948, allocations: 2.469 MB / 425.1 MB, free: 16.12 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.4948, allocations: 2 kB / 425.1 MB, free: 16.12 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002082/0.4969, allocations: 1.606 MB / 426.7 MB, free: 14.46 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002063/0.499, allocations: 439.1 kB / 427.2 MB, free: 14.04 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007547/0.5065, allocations: 5.931 MB / 433.1 MB, free: 8.035 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001297/0.5078, allocations: 2.048 MB / 435.1 MB, free: 5.953 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.001411/0.5093, allocations: 445 kB / 435.6 MB, free: 5.516 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003456/0.5096, allocations: 127.4 kB / 435.7 MB, free: 5.391 MB / 318.1 MB Notification: Performance of SimCode: time 8.02e-07/0.5096, allocations: 5.906 kB / 435.7 MB, free: 5.387 MB / 318.1 MB Notification: Performance of Templates: time 0.04451/0.5542, allocations: 25.14 MB / 460.9 MB, free: 12.23 MB / 350.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL_res.mat","/var/lib/jenkins/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_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches