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.00136/0.001361, allocations: 102.9 kB / 17.16 MB, free: 6.316 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.001492/0.001492, allocations: 190 kB / 18.07 MB, free: 5.414 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.761/1.761, allocations: 205.1 MB / 223.9 MB, free: 12.47 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.001272/0.001271, allocations: 52.2 kB / 280 MB, free: 3.578 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1169, allocations: 46.64 MB / 326.6 MB, free: 4.879 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL): time 0.01331/0.1303, allocations: 10.06 MB / 336.7 MB, free: 10.76 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.007885/0.1382, allocations: 3.249 MB / 339.9 MB, free: 7.5 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00239/0.1407, allocations: 47.75 kB / 340 MB, free: 7.453 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002245/0.143, allocations: 0.5982 MB / 340.6 MB, free: 6.852 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003367/0.1463, allocations: 0.7616 MB / 341.3 MB, free: 6.086 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001074/0.1474, allocations: 375.6 kB / 341.7 MB, free: 5.719 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00451/0.1519, allocations: 3.378 MB / 345.1 MB, free: 2.328 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002473/0.1545, allocations: 2.053 MB / 347.1 MB, free: 220 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0019/0.1564, allocations: 1.16 MB / 348.3 MB, free: 15.05 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002107/0.1585, allocations: 1.63 MB / 349.9 MB, free: 13.41 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004224/0.1589, allocations: 216 kB / 350.1 MB, free: 13.2 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008407/0.1598, allocations: 331.8 kB / 350.4 MB, free: 12.88 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000802/0.1606, allocations: 0.8723 MB / 351.3 MB, free: 12 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00148/0.1621, allocations: 1.454 MB / 352.8 MB, free: 10.54 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003584/0.1657, allocations: 4.502 MB / 357.3 MB, free: 6.027 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.097e-06/0.1657, allocations: 0 / 357.3 MB, free: 6.027 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1657, allocations: 3.938 kB / 357.3 MB, free: 6.023 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.599e-05/0.1658, allocations: 0 / 357.3 MB, free: 6.023 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.006546/0.1723, allocations: 3.26 MB / 360.5 MB, free: 2.695 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.196e-05/0.1724, allocations: 8.031 kB / 360.5 MB, free: 2.688 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008105/0.1732, allocations: 333.2 kB / 360.9 MB, free: 2.359 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002607/0.1758, allocations: 1.632 MB / 362.5 MB, free: 0.6719 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001761/0.176, allocations: 192.9 kB / 362.7 MB, free: 492 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003342/0.1764, allocations: 239.9 kB / 362.9 MB, free: 252 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005062/0.1814, allocations: 3.129 MB / 366.1 MB, free: 13.02 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.199e-05/0.1815, allocations: 4 kB / 366.1 MB, free: 13.02 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002113/0.1817, allocations: 95.91 kB / 366.2 MB, free: 12.93 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001146/0.1819, allocations: 108.6 kB / 366.3 MB, free: 12.82 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004944/0.1868, allocations: 2.692 MB / 369 MB, free: 10.11 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01685/0.2037, allocations: 9.739 MB / 378.7 MB, free: 84 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2884/0.4921, allocations: 2.164 MB / 380.9 MB, free: 50.4 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002399/0.4946, allocations: 1.112 MB / 382 MB, free: 50.14 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003406/0.4949, allocations: 201.2 kB / 382.2 MB, free: 49.95 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.845e-05/0.495, allocations: 52.59 kB / 382.2 MB, free: 49.9 MB / 318.1 MB Notification: Performance of pre-optimization done (n=116): time 6.172e-06/0.495, allocations: 3.938 kB / 382.2 MB, free: 49.9 MB / 318.1 MB Notification: Performance of matching and sorting (n=131): time 0.01595/0.5109, allocations: 6.704 MB / 388.9 MB, free: 47.36 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.307e-05/0.511, allocations: 66.06 kB / 389 MB, free: 47.3 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003957/0.515, allocations: 1.74 MB / 390.7 MB, free: 46.66 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001816/0.5152, allocations: 49.61 kB / 390.8 MB, free: 46.61 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009272/0.5161, allocations: 1.156 MB / 391.9 MB, free: 45.71 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004657/0.5166, allocations: 454.9 kB / 392.4 MB, free: 45.37 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004852/0.5171, allocations: 286.1 kB / 392.7 MB, free: 45.23 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.713e-05/0.5172, allocations: 302.4 kB / 393 MB, free: 44.94 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001257/0.5185, allocations: 0.7902 MB / 393.7 MB, free: 44.67 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001462/0.5199, allocations: 1.203 MB / 394.9 MB, free: 43.9 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002685/0.5226, allocations: 2.098 MB / 397 MB, free: 42.71 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.098e-05/0.5226, allocations: 3.938 kB / 397 MB, free: 42.71 MB / 318.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.004132/0.5268, allocations: 2.667 MB / 399.7 MB, free: 41.55 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.834e-05/0.5268, allocations: 10.75 kB / 399.7 MB, free: 41.55 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.993e-05/0.5269, allocations: 18.47 kB / 399.7 MB, free: 41.54 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009097/0.5278, allocations: 415 kB / 400.1 MB, free: 41.34 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001152/0.5289, allocations: 363.6 kB / 400.5 MB, free: 41.24 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004769/0.5337, allocations: 6.485 MB / 407 MB, free: 34.76 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001458/0.5352, allocations: 115.8 kB / 407.1 MB, free: 34.65 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.861e-05/0.5353, allocations: 63.98 kB / 407.2 MB, free: 34.59 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.001348/0.5367, allocations: 0.7948 MB / 408 MB, free: 33.78 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002768/0.5369, allocations: 189.7 kB / 408.1 MB, free: 33.59 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00328/0.5402, allocations: 2.36 MB / 410.5 MB, free: 31.19 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.465e-06/0.5402, allocations: 12 kB / 410.5 MB, free: 31.18 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.515e-06/0.5403, allocations: 4 kB / 410.5 MB, free: 31.17 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.368e-05/0.5403, allocations: 13 kB / 410.5 MB, free: 31.16 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007151/0.5474, allocations: 5.12 MB / 415.7 MB, free: 25.93 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.558e-06/0.5475, allocations: 4 kB / 415.7 MB, free: 25.93 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008785/0.5484, allocations: 239.6 kB / 415.9 MB, free: 25.7 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009871/0.5494, allocations: 460.9 kB / 416.3 MB, free: 25.24 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.194e-05/0.5495, allocations: 42.59 kB / 416.4 MB, free: 25.2 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005923/0.5554, allocations: 7.925 MB / 424.3 MB, free: 16.76 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/0.5554, allocations: 8 kB / 424.3 MB, free: 16.75 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004574/0.56, allocations: 3.518 MB / 427.8 MB, free: 13.14 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009927/0.561, allocations: 434.7 kB / 428.3 MB, free: 12.7 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000235/0.5612, allocations: 32 kB / 428.3 MB, free: 12.66 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009105/0.5622, allocations: 91.89 kB / 428.4 MB, free: 12.57 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002854/0.5625, allocations: 116.7 kB / 428.5 MB, free: 12.46 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.126e-05/0.5625, allocations: 47.98 kB / 428.5 MB, free: 12.41 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001549/0.5641, allocations: 1.201 MB / 429.7 MB, free: 11.22 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5641, allocations: 0 / 429.7 MB, free: 11.22 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001786/0.5659, allocations: 0.4987 MB / 430.2 MB, free: 10.73 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.0003668/0.5663, allocations: 199.2 kB / 430.4 MB, free: 10.53 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003208/0.5695, allocations: 2.45 MB / 432.9 MB, free: 8.023 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.5695, allocations: 0 / 432.9 MB, free: 8.023 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001976/0.5715, allocations: 1.619 MB / 434.5 MB, free: 6.352 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002147/0.5737, allocations: 455.8 kB / 434.9 MB, free: 5.91 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008326/0.582, allocations: 6.097 MB / 441 MB, free: 15.75 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002167/0.5842, allocations: 2 MB / 443 MB, free: 13.72 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.001689/0.5859, allocations: 447.5 kB / 443.5 MB, free: 13.28 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000711/0.5866, allocations: 119.4 kB / 443.6 MB, free: 13.16 MB / 334.1 MB Notification: Performance of SimCode: time 1.232e-06/0.5866, allocations: 4 kB / 443.6 MB, free: 13.16 MB / 334.1 MB Notification: Performance of Templates: time 0.05119/0.6378, allocations: 26.58 MB / 470.2 MB, free: 2.555 MB / 350.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