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.001251/0.001251, allocations: 108 kB / 18.4 MB, free: 4.703 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.001233/0.001233, allocations: 194.3 kB / 19.33 MB, free: 3.781 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.352/1.352, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.001308/0.001309, allocations: 55.92 kB / 329.2 MB, free: 3.281 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08127/0.08259, allocations: 46.61 MB / 375.8 MB, free: 4.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL): time 0.181/0.2636, allocations: 10.14 MB / 386 MB, free: 7.766 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006305/0.27, allocations: 3.28 MB / 389.2 MB, free: 5.859 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001673/0.2718, allocations: 46.06 kB / 389.3 MB, free: 5.848 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00185/0.2736, allocations: 0.7073 MB / 390 MB, free: 5.465 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002897/0.2765, allocations: 0.8277 MB / 390.8 MB, free: 4.941 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001066/0.2776, allocations: 418.1 kB / 391.2 MB, free: 4.684 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004441/0.2821, allocations: 2.973 MB / 394.2 MB, free: 3.199 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003146/0.2853, allocations: 2.435 MB / 396.6 MB, free: 2.18 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002388/0.2877, allocations: 1.344 MB / 398 MB, free: 1.527 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003126/0.2908, allocations: 1.694 MB / 399.7 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009297/0.2918, allocations: 355.2 kB / 400 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001706/0.2935, allocations: 456.6 kB / 400.5 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001157/0.2947, allocations: 1.012 MB / 401.5 MB, free: 164 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0033/0.298, allocations: 1.607 MB / 403.1 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006656/0.3046, allocations: 4.674 MB / 407.8 MB, free: 12.29 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.3047, allocations: 0 / 407.8 MB, free: 12.29 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.3047, allocations: 1.594 kB / 407.8 MB, free: 12.29 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001706/0.3049, allocations: 0 / 407.8 MB, free: 12.29 MB / 334.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.009869/0.3148, allocations: 3.258 MB / 411 MB, free: 10.05 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.3148, allocations: 13.16 kB / 411 MB, free: 10.04 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001364/0.3162, allocations: 328.2 kB / 411.4 MB, free: 9.883 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003567/0.3198, allocations: 1.655 MB / 413 MB, free: 8.707 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000163/0.32, allocations: 180 kB / 413.2 MB, free: 8.621 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000462/0.3204, allocations: 231.7 kB / 413.4 MB, free: 8.543 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006276/0.3267, allocations: 3.134 MB / 416.6 MB, free: 6.66 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.404e-05/0.3268, allocations: 7.844 kB / 416.6 MB, free: 6.652 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00023/0.327, allocations: 95.98 kB / 416.7 MB, free: 6.559 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001326/0.3272, allocations: 108.6 kB / 416.8 MB, free: 6.449 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005328/0.3325, allocations: 2.7 MB / 419.5 MB, free: 3.734 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0171/0.3497, allocations: 9.614 MB / 429.1 MB, free: 9.828 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002649/0.3523, allocations: 2.173 MB / 431.2 MB, free: 7.488 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001876/0.3543, allocations: 1.118 MB / 432.4 MB, free: 6.375 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003046/0.3546, allocations: 211.2 kB / 432.6 MB, free: 6.129 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.387e-05/0.3546, allocations: 43.56 kB / 432.6 MB, free: 6.078 MB / 350.1 MB Notification: Performance of pre-optimization done (n=116): time 3.758e-06/0.3547, allocations: 0 / 432.6 MB, free: 6.078 MB / 350.1 MB Notification: Performance of matching and sorting (n=131): time 0.01527/0.3699, allocations: 6.701 MB / 439.3 MB, free: 15.22 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.001e-05/0.37, allocations: 64.72 kB / 439.4 MB, free: 15.15 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003483/0.3735, allocations: 1.746 MB / 441.1 MB, free: 13.4 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002029/0.3738, allocations: 45.7 kB / 441.2 MB, free: 13.35 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008574/0.3746, allocations: 1.155 MB / 442.3 MB, free: 12.18 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004814/0.3751, allocations: 453.5 kB / 442.8 MB, free: 11.73 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005636/0.3757, allocations: 287.3 kB / 443 MB, free: 11.44 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001015/0.3758, allocations: 309 kB / 443.3 MB, free: 11.13 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001376/0.3772, allocations: 0.7925 MB / 444.1 MB, free: 10.34 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001587/0.3788, allocations: 1.206 MB / 445.3 MB, free: 8.961 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003132/0.3819, allocations: 2.095 MB / 447.4 MB, free: 6.695 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.061e-05/0.382, allocations: 8 kB / 447.4 MB, free: 6.688 MB / 366.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.00505/0.387, allocations: 2.659 MB / 450.1 MB, free: 3.988 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.53e-05/0.3871, allocations: 15.98 kB / 450.1 MB, free: 3.973 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.72e-05/0.3871, allocations: 12 kB / 450.1 MB, free: 3.961 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001018/0.3882, allocations: 428 kB / 450.6 MB, free: 3.531 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001361/0.3895, allocations: 367.4 kB / 450.9 MB, free: 3.172 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007529/0.3971, allocations: 7.064 MB / 458 MB, free: 11.69 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002113/0.3992, allocations: 103.9 kB / 458.1 MB, free: 11.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003518/0.3996, allocations: 71.98 kB / 458.1 MB, free: 11.52 MB / 382.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.002072/0.4017, allocations: 0.7901 MB / 458.9 MB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006404/0.4024, allocations: 181.8 kB / 459.1 MB, free: 10.54 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004693/0.4071, allocations: 2.375 MB / 461.5 MB, free: 8.117 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.662e-05/0.4071, allocations: 15.94 kB / 461.5 MB, free: 8.102 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.887e-05/0.4071, allocations: 4 kB / 461.5 MB, free: 8.098 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.482e-05/0.4071, allocations: 3.984 kB / 461.5 MB, free: 8.094 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01116/0.4183, allocations: 5.102 MB / 466.6 MB, free: 2.848 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.267e-05/0.4184, allocations: 4 kB / 466.6 MB, free: 2.844 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001036/0.4194, allocations: 243.6 kB / 466.9 MB, free: 2.605 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001226/0.4207, allocations: 451.2 kB / 467.3 MB, free: 2.152 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001562/0.4208, allocations: 35.98 kB / 467.3 MB, free: 2.117 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00829/0.4291, allocations: 8.634 MB / 476 MB, free: 8.926 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.132e-06/0.4292, allocations: 4 kB / 476 MB, free: 8.922 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005951/0.4351, allocations: 3.533 MB / 479.5 MB, free: 5.297 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001309/0.4365, allocations: 430.7 kB / 479.9 MB, free: 4.855 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000758/0.4373, allocations: 32 kB / 480 MB, free: 4.824 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001406/0.4387, allocations: 87.89 kB / 480 MB, free: 4.738 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003314/0.439, allocations: 120.7 kB / 480.2 MB, free: 4.617 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001046/0.4392, allocations: 39.98 kB / 480.2 MB, free: 4.578 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002383/0.4415, allocations: 1.198 MB / 481.4 MB, free: 3.387 MB / 398.1 MB Notification: Performance of sort global known variables: time 2e-07/0.4416, allocations: 4 kB / 481.4 MB, free: 3.383 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002514/0.4441, allocations: 0.5001 MB / 481.9 MB, free: 2.883 MB / 398.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.0005487/0.4446, allocations: 206.9 kB / 482.1 MB, free: 2.668 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004442/0.4491, allocations: 2.464 MB / 484.6 MB, free: 156 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 9.027e-06/0.4491, allocations: 4 kB / 484.6 MB, free: 152 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002666/0.4518, allocations: 1.618 MB / 486.2 MB, free: 14.48 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00338/0.4552, allocations: 476 kB / 486.7 MB, free: 14.01 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01046/0.4657, allocations: 5.042 MB / 491.7 MB, free: 8.887 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002431/0.4682, allocations: 1.961 MB / 493.7 MB, free: 6.891 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008447/0.469, allocations: 139.4 kB / 493.8 MB, free: 6.754 MB / 414.1 MB Notification: Performance of SimCode: time 1.182e-06/0.469, allocations: 0 / 493.8 MB, free: 6.754 MB / 414.1 MB Notification: Performance of Templates: time 0.2821/0.7511, allocations: 79.15 MB / 0.5595 GB, free: 156 MB / 478.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/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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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