Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|loadInertia.phi|loadInertia.w|smr.is.1.|smr.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|loadInertia.phi|loadInertia.w|smr.is.1.|smr.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001228/0.001228, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001406/0.001406, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.431/1.431, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001848/0.001848, allocations: 64.83 kB / 307 MB, free: 0.6172 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09404/0.0959, allocations: 50.54 MB / 357.5 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL): time 0.01183/0.1078, allocations: 10.23 MB / 367.8 MB, free: 3.793 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00576/0.1135, allocations: 3.314 MB / 371.1 MB, free: 476 kB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005792/0.1142, allocations: 55.75 kB / 371.1 MB, free: 420 kB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.1576/0.2718, allocations: 0.7027 MB / 371.8 MB, free: 10.24 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002724/0.2746, allocations: 0.8439 MB / 372.7 MB, free: 10.22 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009429/0.2755, allocations: 423.2 kB / 373.1 MB, free: 10.22 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003029/0.2785, allocations: 2.958 MB / 376 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002544/0.2811, allocations: 2.488 MB / 378.5 MB, free: 9.539 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002154/0.2833, allocations: 1.349 MB / 379.9 MB, free: 9.133 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002437/0.2857, allocations: 1.707 MB / 381.6 MB, free: 8.379 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005441/0.2863, allocations: 352.8 kB / 381.9 MB, free: 8.379 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009925/0.2873, allocations: 469.2 kB / 382.4 MB, free: 8.352 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009274/0.2882, allocations: 1.016 MB / 383.4 MB, free: 7.82 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001567/0.2898, allocations: 1.612 MB / 385 MB, free: 6.773 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004487/0.2943, allocations: 4.638 MB / 389.7 MB, free: 4.77 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.2943, allocations: 1.062 kB / 389.7 MB, free: 4.77 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2943, allocations: 0 / 389.7 MB, free: 4.77 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.869e-05/0.2944, allocations: 0 / 389.7 MB, free: 4.77 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.006968/0.3014, allocations: 3.281 MB / 392.9 MB, free: 2.523 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.3015, allocations: 8.875 kB / 393 MB, free: 2.523 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00119/0.3027, allocations: 364.5 kB / 393.3 MB, free: 2.348 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002529/0.3052, allocations: 1.721 MB / 395 MB, free: 1.152 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001438/0.3054, allocations: 182.6 kB / 395.2 MB, free: 1.066 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003255/0.3057, allocations: 236.5 kB / 395.4 MB, free: 0.9844 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004741/0.3104, allocations: 3.143 MB / 398.6 MB, free: 15.11 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.59e-05/0.3105, allocations: 5.219 kB / 398.6 MB, free: 15.11 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002321/0.3107, allocations: 95.36 kB / 398.7 MB, free: 15.04 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.261e-05/0.3108, allocations: 106.4 kB / 398.8 MB, free: 15.02 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004805/0.3157, allocations: 2.698 MB / 401.5 MB, free: 12.98 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01693/0.3326, allocations: 9.729 MB / 411.2 MB, free: 3.035 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003051/0.3357, allocations: 2.156 MB / 413.4 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002094/0.3378, allocations: 1.123 MB / 414.5 MB, free: 15.59 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003515/0.3382, allocations: 206.5 kB / 414.7 MB, free: 15.36 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.377e-05/0.3382, allocations: 43.56 kB / 414.7 MB, free: 15.31 MB / 334.1 MB Notification: Performance of pre-optimization done (n=116): time 3.577e-06/0.3383, allocations: 0 / 414.7 MB, free: 15.31 MB / 334.1 MB Notification: Performance of matching and sorting (n=131): time 0.01617/0.3544, allocations: 6.842 MB / 421.6 MB, free: 8.301 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.689e-05/0.3545, allocations: 64.72 kB / 421.6 MB, free: 8.223 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002983/0.3575, allocations: 1.759 MB / 423.4 MB, free: 6.461 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001155/0.3577, allocations: 45.7 kB / 423.4 MB, free: 6.41 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009749/0.3586, allocations: 1.164 MB / 424.6 MB, free: 5.234 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004326/0.3591, allocations: 457.4 kB / 425.1 MB, free: 4.793 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005056/0.3596, allocations: 287.3 kB / 425.3 MB, free: 4.508 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.3597, allocations: 310.3 kB / 425.6 MB, free: 4.203 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001378/0.3611, allocations: 0.7925 MB / 426.4 MB, free: 3.41 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001772/0.3629, allocations: 1.201 MB / 427.6 MB, free: 2.039 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003195/0.3661, allocations: 2.093 MB / 429.7 MB, free: 15.78 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.804e-06/0.3661, allocations: 8 kB / 429.7 MB, free: 15.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.004972/0.3711, allocations: 2.666 MB / 432.4 MB, free: 13.07 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.854e-05/0.3712, allocations: 8.344 kB / 432.4 MB, free: 13.06 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.163e-05/0.3712, allocations: 16 kB / 432.4 MB, free: 13.04 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001064/0.3723, allocations: 428 kB / 432.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001373/0.3736, allocations: 363.4 kB / 433.2 MB, free: 12.26 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007585/0.3812, allocations: 7.078 MB / 440.3 MB, free: 4.766 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001678/0.3829, allocations: 103.8 kB / 440.4 MB, free: 4.664 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001271/0.3831, allocations: 63.94 kB / 440.4 MB, free: 4.602 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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.001823/0.3849, allocations: 0.8018 MB / 441.2 MB, free: 3.789 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003885/0.3853, allocations: 189.7 kB / 441.4 MB, free: 3.602 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004229/0.3895, allocations: 2.383 MB / 443.8 MB, free: 1.176 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-05/0.3896, allocations: 12 kB / 443.8 MB, free: 1.164 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.046e-05/0.3896, allocations: 7.938 kB / 443.8 MB, free: 1.156 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.392e-05/0.3896, allocations: 7.969 kB / 443.8 MB, free: 1.148 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009542/0.3992, allocations: 5.123 MB / 449 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.146e-05/0.3992, allocations: 4 kB / 449 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001019/0.4002, allocations: 231.7 kB / 449.2 MB, free: 11.69 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001251/0.4015, allocations: 459.3 kB / 449.6 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.948e-05/0.4016, allocations: 35.98 kB / 449.7 MB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01004/0.4117, allocations: 8.646 MB / 458.3 MB, free: 2.008 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.214e-06/0.4117, allocations: 11.98 kB / 458.3 MB, free: 1.996 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006681/0.4184, allocations: 3.518 MB / 461.8 MB, free: 14.4 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001144/0.4196, allocations: 430.8 kB / 462.3 MB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002593/0.4198, allocations: 35.98 kB / 462.3 MB, free: 13.92 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009393/0.4208, allocations: 83.91 kB / 462.4 MB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002912/0.4211, allocations: 116.7 kB / 462.5 MB, free: 13.72 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.892e-05/0.4212, allocations: 43.98 kB / 462.5 MB, free: 13.68 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001936/0.4231, allocations: 1.206 MB / 463.7 MB, free: 12.48 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4231, allocations: 4 kB / 463.8 MB, free: 12.48 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001827/0.425, allocations: 0.5039 MB / 464.3 MB, free: 11.97 MB / 382.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 (114): * Single equations (assignments): 110 * 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.0003937/0.4254, allocations: 198.9 kB / 464.5 MB, free: 11.77 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005884/0.4312, allocations: 3.114 MB / 467.6 MB, free: 8.598 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.4313, allocations: 0 / 467.6 MB, free: 8.598 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002912/0.4342, allocations: 1.613 MB / 469.2 MB, free: 6.938 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002905/0.4371, allocations: 478.5 kB / 469.6 MB, free: 6.477 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009888/0.447, allocations: 5.051 MB / 474.7 MB, free: 1.359 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002139/0.4492, allocations: 2.006 MB / 476.7 MB, free: 15.32 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.00166/0.4509, allocations: 451.5 kB / 477.1 MB, free: 14.87 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003996/0.4513, allocations: 123.4 kB / 477.3 MB, free: 14.75 MB / 398.1 MB Notification: Performance of SimCode: time 1.032e-06/0.4513, allocations: 0 / 477.3 MB, free: 14.75 MB / 398.1 MB Notification: Performance of Templates: time 0.05727/0.5086, allocations: 27.84 MB / 0.4933 GB, free: 3.188 MB / 414.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMR_DOL/SMR_DOL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches