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.001312/0.001312, allocations: 114.5 kB / 17.28 MB, free: 6.219 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.00143/0.001431, allocations: 189.3 kB / 18.2 MB, free: 5.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.026/2.026, allocations: 205.1 MB / 224 MB, free: 12.37 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.001274/0.001274, allocations: 55.92 kB / 280.2 MB, free: 3.496 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1395/0.1408, allocations: 46.63 MB / 326.8 MB, free: 4.797 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL): time 0.01515/0.156, allocations: 10.07 MB / 336.9 MB, free: 10.68 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01003/0.1661, allocations: 3.233 MB / 340.1 MB, free: 7.43 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002872/0.169, allocations: 51.75 kB / 340.1 MB, free: 7.379 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003182/0.1722, allocations: 0.6138 MB / 340.7 MB, free: 6.762 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005175/0.1775, allocations: 0.7499 MB / 341.5 MB, free: 6.008 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001725/0.1792, allocations: 371.6 kB / 341.9 MB, free: 5.645 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.005602/0.1848, allocations: 2.965 MB / 344.8 MB, free: 2.668 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003583/0.1885, allocations: 2.445 MB / 347.3 MB, free: 164 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003042/0.1915, allocations: 1.347 MB / 348.6 MB, free: 14.8 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003418/0.195, allocations: 1.724 MB / 350.3 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001027/0.1961, allocations: 360 kB / 350.7 MB, free: 12.72 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001762/0.1978, allocations: 455.7 kB / 351.1 MB, free: 12.28 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001485/0.1993, allocations: 1.021 MB / 352.2 MB, free: 11.26 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003317/0.2027, allocations: 1.606 MB / 353.8 MB, free: 9.645 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007414/0.2101, allocations: 4.63 MB / 358.4 MB, free: 5 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.342e-05/0.2102, allocations: 0 / 358.4 MB, free: 5 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.248e-06/0.2102, allocations: 0 / 358.4 MB, free: 5 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0003045/0.2105, allocations: 0 / 358.4 MB, free: 5 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.01307/0.2236, allocations: 3.253 MB / 361.6 MB, free: 1.68 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.046e-05/0.2237, allocations: 8.031 kB / 361.7 MB, free: 1.672 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001509/0.2252, allocations: 341.2 kB / 362 MB, free: 1.336 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004089/0.2293, allocations: 1.632 MB / 363.6 MB, free: 15.65 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002562/0.2296, allocations: 181 kB / 363.8 MB, free: 15.47 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000732/0.2304, allocations: 235.9 kB / 364 MB, free: 15.24 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009109/0.2395, allocations: 3.133 MB / 367.2 MB, free: 12.02 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001292/0.2397, allocations: 4 kB / 367.2 MB, free: 12.01 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005844/0.2403, allocations: 96 kB / 367.3 MB, free: 11.92 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001548/0.2405, allocations: 116.5 kB / 367.4 MB, free: 11.8 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006883/0.2474, allocations: 2.688 MB / 370.1 MB, free: 9.098 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2975/0.545, allocations: 9.725 MB / 379.8 MB, free: 49.34 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003749/0.5488, allocations: 2.171 MB / 382 MB, free: 48.46 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002251/0.5511, allocations: 1.121 MB / 383.1 MB, free: 48.43 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000319/0.5514, allocations: 205.7 kB / 383.3 MB, free: 48.23 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.959e-05/0.5514, allocations: 43.91 kB / 383.3 MB, free: 48.18 MB / 318.1 MB Notification: Performance of pre-optimization done (n=116): time 3.105e-06/0.5515, allocations: 4.125 kB / 383.3 MB, free: 48.18 MB / 318.1 MB Notification: Performance of matching and sorting (n=131): time 0.01635/0.5678, allocations: 6.696 MB / 390 MB, free: 45.64 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.477e-05/0.5679, allocations: 66.19 kB / 390.1 MB, free: 45.57 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002962/0.5709, allocations: 1.74 MB / 391.8 MB, free: 44.93 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002139/0.5711, allocations: 50.8 kB / 391.9 MB, free: 44.88 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001037/0.5722, allocations: 1.16 MB / 393 MB, free: 43.99 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005151/0.5727, allocations: 444.8 kB / 393.5 MB, free: 43.65 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006947/0.5734, allocations: 288.6 kB / 393.8 MB, free: 43.52 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.793e-05/0.5735, allocations: 308.7 kB / 394.1 MB, free: 43.21 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001872/0.5754, allocations: 0.7878 MB / 394.8 MB, free: 42.95 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002274/0.5776, allocations: 1.206 MB / 396 MB, free: 42.18 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003487/0.5812, allocations: 2.1 MB / 398.1 MB, free: 40.98 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.281e-05/0.5812, allocations: 7.688 kB / 398.2 MB, free: 40.98 MB / 318.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.006092/0.5873, allocations: 2.674 MB / 400.8 MB, free: 39.63 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.047e-05/0.5874, allocations: 7.781 kB / 400.8 MB, free: 39.63 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.385e-05/0.5874, allocations: 15.5 kB / 400.9 MB, free: 39.63 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001399/0.5888, allocations: 421.1 kB / 401.3 MB, free: 39.42 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001873/0.5907, allocations: 354.5 kB / 401.6 MB, free: 39.33 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007569/0.5983, allocations: 7.074 MB / 408.7 MB, free: 32.84 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002725/0.6011, allocations: 107.9 kB / 408.8 MB, free: 32.73 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002557/0.6013, allocations: 65.47 kB / 408.9 MB, free: 32.67 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.002237/0.6036, allocations: 0.7979 MB / 409.7 MB, free: 31.86 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006892/0.6043, allocations: 186.6 kB / 409.8 MB, free: 31.68 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005734/0.6101, allocations: 2.367 MB / 412.2 MB, free: 29.27 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.746e-05/0.6101, allocations: 19.8 kB / 412.2 MB, free: 29.25 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.388e-05/0.6101, allocations: 7.938 kB / 412.2 MB, free: 29.24 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.139e-05/0.6102, allocations: 7.969 kB / 412.2 MB, free: 29.23 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01494/0.6251, allocations: 5.124 MB / 417.4 MB, free: 24.01 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-05/0.6252, allocations: 4 kB / 417.4 MB, free: 24.01 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001583/0.6268, allocations: 236.1 kB / 417.6 MB, free: 23.78 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001909/0.6287, allocations: 447 kB / 418 MB, free: 23.33 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001464/0.6289, allocations: 35.98 kB / 418.1 MB, free: 23.29 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01034/0.6392, allocations: 8.644 MB / 426.7 MB, free: 14.12 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.308e-06/0.6393, allocations: 4 kB / 426.7 MB, free: 14.12 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009292/0.6486, allocations: 3.517 MB / 430.2 MB, free: 10.51 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002159/0.6508, allocations: 430.8 kB / 430.7 MB, free: 10.07 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001021/0.6518, allocations: 39.98 kB / 430.7 MB, free: 10.03 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002137/0.654, allocations: 83.91 kB / 430.8 MB, free: 9.945 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004833/0.6545, allocations: 124.7 kB / 430.9 MB, free: 9.824 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001563/0.6547, allocations: 36 kB / 430.9 MB, free: 9.789 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.003299/0.658, allocations: 1.198 MB / 432.1 MB, free: 8.598 MB / 318.1 MB Notification: Performance of sort global known variables: time 4.91e-07/0.658, allocations: 3.938 kB / 432.1 MB, free: 8.594 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.003175/0.6612, allocations: 0.5027 MB / 432.6 MB, free: 8.094 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.0004476/0.6617, allocations: 207 kB / 432.8 MB, free: 7.887 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.004946/0.6666, allocations: 3.094 MB / 435.9 MB, free: 4.75 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 8.225e-06/0.6667, allocations: 4.25 kB / 435.9 MB, free: 4.746 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002154/0.6688, allocations: 1.622 MB / 437.6 MB, free: 3.074 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002762/0.6716, allocations: 470.8 kB / 438 MB, free: 2.621 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009457/0.6811, allocations: 6.098 MB / 444.1 MB, free: 12.46 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002643/0.6838, allocations: 2.005 MB / 446.1 MB, free: 10.43 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.001761/0.6855, allocations: 439.5 kB / 446.5 MB, free: 9.992 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005915/0.6862, allocations: 127.4 kB / 446.7 MB, free: 9.867 MB / 334.1 MB Notification: Performance of SimCode: time 7.51e-07/0.6862, allocations: 4 kB / 446.7 MB, free: 9.863 MB / 334.1 MB Notification: Performance of Templates: time 0.06176/0.7479, allocations: 27.6 MB / 474.3 MB, free: 14.25 MB / 366.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/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