Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.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_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009316/0.0009317, allocations: 91.72 kB / 16.65 MB, free: 6.59 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.001089/0.00109, allocations: 185.7 kB / 17.57 MB, free: 6.199 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.338/1.338, allocations: 223.3 MB / 241.6 MB, free: 14.39 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002715/0.0002716, allocations: 11.94 kB / 301.4 MB, free: 5.895 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08737/0.08766, allocations: 50.42 MB / 351.8 MB, free: 3.465 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL): time 0.009919/0.09761, allocations: 9.578 MB / 361.4 MB, free: 9.84 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005358/0.103, allocations: 3.155 MB / 364.6 MB, free: 6.676 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008341/0.1039, allocations: 51.75 kB / 364.6 MB, free: 6.625 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001333/0.1052, allocations: 0.6175 MB / 365.2 MB, free: 6.004 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001842/0.1071, allocations: 0.746 MB / 366 MB, free: 5.254 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007453/0.1078, allocations: 371.6 kB / 366.4 MB, free: 4.891 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003124/0.1109, allocations: 3.355 MB / 369.7 MB, free: 1.523 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1664/0.2774, allocations: 2.063 MB / 371.8 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002033/0.2794, allocations: 1.011 MB / 372.8 MB, free: 10.65 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002109/0.2816, allocations: 1.437 MB / 374.2 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003729/0.282, allocations: 149.4 kB / 374.4 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00075/0.2827, allocations: 258.3 kB / 374.6 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008475/0.2836, allocations: 0.7729 MB / 375.4 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001695/0.2853, allocations: 1.356 MB / 376.7 MB, free: 9.809 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005405/0.2907, allocations: 4.359 MB / 381.1 MB, free: 9.273 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.2907, allocations: 1.312 kB / 381.1 MB, free: 9.273 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.2907, allocations: 0 / 381.1 MB, free: 9.273 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001325/0.2909, allocations: 0 / 381.1 MB, free: 9.273 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.006067/0.2969, allocations: 2.776 MB / 383.9 MB, free: 7.922 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.297, allocations: 13.36 kB / 383.9 MB, free: 7.918 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008681/0.2979, allocations: 328.9 kB / 384.2 MB, free: 7.758 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002769/0.3006, allocations: 1.702 MB / 385.9 MB, free: 7.027 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000192/0.3009, allocations: 188.8 kB / 386.1 MB, free: 7.016 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000424/0.3013, allocations: 237.3 kB / 386.3 MB, free: 7.008 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005237/0.3065, allocations: 3.145 MB / 389.5 MB, free: 5.934 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.085e-05/0.3066, allocations: 10.84 kB / 389.5 MB, free: 5.926 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000221/0.3068, allocations: 96.38 kB / 389.6 MB, free: 5.855 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.881e-05/0.3069, allocations: 113.4 kB / 389.7 MB, free: 5.832 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004333/0.3113, allocations: 2.713 MB / 392.4 MB, free: 4.461 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01367/0.325, allocations: 9.79 MB / 402.2 MB, free: 13.6 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002652/0.3277, allocations: 2.187 MB / 404.4 MB, free: 11.9 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001965/0.3296, allocations: 1.13 MB / 405.5 MB, free: 10.78 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002745/0.3299, allocations: 207.1 kB / 405.7 MB, free: 10.54 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.294e-05/0.33, allocations: 43.56 kB / 405.8 MB, free: 10.49 MB / 318.1 MB Notification: Performance of pre-optimization done (n=116): time 3.166e-06/0.33, allocations: 0 / 405.8 MB, free: 10.49 MB / 318.1 MB Notification: Performance of matching and sorting (n=131): time 0.01479/0.3448, allocations: 6.965 MB / 412.7 MB, free: 3.395 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.19e-05/0.3449, allocations: 68.72 kB / 412.8 MB, free: 3.312 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002883/0.3478, allocations: 1.743 MB / 414.5 MB, free: 1.566 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001342/0.3479, allocations: 45.7 kB / 414.6 MB, free: 1.516 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008611/0.3488, allocations: 1.155 MB / 415.7 MB, free: 356 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004016/0.3492, allocations: 454 kB / 416.2 MB, free: 15.91 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001994/0.3494, allocations: 133.6 kB / 416.3 MB, free: 15.77 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.85e-05/0.3495, allocations: 309 kB / 416.6 MB, free: 15.47 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001375/0.3509, allocations: 0.8068 MB / 417.4 MB, free: 14.66 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001639/0.3525, allocations: 1.218 MB / 418.6 MB, free: 13.28 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003071/0.3556, allocations: 2.122 MB / 420.8 MB, free: 11.04 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.083e-06/0.3556, allocations: 4 kB / 420.8 MB, free: 11.04 MB / 334.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.004819/0.3605, allocations: 2.694 MB / 423.5 MB, free: 8.383 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.836e-05/0.3605, allocations: 15.94 kB / 423.5 MB, free: 8.367 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.08e-05/0.3605, allocations: 12 kB / 423.5 MB, free: 8.355 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001002/0.3615, allocations: 422.2 kB / 423.9 MB, free: 7.934 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001359/0.3629, allocations: 370.9 kB / 424.3 MB, free: 7.594 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006626/0.3696, allocations: 6.501 MB / 430.8 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001415/0.371, allocations: 111.8 kB / 430.9 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001426/0.3711, allocations: 60 kB / 430.9 MB, free: 0.5625 MB / 334.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.00165/0.3728, allocations: 0.7953 MB / 431.7 MB, free: 15.78 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004095/0.3732, allocations: 189.7 kB / 431.9 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004431/0.3777, allocations: 2.408 MB / 434.3 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-05/0.3777, allocations: 12 kB / 434.3 MB, free: 13.14 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.076e-05/0.3777, allocations: 7.938 kB / 434.3 MB, free: 13.14 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.327e-05/0.3777, allocations: 3.984 kB / 434.3 MB, free: 13.13 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009886/0.3876, allocations: 5.158 MB / 439.5 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.096e-05/0.3877, allocations: 4 kB / 439.5 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001057/0.3887, allocations: 245.5 kB / 439.7 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001189/0.3899, allocations: 450.4 kB / 440.2 MB, free: 7.223 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000111/0.39, allocations: 35.98 kB / 440.2 MB, free: 7.188 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007953/0.398, allocations: 7.957 MB / 448.2 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.398, allocations: 4 kB / 448.2 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006297/0.4043, allocations: 3.556 MB / 451.7 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001205/0.4056, allocations: 438.7 kB / 452.2 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005777/0.4062, allocations: 36.11 kB / 452.2 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001433/0.4076, allocations: 95.91 kB / 452.3 MB, free: 10.53 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003513/0.408, allocations: 116.2 kB / 452.4 MB, free: 10.42 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001056/0.4081, allocations: 39.98 kB / 452.4 MB, free: 10.38 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00257/0.4107, allocations: 1.198 MB / 453.6 MB, free: 9.188 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4107, allocations: 0 / 453.6 MB, free: 9.188 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002902/0.4136, allocations: 0.5039 MB / 454.1 MB, free: 8.684 MB / 366.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.000497/0.4141, allocations: 211.9 kB / 454.4 MB, free: 8.48 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.004497/0.4186, allocations: 2.48 MB / 456.8 MB, free: 5.996 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.802e-06/0.4187, allocations: 0 / 456.8 MB, free: 5.996 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002927/0.4216, allocations: 1.627 MB / 458.5 MB, free: 4.344 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004771/0.4264, allocations: 449.9 kB / 458.9 MB, free: 3.906 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01075/0.4372, allocations: 6.216 MB / 465.1 MB, free: 13.63 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00221/0.4394, allocations: 1.997 MB / 467.1 MB, free: 11.6 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001639/0.4411, allocations: 439.5 kB / 467.5 MB, free: 11.16 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005074/0.4416, allocations: 127.4 kB / 467.7 MB, free: 11.04 MB / 382.1 MB Notification: Performance of SimCode: time 7.02e-07/0.4416, allocations: 4 kB / 467.7 MB, free: 11.04 MB / 382.1 MB Notification: Performance of Templates: time 0.04653/0.4881, allocations: 26.15 MB / 493.8 MB, free: 1.188 MB / 398.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMR_DOL/SMR_DOL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches